Home › All prompts › Plan Before It Builds: Use GitHub Spec Kit So the Agent Builds the Right Thing
Mini pack
Free
Plan Before It Builds: Use GitHub Spec Kit So the Agent Builds the Right Thing
Give a coding agent a vague request and it will fill the gaps with guesses. These 9 free prompts help you install GitHub Spec Kit for your coding agent, write your rules and your spec in plain words, check the plan and task list before any code, then build in small steps and fix bugs with its bug extension.
Install Spec Kit for your coding agent, write your rules and your spec in plain words, check the plan and task list before any code, then build in small steps and fix bugs with its bug extension.
9 prompts in 4 sections. Replace everything in [BRACKETS IN CAPS], then copy and paste into your AI tool.
GitHub Spec Kit in Claude Code or Cursor, with the project open: Spec Kit's docs list both as supported agents (integration keys claude and cursor-agent), and both use the hyphen spelling, like /speckit-specify. Other agents on the docs' Integrations page spell the steps differently (for example $speckit-specify for Codex CLI and /speckit.specify for Gemini CLI), so readers are pointed to their agent's page. The terminal is only for uv tool install specify-cli, specify init, specify version and specify extension add bug; every Spec Kit step runs in the agent's chat, one at a time, and the reader runs each step themselves. 1.1 walks through a new-project install from the README and docs only, one command at a time, and 1.2 sets up an existing app on a fresh branch with specify init --here --force, then reviews every added or changed file. 2.1 to 2.3 write a constitution from rules that are already true, a what-and-why description for the specify step, and a plain read-back of spec.md. 3.1 and 3.2 write the plan step's tech line and explain plan.md and tasks.md before any code, flagging tasks with no spec line and anything touching data, logins, payments, keys or new services. 4.1 builds one phase at a time with the reader's own checks and explains the converge results; 4.2 uses the bug extension's assess, fix and test steps. Every prompt reads and explains only: no prompt edits files, runs Spec Kit steps, deletes anything or prints secrets.
Spec Kit facts: needs Python 3.11+, uv and a supported coding agent; installed with uv tool install specify-cli; existing apps use specify init --here --force --integration <key> after committing work (setup adds .specify/ and the agent's skill files, and doesn't rewrite the app); the constitution lives in .specify/memory/constitution.md; /speckit-clarify asks up to five questions; /speckit-analyze is read-only; /speckit-converge never edits code and either reports Converged or appends tasks; bug verdicts are verified, partial or failed. All checked against the Spec Kit README and docs site on Nov 29, 2026.
Left out: star counts, release numbers, every X post and number, presets, workflows, bundles, catalogs, community extensions, the idea assessment steps (pointed to Will Anyone Want It? instead), multi-agent team setup and Claude Code integration options.
Not repeated here: the plain spec-and-tests habit without the tool points to Spec and Tests First; checking demand for an idea to Will Anyone Want It?; finding a bug's real cause to Your Guess Might Be Wrong.
No stats or X claims: no numbers beyond the tool's own documented commands and limits, no X posts quoted, and no affiliate or sponsor copy.
Written for use with GitHub Spec Kit in Claude Code or Cursor. Not yet tested against them.
1.1 Set Up Spec Kit for My Coding Agent, Step by Step
Untested: not yet run against a model.
Use this when you want to start a new project with Spec Kit and need the install steps for your computer and coding agent, one at a time.
Fill in: [MY CODING AGENT] (e.g. "Claude Code" or "Cursor"), [MY COMPUTER] (e.g. "Windows", "Mac" or "Linux"), [MY PROJECT NAME] (e.g. "habit-tracker").
I want to start a new project with GitHub Spec Kit. Walk me through setting it up, one step at a time. Don't run anything for me. Give me the commands and I'll run them myself.
My coding agent: [MY CODING AGENT]
My computer: [MY COMPUTER]
My project name: [MY PROJECT NAME]
Use only Spec Kit's official README (https://github.com/github/spec-kit) and its docs (https://github.github.io/spec-kit/). If you can't check them, say so, and don't guess at commands or options.
Please:
1. List what I need first, and give me commands that only print a version number so I can check whether each one is installed.
2. Give me the command to install the Specify CLI, and tell me what I should see when it works.
3. Find the integration key for my coding agent on the docs' Integrations page. If my agent isn't listed, tell me so plainly.
4. Give me the command to create my project with that key, then the command to go into the new folder.
5. Tell me how to check the install worked.
6. Show me how my agent spells the Spec Kit steps (for example, the specify step), and remind me that those go in my agent's chat, not the terminal.
Give me one step at a time and wait for me to say "next".
Tips to customize: On Nov 29, 2026, Spec Kit's docs listed Python 3.11 or newer, uv and a supported coding agent as what you need. The install command was uv tool install specify-cli. The command to create a project was specify init [MY PROJECT NAME] --integration claude for Claude Code, or specify init [MY PROJECT NAME] --integration cursor-agent for Cursor. specify version checks the install. If specify init says No such option: --integration, the docs say you have an old copy, and uv tool install --force specify-cli replaces it. After setup, open your coding agent in the new project folder.
1.2 Add Spec Kit to the App I Already Have
Untested: not yet run against a model.
Use this when you already have a working app and want to use Spec Kit for your next change. It's for a safe starting point and a check that setup didn't touch your app.
Fill in: [MY CODING AGENT] (e.g. "Claude Code" or "Cursor"), [WHAT MY APP DOES] (e.g. "a booking page for my dog-walking business").
Don't change any files, and don't run anything that changes my project. I want to add GitHub Spec Kit to this app I already have, and I want to be able to see every file it adds.
My coding agent: [MY CODING AGENT]
What my app does: [WHAT MY APP DOES]
Please:
1. Check whether this project uses Git, which branch I'm on, and whether I have changes that aren't saved in a commit. Use only commands that look and change nothing.
2. Give me the commands to save my current work in a commit and switch to a new branch for trying Spec Kit. If the project doesn't use Git, tell me the simplest way to start, or how to make a backup copy of the folder. I'll run the commands myself.
3. Spec Kit's guide for existing projects uses: specify init --here --force --integration, followed by my agent's integration key. Find that key on the docs' Integrations page. Then explain in plain words what --here and --force do, according to that guide.
4. Look for any files or folders in my project that Spec Kit setup might clash with, such as a .specify folder or my agent's own settings folder, and list them. Say "none found" if there are none.
5. Stop and wait. After I run the setup command, I'll ask you to go through the changes with me. Then list every file that was added or changed, and flag anything that touches my own app's code.
Tips to customize: The existing-projects guide says setup adds a .specify/ folder and the files your agent needs. It says setup doesn't rewrite your app or write specs for what's already there. It also says --force may replace files at paths Spec Kit manages, which is why you commit first. If the list of changes touches your own app's code, stop and have the agent explain each change before you keep it. For your first change, the guide suggests one small, clear feature, not "document the whole app". If your first job is a repair, you can go straight to Prompt 4.2 after setup.
Section 2: Rules First, Then the Spec
2.1 Write a Constitution From Rules That Are Already True
Untested: not yet run against a model.
Use this when you're about to run /speckit-constitution and don't know what rules to give it. It's for a short list of real rules, not a wish list.
Fill in: [RULES I ALREADY FOLLOW] (e.g. "keep it simple, ask before adding a new library, mobile first"), [HOW MY APP IS TESTED] (e.g. "npm test", "I click through it by hand", or "not sure").
Don't run any Spec Kit steps and don't edit any files. Help me write the text I'll give to Spec Kit's constitution step.
Rules I already follow: [RULES I ALREADY FOLLOW]
How my app is tested: [HOW MY APP IS TESTED]
Please:
1. Read my project's README, settings files, test files and any build or check settings you can find. If this is a new, empty project, say so and use only my rules.
2. Write 5 to 8 rules. Each one is a single plain line I could check, like "Ask before adding a new library."
3. Include only rules that are already true in this project or that I listed. After each rule, say where it came from: a file name, or "my rule".
4. Separately, list up to 3 rules you think I might want that aren't true yet. Don't put them in the main list.
5. Give me the final rules as one short block of text I can paste after the constitution step.
Tips to customize: Spec Kit's guide for existing projects says not to invent standards just to fill the template, because rules that aren't real just create noise when it plans and checks your work later. You set the constitution once per project and update it when your rules change. Spec Kit keeps it in .specify/memory/constitution.md. In Claude Code or Cursor, type /speckit-constitution, then paste your rules after it.
2.2 Describe My Feature for /speckit-specify in Plain Words
Untested: not yet run against a model.
Use this when you know what you want built and need the text for /speckit-specify. It's for the what and why only, with tech choices saved for the plan step.
Fill in: [MY FEATURE IDEA] (e.g. "people can save recipes and sort them into folders"), [WHO IT'S FOR] (e.g. "home cooks, mostly on phones"), [WHAT IT MUST NOT DO] (e.g. "no public sharing yet"), [WHAT MUST STAY THE SAME] (e.g. "the current login and recipe pages", or "new app").
Don't write any code, run any Spec Kit steps or edit any files. Help me write the description I'll give to Spec Kit's specify step.
My feature idea: [MY FEATURE IDEA]
Who it's for: [WHO IT'S FOR]
What it must not do: [WHAT IT MUST NOT DO]
What must stay the same: [WHAT MUST STAY THE SAME]
Spec Kit's docs say this step is about what to build and why, not the tech stack. Tech choices come later, in the plan step.
Please:
1. Write 3 to 6 plain sentences: who uses it, what they can do, what they see, and why it matters to them.
2. Add one sentence on what it must not do, and, if this is an existing app, one on what must keep working exactly as it does now.
3. If I mentioned any tech choices (languages, frameworks, databases, hosts), take them out and put them in a separate list called "Save for the plan step".
4. List up to 5 questions you'd otherwise have to guess at. Don't answer them for me.
5. Give me the final description as one block of text I can paste after the specify step.
Tips to customize: Keep it to one feature per spec. Answer the questions in step 4 and add your answers to the description before you run it. Anything left open becomes a guess, and guesses are how the wrong thing gets built. For an existing app, Spec Kit's guide shows the same idea: say the new thing, then what must not change. Its example adds a CSV export to an orders page while keeping the current filters and who can see which rows. Keep the "Save for the plan step" list for Prompt 3.1.
2.3 Read My Spec Back to Me Before Planning
Untested: not yet run against a model.
Use this when /speckit-specify has written spec.md and you want to know, in plain words, whether it says what you meant before you plan.
Fill in: [MY FEATURE FOLDER] (e.g. "specs/001-recipe-folders", or "the newest folder in specs/"), [WHAT I ASKED FOR] (paste the description you gave the specify step).
Don't edit any files and don't run any Spec Kit steps. Read the spec Spec Kit just wrote and tell me, in plain words, whether it matches what I meant.
My feature folder: [MY FEATURE FOLDER]
What I asked for: [WHAT I ASKED FOR]
Please read spec.md in that folder, plus checklists/requirements.md inside that folder if it's there. Then:
1. Tell me in 5 to 8 plain sentences what this spec says will be built.
2. List anything the spec added that I didn't ask for, and anything I asked for that's missing or changed.
3. List anything marked as unclear or needing clarification, and any vague words with no clear check, like "fast", "easy" or "secure".
4. Tell me which open item in the requirements checklist matters most, if there is one.
5. Suggest one focus area I could give the clarify step, in one short line. Don't run it.
Tips to customize: Spec Kit's docs say /speckit-clarify asks up to five targeted questions and writes your answers back into spec.md. You can run it more than once, each time on a different area. The docs suggest running it before planning, so the plan isn't built on a guess. If the spec is badly off, change your description and run the specify step again rather than fixing it later in the code.
Section 3: Check the Plan Before Any Code
3.1 Give /speckit-plan My Tech Choices
Untested: not yet run against a model.
Use this when you're about to run /speckit-plan and need to tell it what to build with, or to stick with what your app already uses.
Fill in: [MY FEATURE FOLDER] (e.g. "specs/001-recipe-folders"), [MY TECH CHOICES] (your "Save for the plan step" list from Prompt 2.2, or "not sure"), [WHERE IT WILL RUN] (e.g. "Vercel", "my laptop only", or "not sure"), [MY LIMITS] (e.g. "no new paid services, as few new libraries as possible").
Don't run any Spec Kit steps and don't edit any files. Help me write the text I'll give to Spec Kit's plan step.
My feature folder: [MY FEATURE FOLDER]
My tech choices: [MY TECH CHOICES]
Where it will run: [WHERE IT WILL RUN]
My limits: [MY LIMITS]
Please:
1. Read my project and list what it already uses: language, framework, database, hosting and how it's tested. After each one, name the file where you saw it. If this is a new project, say so.
2. Read spec.md in my feature folder and .specify/memory/constitution.md.
3. Tell me if any of my tech choices clash with the spec, the constitution or what the project already uses, and suggest a simpler option if there is one.
4. Write 2 to 4 plain sentences I can paste after the plan step. Reuse what the project already uses, and say that no new library or service should be added unless I named it.
Tips to customize: The plan step writes plan.md in your feature folder. Depending on the feature, it can also write files like research.md and data-model.md. For an existing app, Spec Kit's guide says to check that the plan reuses the app's current design, libraries and way of testing. Not sure what to pick for a new app? Write "you choose the simplest option and explain why" as your tech choice, and read the answer in Prompt 3.2.
3.2 Explain the Plan and Task List Before I Build
Untested: not yet run against a model.
Use this when plan.md and tasks.md exist and you want to know exactly what will be built, and catch mistakes, before any code.
Fill in: [MY FEATURE FOLDER] (e.g. "specs/001-recipe-folders").
Don't edit any files, don't run any Spec Kit steps and don't write any code. Explain my plan and task list in plain words so I can catch mistakes before anything is built.
My feature folder: [MY FEATURE FOLDER]
Please read spec.md, plan.md, tasks.md and any other files in that folder, plus .specify/memory/constitution.md. Then:
1. Tell me in 5 to 10 plain sentences what will be built, in the order it will happen.
2. Make a table with one row per task: the task in plain words, the files it will create or change, and the line in the spec it serves. Flag any task with no matching spec line, and any spec line with no task.
3. List every task that touches my database, logins, payments, settings or secret keys, deleting data, or adds a new library or paid service. Name keys and settings only. Don't show their values.
4. List anything in the plan that breaks a rule in the constitution.
5. For each problem you found, tell me which step to fix it in: specify or clarify for what to build, plan for how to build it, tasks for the task list.
Tips to customize: Spec Kit has its own read-only check for this, /speckit-analyze. The docs say to run it after the tasks step and before building, and that it never edits files. If it or this prompt finds a problem, the docs say to fix it in the step that owns it and run the check again, not to patch it in the code later. Anything in step 3 you didn't expect is worth a question before you go on.
Section 4: Build in Small Steps and Fix Bugs
4.1 Build One Phase at a Time, Then Check What's Missing
Untested: not yet run against a model.
Use this when the plan looks right and you're ready for /speckit-implement, but you want to build in small steps you can check yourself.
Fill in: [MY FEATURE FOLDER] (e.g. "specs/001-recipe-folders"), [HOW I RUN MY APP] (e.g. "npm run dev", or "not sure").
Don't run any Spec Kit steps, don't edit any files and don't write any code. Help me build this feature in small steps I can check.
My feature folder: [MY FEATURE FOLDER]
How I run my app: [HOW I RUN MY APP]
Please read tasks.md in that folder. Then:
1. List its phases in order, with how many tasks each one has.
2. For each phase, write one short line I can paste after the implement step so it builds only that phase and then stops.
3. For each phase, give me 2 to 4 simple checks I can do myself, using how I run my app, to see that it works before I start the next phase.
4. Explain in plain words what I'll see from the converge step at the end, and what to do for each result.
If I'm not sure how to run my app, look at the project and tell me the command, but don't run it.
Tips to customize: Spec Kit's docs show this same idea for big features: tell the implement step to build only certain phases, check the result, then go on. Before building, the implement step reads your checklists and asks before going ahead if any items are unchecked, so read them instead of just saying yes. The docs say /speckit-converge never edits code. It either reports Converged or adds the missing work to tasks.md, and then you run implement and converge again until it says Converged. Want the agent to prove things work with tests? See Spec and Tests First.
4.2 Fix a Bug With Spec Kit's Bug Extension
Untested: not yet run against a model.
Use this when something in your app is broken and you want Spec Kit's assess, fix and test steps, checking the cause before code changes.
Fill in: [WHAT'S BROKEN] (e.g. "the Save button on the recipe page does nothing"), [STEPS TO MAKE IT HAPPEN] (e.g. "log in, open any recipe, change the title, click Save"), [WHAT SHOULD HAPPEN] (e.g. "the new title shows and is still there after a refresh"), [SHORT BUG NAME] (e.g. "recipe-save").
Don't run any Spec Kit steps, don't edit any files and don't write any code. Help me use Spec Kit's bug extension well. I'll run each step myself.
What's broken: [WHAT'S BROKEN]
Steps to make it happen: [STEPS TO MAKE IT HAPPEN]
What should happen: [WHAT SHOULD HAPPEN]
Short bug name: [SHORT BUG NAME]
Please:
1. Turn my report into one clear bug description for the assess step: what's wrong, the exact steps, and what should happen instead.
2. Check that my short bug name uses only lowercase letters, numbers and dashes, and suggest a better one if needed.
3. Stop and wait. After I run the assess step, I'll ask you to read .specify/bugs/[SHORT BUG NAME]/assessment.md. Then tell me in plain words: the cause, the evidence for it, what the fix will change, and whether the evidence really supports the cause.
4. After I run the test step, I'll ask you to read test.md in the same folder. Then tell me the verdict, what it means, and what I should do next.
Don't show any keys, passwords or secret values. Name them only.
Tips to customize: Install the extension first, in your terminal from your project folder: specify extension add bug. In Claude Code or Cursor, the docs show the steps as /speckit-bug-assess followed by your bug description in quotes and slug=[SHORT BUG NAME], then /speckit-bug-fix slug=[SHORT BUG NAME], then /speckit-bug-test slug=[SHORT BUG NAME]. The docs say the assess step doesn't change your code, the fix step is the only one that does, and the test step records results without editing code to make a test pass. The verdict is verified, partial or failed, and only verified means the fix worked. Use a new short name for each bug. The docs say the assess step asks before writing over an existing report with the same name. If the cause in assessment.md looks like a guess, don't run the fix step yet. Your Guess Might Be Wrong can help you find the real cause.
Get new free packs in your inbox
Optional. Every prompt here is free, and you don't need to sign up to use any of them. We email when we add new free packs. Unsubscribe anytime.
Thanks, you're on the list. Watch your inbox for the next prompt drop.