AI Workflow for Building a Small Feature
Use AI coding assistants across planning, implementation, review and documentation for a small, well-scoped feature.
- Who it's for
- Developers working solo or on a small team.
- Difficulty
- Intermediate
- Time
- Varies by feature size
- Cost
- $10-$40/month for AI coding tools
- 1
Clarify the spec
Write a short, explicit description of what the feature should do, including edge cases.
Open Claude →PromptHelp me write a clear spec for a feature that {{featureDescription}}. Ask me clarifying questions about edge cases first.Input
Rough feature idea
Output
Clear written spec
- 2
Scaffold the implementation
Use an AI coding agent to generate an initial implementation from the spec.
Open Cursor →Input
Spec
Output
First-pass implementation
- 3
Review the code
Request a focused review for correctness, security and readability before merging.
Open Claude →PromptReview this code for correctness, security and readability: {{code}}Input
Generated code
Output
Review notes
- 4
Write or generate tests
Generate tests covering the spec's edge cases, then verify they actually fail without the fix.
Open GitHub Copilot →Input
Implementation + spec
Output
Test suite
- 5
Write the documentation/changelog
Draft a short changelog entry or doc update describing the change.
Open ChatGPT →Input
Final implementation
Output
Changelog entry