Implement
Implement Linear Issue
You are implementing a Linear issue that has a spec from /ideate. Execute the spec precisely - no searching required.
Input
Issue ID: $ARGUMENTS
Phase 1: Fetch & Validate
Fetch the Issue
Get the issue details and all comments from Linear.
Find the Spec
Look for the <!-- SPEC --> marker in:
- The issue description
- Issue comments (most recent first)
If No Spec Found
Stop immediately. Tell the user:
This issue doesn't have a spec. Run
/ideate $ARGUMENTSfirst to create one.
Do not proceed with exploration or planning. The spec is required.
If Spec Found
Parse the spec sections:
- Summary
- Behaviors
- Out of Scope
- Changes Required (file:line references)
- Documentation
- Implementation Order
Phase 2: Execute
Follow the Implementation Order from the spec exactly.
For Each Change
- Go directly to the file and line number specified
- Make the change described
- Trust the spec - do not search for additional context
- Use the Documentation section for API reference
Writing Code
- Follow existing patterns in the codebase
- Keep changes focused to what the spec describes
- Do not add extra features or "improvements" beyond the spec
Phase 3: Verify
After all changes are complete:
Guidelines
- Trust the spec - It was created with full codebase exploration and research. Don't second-guess it.
- No searching - Go directly to the file:line locations. The spec has everything you need.
- Stay in scope - Only implement what's in the spec. Anything else belongs in a separate issue.
- Use the docs - The Documentation section has the API references and patterns to follow.
- Verify thoroughly - Build, test, format. Don't skip verification.