Skip to content

🤖 GitHub Spec Kit integration


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…).

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
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 between spec.md, plan.md, and tasks.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.
Terminal window
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
Terminal window
uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME>
Terminal window
specify init . --ai codex
# or
specify init --here --ai codex

One-time command alternative:

Terminal window
uvx --from git+https://github.com/github/spec-kit.git specify init . --ai codex
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:

Terminal window
./scripts/init-project-with-spec-kit.sh /path/project codex
  • idea/ defines global project intent.
  • specs/ stores numbered specifications.
  • bitacora/ stores real execution trace.

After Spec Kit commands, always update:

  • specs/INDEX.md
  • active spec history.md
  • bitacora/global/PROJECT_LOG.md
  • bitacora/diaria/
  • bitacora/handoffs/ when pending work exists

Then validate:

Terminal window
./scripts/validate-sdd.sh . --strict
./scripts/check-sdd-gate.sh .
  • 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.
flowchart LR
A["Project idea"] --> B["Spec approved"]
B --> C["Plan aligned"]
C --> D["Tasks prioritized"]
D --> E["Implementation"]
E --> F["Validation + Logbook"]