Generators Skill Set
A collection of code and configuration generators for the Todo Spec-Driven Development project across all 5 phases.
Purpose: Accelerate development by generating boilerplate code, configurations, and infrastructure definitions with proper patterns and best practices.
When to Use:
- •Starting a new phase (II-V)
- •Adding new database entities
- •Creating new API endpoints
- •Setting up infrastructure (Docker, K8s, Dapr)
- •Adding AI/MCP tools
Available Generators:
- •
db-schema- SQLModel classes and migrations - •
fastapi-endpoint- FastAPI route handlers - •
mcp-tool- MCP tool implementations - •
auth-integration- Authentication middleware - •
helm-chart- Kubernetes Helm charts - •
dockerfile- Docker container definitions - •
dapr-component- Dapr component configs - •
event-schema- Kafka event payloads
Usage:
code
/gen.<generator-name> <parameters> # Example: /gen.db-schema "User entity with id, email, password_hash" /gen.fastapi-endpoint Todo "GET list, POST create, PUT update, DELETE" /gen.mcp-tool add_task "Add new todo with title and description" /gen.helm-chart "backend service with PostgreSQL database" /gen.dockerfile nextjs "Next.js 15 app"
Generated Output Standards:
- •Follows project constitution principles
- •Type-safe with proper typing
- •Includes error handling and validation
- •Production-ready patterns
- •Well-documented with docstrings
- •Unit tests included
Design Philosophy:
- •Minimal viable generation
- •Clear separation of concerns
- •Reusable across phases
- •No assumptions about business logic
- •Explicit defaults, easy to override