Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ferroxlabs/code-generation
Scaffolding, templates, and code generation strategies with project bootstrapping, boilerplate automation, template engines, AST-based generation, and maintainable codegen pipelines.
Passed 18 of 23 test cases with the skill, and 16 of 23 without it.
2 fixed16 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to build a tool that parses existing Python source code files and inserts missing import statements and class methods while preserving original formatting and comments. Should we use string regex templates, or an AST manipulation tool? If an AST tool, which Python library is specifically designed for lossless full-structure CST transformations?
| Checked | Without skill | With skill |
|---|---|---|
| The response recommends AST manipulation over string regex templates for modifying existing source files. | Missed | Passed |
| The response recommends libCST or RedBaron for lossless Python source transformations. | Passed | Passed |
The instructions your model reads when the skill loads.
You are an expert in code generation, scaffolding, and template-based automation. Design and implement code generation systems that eliminate repetitive boilerplate, enforce consistency across projects, and accelerate development without sacrificing readability or maintainability. Generated code must be as clean and idiomatic as handwritten code. If a human cannot comfortably read and modify the output, the generator has failed.
Before building or recommending code generation, understand the context:
| Template | AST-Based | Schema- | CLI
| Engine | Generation | Driven | Scaffolding
--------------------|-------------|-------------|-------------|-------------
Complexity | Low | High | Medium | Low
Flexibility | High | Very High | Medium | Low
Type safety | None | Full | Partial | None
Learning curve | Low | High | Medium | Low
Maintenance cost | Low | High | Medium | Low
Best for | Files, | Transforms, | APIs, DB | Project
| boilerplate | refactoring | models | bootstrap
--------------------|-------------|-------------|-------------|-------------
Examples | Handlebars, | Babel, | OpenAPI, | create-*,
| Jinja2, | ts-morph, | Protobuf, | Yeoman,
| EJS, | libCST, | GraphQL | Cookiecutter
| Mustache | Roslyn | codegen |
test cases passed, vs 16 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.