@gazarr/compass
v1.9.0
Published
AI-native system for spec-driven development
Readme
Compass
AI-native, spec-driven development for your codebase.
Compass turns "vibe coding" into traceable engineering. Instead of asking your AI assistant to "just build it," you draft a short change proposal, lock down the requirements as specs, sketch a design, and break it into tasks. Compass scaffolds those artifacts, validates them, and feeds enriched instructions to your AI tool (Claude Code, Cursor, Codex, Gemini, and 25+ others) so the implementation phase has a real contract to build against.
Install
npm i -g @gazarr/compassRequires Node >=20.19.0. Available on npm as @gazarr/compass.
60-second quickstart
cd your-project
compass init --tools claude # or: cursor, codex, gemini, all, none
compass new change add-user-auth # scaffolds compass/changes/add-user-auth/Then in your AI tool of choice, run the installed slash command (Claude Code: /compass:propose "Add user auth via OIDC") and let the workflow guide you through proposal, specs, design, and tasks. When the change ships:
compass archive add-user-auth # merge specs into compass/specs/How it works
A change is a proposal directory under compass/changes/<name>/. The default spec-driven schema produces four artifacts:
| Artifact | Question it answers |
| ---------- | ----------------------------------------- |
| proposal | Why are we doing this? What changes? |
| specs | What are the requirements and scenarios? |
| design | How will we build it? |
| tasks | Step-by-step checklist for implementation |
Each artifact has an enriched prompt accessible via compass instructions <artifact> --change <name>. That prompt is what your AI tool consumes, so you get consistent, structured outputs instead of free-form responses. Once shipped, compass archive rolls the change's specs into your project's permanent compass/specs/ directory, building a living source-of-truth for what the codebase actually does.
Supported AI tools
Pick one or many at compass init time:
amazon-q, antigravity, auggie, bob, claude, cline, codex, forgecode, codebuddy,
continue, costrict, crush, cursor, factory, gemini, github-copilot, iflow, junie,
kilocode, kimi, kiro, opencode, pi, qoder, lingma, qwen, roocode, trae, windsurfEach integration drops the relevant slash commands or skills into the right place (e.g. .claude/skills/, .cursor/rules/, .gemini/commands/).
Command map
Scaffolding
compass init— set up Compass in a project, install AI-tool integrationscompass new change <name>— create a change proposal directorycompass instructions <artifact> --change <name>— emit enriched AI prompt for an artifact
Inspection
compass list— list active changes (or--specsfor specs)compass view— interactive dashboardcompass show <item>— render a change or speccompass status— artifact completion status for a change
Validation and lifecycle
compass validate [item]— schema-check a change or speccompass archive <change>— merge a completed change's specs into the projectcompass update— refresh Compass instruction files after a CLI upgrade
Configuration
compass config— view/modify global configcompass schemas— list workflow schemascompass schema— manage schemas (experimental)compass templates— show resolved template pathscompass workspace— set up coordination workspacescompass completion install— install shell completionscompass feedback "<message>"— submit feedback
Run compass <command> --help for full options.
Project status
- Version: see CHANGELOG.md
- License: MIT
- Issues and feedback: https://github.com/ehsangazar/compass/issues
- Publishing and release flow: PUBLISHING.md
