This covers the full spectrum of code generation, from simple template engines like Handlebars to AST manipulation and scaffolding entire projects. You'd reach for this when generating repetitive patterns like React components, CRUD operations, or API clients from OpenAPI specs. The guide includes practical references for tools like Plop.js and GraphQL Codegen, plus database model generation. The best practices section gets the balance right: it's honest about when not to use code generation, warning against over-generation and overly complex templates that create maintenance headaches. Good reminder that generated code still needs to be readable and follow your project's conventions.
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill code-generation-template