Skip to content

Reading

Appearance

Text size

Bookmarks

    No bookmarks yet. Use “Bookmark chapter” or “Bookmark this section” while reading.

    Your data

    Saved only in this browser on this device. It is not synced to other devices or sent anywhere.

    Chapter 7 of 22 · about 2 min

    7. What all those new folders are

    After init you get roughly this (exact contents depend on version and agent):

    your-project/
    ├── .specify/ ← Spec Kit's "engine room" (you rarely edit by hand)
    │ ├── memory/
    │ │ └── constitution.md ← ⭐ your permanent project rules
    │ ├── scripts/ ← helper scripts (bash / powershell / python)
    │ ├── templates/ ← blank templates for spec, plan, tasks, checklist
    │ ├── integrations/ ← manifest files for each AI agent you enabled
    │ ├── workflows/ ← definitions of the step sequence
    │ ├── integration.json ← which agent(s) are installed / default
    │ └── feature.json ← ⭐ which feature is "active" right now
    │
    ├── .github/ ← (if Copilot) agent + prompt files for the slash commands
    │ ├── agents/ ← "specialists" that know how to do one step
    │ └── prompts/ ← the reusable prompts those specialists use
    │ (Claude Code puts its files in .claude/, Cursor in .cursor/, and so on)
    │
    └── specs/ ← created when you run your first /specify
    └── 001-user-registration/
    ├── spec.md
    ├── checklists/requirements.md
    ├── plan.md
    ├── research.md (sometimes)
    ├── data-model.md (sometimes)
    ├── contracts/ (sometimes, e.g. API definitions)
    ├── quickstart.md (sometimes)
    └── tasks.md

    What each one is for, in plain terms:

    • memory/constitution.md holds the rules that apply to every feature. Every command reads it.
    • templates/: Spec Kit never writes a document from scratch. It copies a template and fills it in, which keeps every spec, plan and task list in the same shape. Advanced teams customize these.
    • scripts/ are small shell scripts that do the mechanical work, such as creating the next numbered folder, copying templates and updating feature.json. You don't edit them.
    • integrations/ + .github/agents + .github/prompts are the glue that turns /speckit-plan into a long, carefully written prompt for your specific AI agent.
    • feature.json is the bookmark that tells every command which feature folder to work in.
    Learning aidHow the folders work together
    feature.json ⭐001-user-registration/spec.md · plan.mdtasks.md …

    The bookmark

    feature.json is the bookmark: it tells every command which feature folder to work in. Here it points at the only feature in the tree.

    Each card restates one bullet from "What each one is for", or a note in the tree. Select a card to find it in the text. workflows/ and integration.json appear in the tree but are not explained in this chapter.
    Optional reviewCheck yourself
    1. Which file tells every command which feature folder to work in?
    2. Which folder appears only when you run your first /specify?