🤖 GitHub Spec Kit integration
🌍 Language pair / Par de idioma
Section titled “🌍 Language pair / Par de idioma”- English: 08-github-spec-kit-integration.md
- Español: ../es/08-integracion-github-spec-kit.md
🗣️ Friendly prompt (copy/paste)
Section titled “🗣️ Friendly prompt (copy/paste)”Use this when you are not technical and want the AI to do setup + guidance end-to-end:
Using https://github.com/juanklagos/spec-driven-development-template, create everything needed to carry out my project end-to-end.My project is: [describe your project in plain language].
If my project is new, initialize it with this template and GitHub Spec Kit.If my project already exists, adapt it to idea/specs/bitacora without breaking current behavior.Guide me step by step for my level (beginner/intermediate/advanced), using simple language.Do not skip specification, plan, tasks, refinement trace, logbook, and validation.[!TIP] For startup instructions and prompts, use:
This template recommends GitHub Spec Kit as the main workflow engine.
[!NOTE] Since late 2025 all Spec Kit commands live under the
speckit.*namespace (older docs show/specify,/plan, etc.). Spec Kit supports 30+ AI agents (Copilot, Claude Code, Cursor, Gemini CLI, Codex CLI, Windsurf…).
Quick map (current command set)
Section titled “Quick map (current command set)”| Phase | Command | Purpose | Required? |
|---|---|---|---|
| 1 | /speckit.constitution | Define project principles | Recommended |
| 2 | /speckit.specify | Define what to build and why | Yes |
| 3 | /speckit.clarify | Answer open questions before planning | Optional |
| 4 | /speckit.plan | Define how to build | Yes |
| 5 | /speckit.tasks | Generate executable tasks | Yes |
| 6 | /speckit.analyze | Check spec/plan/tasks consistency | Optional |
| 7 | /speckit.checklist | Generate quality checklists | Optional |
| 8 | /speckit.taskstoissues | Convert tasks into GitHub issues | Optional (teams) |
| 9 | /speckit.implement | Execute implementation | Yes |
Visual flow
Section titled “Visual flow”flowchart LR A["Constitution"] --> B["Specification"] B --> B2["Clarify (optional)"] B2 --> C["Plan"] C --> D["Tasks"] D --> D2["Analyze + Checklist (optional)"] D2 --> E["Implementation"] E --> F["Logbook + Refinement"]How the optional commands fit this template’s gate
Section titled “How the optional commands fit this template’s gate”- /speckit.clarify before planning reduces the back-and-forth that usually blocks spec approval.
- /speckit.analyze is the natural step right before
./scripts/check-sdd-gate.sh .: it verifies consistency betweenspec.md,plan.md, andtasks.md; the gate then verifies approval + consent. - /speckit.checklist complements this template’s quality checklists by stage.
- /speckit.taskstoissues is useful in team mode to assign tasks as GitHub issues.
Recommended installation
Section titled “Recommended installation”Persistent installation
Section titled “Persistent installation”uv tool install specify-cli --from git+https://github.com/github/spec-kit.gitOne-time usage
Section titled “One-time usage”uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME>Initialize in existing project
Section titled “Initialize in existing project”specify init . --ai codex# orspecify init --here --ai codexOne-time command alternative:
uvx --from git+https://github.com/github/spec-kit.git specify init . --ai codexRecommended initialization with this template
Section titled “Recommended initialization with this template”If this template is already available locally, you can bootstrap a project and initialize Spec Kit in one step:
./scripts/init-project-with-spec-kit.sh /path/project codexHow it fits this template
Section titled “How it fits this template”idea/defines global project intent.specs/stores numbered specifications.bitacora/stores real execution trace.
Practical recommendation
Section titled “Practical recommendation”After Spec Kit commands, always update:
specs/INDEX.md- active spec
history.md bitacora/global/PROJECT_LOG.mdbitacora/diaria/bitacora/handoffs/when pending work exists
Then validate:
./scripts/validate-sdd.sh . --strict./scripts/check-sdd-gate.sh .💡 Quick tips
Section titled “💡 Quick tips”- Start from a simple one-paragraph project description.
- Ask the AI to confirm the active spec before coding.
- Close every session with validation and a clear next step.
📊 Visual flow
Section titled “📊 Visual flow”flowchart LR A["Project idea"] --> B["Spec approved"] B --> C["Plan aligned"] C --> D["Tasks prioritized"] D --> E["Implementation"] E --> F["Validation + Logbook"]