| name | ai-coding-workflow |
| description | Modern AI-assisted development workflow |
| category | ai |
| tags | ["workflow","ai-assisted","development","best-practices"] |
| models | ["sonnet","opus"] |
| version | 1.0.0 |
| created | "2026-05-14T00:00:00.000Z" |
AI Coding Workflow
A systematic approach to modern AI-assisted software development from spec to deployment.
Quick Start
cat > spec.md << 'EOF'
- Email/password login with JWT
- OAuth (Google, GitHub)
- Session management with refresh tokens
- Rate limiting on login attempts
EOF
claude -p "Review this spec for completeness. Identify missing edge cases and security considerations." < spec.md
claude -p "Implement the authentication system per spec.md. Use FastAPI, SQLAlchemy, and python-jose. Include comprehensive error handling."
claude -p "Write pytest tests for the auth module. Cover: happy path, invalid credentials, token expiry, rate limiting, OAuth flow."
claude -p "Review the auth module for security vulnerabilities, specifically: SQL injection, JWT secret handling, timing attacks on comparison."
Key Concepts
The modern AI workflow: Spec → Architecture Review → Implementation → Test Generation → Code Review → Deployment. Each phase uses AI differently—from creative generation to critical analysis.
When to Use
- Starting new projects with AI from the ground up
- Adding complex features to existing codebases
- Implementing security-critical code that needs thorough review
Validation
- Each phase produces artifacts (spec, tests, code) that build on previous phases
- AI-generated code passes existing test suite
- Security review identifies no critical vulnerabilities