stackcn is the StackCanon CLI for existing JavaScript and TypeScript projects.
npm i -g @stackcanon/cliOne-off runs:
npx @stackcanon/cli doctor
bunx @stackcanon/cli doctor- detects the current framework and quality-tool state
- applies safe stack-aware config patches
- generates canonical
ai/context plus derived AI-tool outputs - syncs official docs into
.stackcn/sources/
stackcn doctorstackcn initstackcn addstackcn generatestackcn syncstackcn revert
apps/web: future product websitepackages/cli: internal CLI source workspacepackages/core: orchestration and init planningpackages/detectors: project and dependency detectionpackages/framework-adapters: framework-specific policies and patch targetspackages/quality-adapters: Biome, Oxlint, and Ultracite policiespackages/packs: validated pack metadata and templatespackages/ai-engine: AI output generation wrapperdocs/specs/v0.1.md: first implementation scope
pnpm installpnpm buildpnpm typecheckpnpm testpnpm changesetpnpm release:statuspnpm release:prepare
This repository now contains:
- framework adapters for Next, Nuxt, Vite React, Vite Vue, TanStack Start, TanStack Query, Nest, Express, and Fastify
- quality adapters for Ultracite, Biome, and Oxlint
- canonical
ai/generation plus derivedAGENTS.md,CLAUDE.md, and.ai-rulez/ - official source sync into
.stackcn/sources/ - shared JSON contracts used by the CLI and the internal
apps/webinspector prototype