| name | advanced-meta-programming |
| description | Implement metaprogramming for code generation and manipulation |
| risk | high |
| source | workspace |
| date_added | 2026-03-21 |
| usage | Code generation, macro systems, DSL implementation |
| avoid | Code complexity, maintenance burden, generation errors |
| mandates | Keep generation logic clean, validate output, test thoroughly |
| response | Design metaprogramming system, generate code, test output |
Advanced Meta Programming
Implement metaprogramming for code generation and manipulation
Risk Level
HIGH
Core Rules
- Keep generation logic clean
- validate output
- Test thoroughly before deploying
Response Pattern
When Using This Skill
- Design metaprogramming system
- Validate the implementation
- Test edge cases and error conditions
- Ensure performance meets requirements
Usage Contexts
- Code generation
- macro systems
What NOT to Do
- Code complexity
- maintenance burden
- Deploy without testing
Key Requirements
- Understand the use cases before application
- Follow the documented response pattern
- Validate results in the target environment
- Monitor for performance impact
Further Learning
Review related skills and documentation for deeper understanding of related systems and best practices.