GitHub Spec-Kit integration for constitution-based spec-driven development. 7-phase workflow. Triggers: "spec-kit", "speckit", "constitution", "specify", ".specify/", "规格驱动开发", "需求规格".
View on GitHubfeiskyer/claude-code-settings
claude-code-settings
January 23, 2026
Select agents to install to:
npx add-skill https://github.com/feiskyer/claude-code-settings/blob/main/skills/spec-kit-skill/SKILL.md -a claude-code --skill spec-kit-skillInstallation paths:
.claude/skills/spec-kit-skill/# Spec-Kit: Constitution-Based Spec-Driven Development Official GitHub Spec-Kit integration providing a 7-phase constitution-driven workflow for feature development. ## Quick Start This skill works with the [GitHub Spec-Kit CLI](https://github.com/github/spec-kit) to guide you through structured feature development: 1. **Constitution** → Establish governing principles 2. **Specify** → Define functional requirements 3. **Clarify** → Resolve ambiguities 4. **Plan** → Create technical strategy 5. **Tasks** → Generate actionable breakdown 6. **Analyze** → Validate consistency 7. **Implement** → Execute implementation **Storage**: Creates files in `.specify/specs/NNN-feature-name/` directory with numbered features ## When to Use - Setting up spec-kit in a project - Creating constitution-based feature specifications - Working with .specify/ directory - Following GitHub spec-kit workflow - Constitution-driven development --- ## Prerequisites & Setup ### Check CLI Installation First, verify if spec-kit CLI is installed: ```bash command -v specify || echo "Not installed" ``` ### Installation If not installed: ```bash # Persistent installation (recommended) uv tool install specify-cli --from git+https://github.com/github/spec-kit.git # One-time usage uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME> ``` **Requirements**: - Python 3.11+ - Git - uv package manager ([install uv](https://docs.astral.sh/uv/)) ### Project Initialization If CLI is installed but project not initialized: ```bash # Initialize in current directory specify init . --ai claude # Initialize new project specify init <project-name> --ai claude # Options: # --force: Overwrite non-empty directories # --script ps: Generate PowerShell scripts (Windows) # --no-git: Skip Git initialization ``` --- <details> <summary>🔍 Phase Detection Logic</summary> ## Detecting Project State Before proceeding, always detect the current state: ### 1. CLI Installed? ```bas