@coodiepee/grspec
v0.7.0
Published
AI-native system for spec-driven development — vibe coding framework
Maintainers
Readme
grspec
Spec-driven vibe coding framework for AI-assisted development.
grspec adds a lightweight specification layer between you and your AI coding assistant. You agree on what to build before any code gets written — then the AI implements it with full context.
Features
Spec-Driven Workflow
Propose a change, generate specs and a design, then implement task by task. Every change lives in its own folder with structured artifacts.
/grsx:propose "add dark mode"
→ proposal.md — why we're doing this
→ specs/ — requirements and scenarios
→ design.md — technical approach
→ plan.md — implementation checklist
/grsx:apply — implement tasks one by one
/grsx:archive — archive and sync specsSkills, Commands, and Rules
grspec init configures your AI tools with three types of artifacts:
| Artifact | Purpose | Controlled by | |----------|---------|---------------| | Skills | Workflow instructions (propose, apply, archive, ...) | Profile & delivery settings | | Commands | Slash commands in tool-native format | Profile & delivery settings | | Rules | Coding philosophy applied to all generations | Always installed |
Rules are always-on guidelines that shape how AI writes code — naming conventions, abstraction discipline, comment policy, and more. They install into each tool's native rules directory with correct frontmatter.
30+ Tool Support
Works with Cursor, Claude Code, Windsurf, GitHub Copilot, Cline, RooCode, Kilo Code, Gemini CLI, Codex, Kiro, and 20+ more.
Wiki Knowledge Base
An optional LLM-native knowledge base (grspec/wiki/) that AI assistants navigate via [[wikilinks]] for grounded context. Initialize with /grsx:wiki init.
UI/UX Design Intelligence
Built-in UI/UX knowledge base with 67 styles, 161 color palettes, 57 font pairings, 205 UX rules, and 25 chart types across 16 tech stacks. Search design systems, generate recommendations, and run UX quality audits — all from the CLI or via AI skills.
grspec ui search "dark mode toggle"
grspec ui design-system "saas dashboard"
grspec ui review src/components/Interactive Dashboard
grspec view opens a terminal dashboard showing all specs and active changes at a glance.
Customization
Custom schemas let you define your own artifacts, templates, and workflows. Community schemas extend grspec with opinionated integrations.
Usage
Prerequisites: Node.js 20.19.0+
Install
npm install -g @coodiepee/grspec@latestAlso works with pnpm, yarn, bun, and nix. See installation options.
Initialize
cd your-project
grspec initSelect your AI tools, and grspec generates skills, commands, and rules for each one.
Work
Tell your AI assistant:
/grsx:propose add user authenticationThe AI creates a change folder with proposal, specs, design, and tasks. Then:
/grsx:apply # implement tasks
/grsx:archive # archive when doneUpdate
After upgrading grspec, regenerate artifacts for your tools:
npm install -g @coodiepee/grspec@latest
grspec updateCLI Reference
| Command | Purpose |
|---------|---------|
| grspec init | Initialize project with specs structure and tool config |
| grspec update | Regenerate skills, commands, and rules |
| grspec config | Manage profile, delivery, language settings |
| grspec list | Show active changes and their status |
| grspec view | Interactive terminal dashboard of specs and changes |
| grspec ui | UI/UX design intelligence — styles, colors, fonts, rules, audits |
| grspec validate | Validate specs and changes |
Full reference: CLI · Commands · Workflows
Non-Interactive Setup
grspec init --tools claude,cursor
grspec init --tools all
grspec init --tools all --profile coreDocumentation
- Getting Started — first steps after init
- Workflows — common patterns and combos
- Commands — slash commands and skills
- CLI — terminal reference
- Wiki — LLM-native knowledge base
- Supported Tools — 30+ tool integrations
- Concepts — philosophy and architecture
- Customization — schemas, templates, community extensions
- Multi-Language — generate artifacts in other languages
Acknowledgments
grspec evolved from the OpenSpec project. The core idea — structured specifications as a communication layer between humans and AI — builds on OpenSpec's foundation with an opinionated workflow, multi-tool support, and a persistent knowledge layer.
Contributing
Small fixes — submit directly as PRs.
Larger changes — submit a grspec change proposal first (/grsx:propose) so we can align on intent before implementation.
AI-generated code is welcome as long as it's tested and verified. Mention the agent and model used.
Development
pnpm install
pnpm run build
pnpm testTelemetry
grspec collects anonymous usage stats (command names and version only). No arguments, paths, content, or PII. Automatically disabled in CI.
Opt-out: export GRSPEC_TELEMETRY=0 or export DO_NOT_TRACK=1
License
MIT
