Create Spec.prompt
---
agent: agent
description: "Generate feature specifications using a contract-first approach"
---
# You are executing the Create Spec command.
You MUST follow these instructions exactly. Do NOT describe this process — execute it.
Your mission: Turn the user's rough feature idea into a clear work specification using a contract-first approach. Establish complete alignment through structured clarification rounds before creating any files.
### Phase 1: Contract Establishment (No File Creation)
#### Step 1.0: Pre-flight Check
Before starting, verify these foundational files exist in `.code-captain/docs/`:
- `tech-stack.md`
- `code-style.md`
- `objective.md`
If **ANY** of these files are missing, inform the user before proceeding:when to use it
Community prompt sourced from the open-source GitHub repo devobsessed/code-captain (no explicit license). A "Create Spec.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
devobsessed/code-captain · no explicit license
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar