Back to skills
SkillHub ClubShip Full StackFull StackTesting

generate-boilerplate

Create starter code from templates. Use when setting up new modules or test files.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
14
Hot score
86
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
S96.0

Install command

npx @skill-hub/cli install mvillmow-projectodyssey-generate-boilerplate

Repository

mvillmow/ProjectOdyssey

Skill path: .claude/skills/tier-1/generate-boilerplate

Create starter code from templates. Use when setting up new modules or test files.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack, Testing.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: mvillmow.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install generate-boilerplate into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/mvillmow/ProjectOdyssey before adding generate-boilerplate to shared team environments
  • Use generate-boilerplate for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: generate-boilerplate
description: "Create starter code from templates. Use when setting up new modules or test files."
mcp_fallback: none
category: generation
tier: 1
---

# Generate Boilerplate

Create standard starter code templates for new modules, test files, and configuration files to accelerate development.

## When to Use

- Creating new modules or packages
- Setting up test file structure
- Initializing configuration files
- Standardizing code structure across project

## Quick Reference

```bash
# Generate from templates
cat > new_module.py << 'EOF'
"""Module docstring describing purpose."""

def main():
    """Main function."""
    pass

if __name__ == "__main__":
    main()
EOF

# Or use template generator
python3 << 'PYSCRIPT'
import os
def generate_module_boilerplate(name):
    return f'"""Module {name}."""\n\nclass {name.title()}:\n    pass\n'
PYSCRIPT
```

## Workflow

1. **Select template type**: Module, test, config, etc.
2. **Customize parameters**: Name, class structure, default content
3. **Generate file**: Create from template with substitutions
4. **Add to project**: Place in correct location
5. **Validate structure**: Ensure imports and basic structure work

## Output Format

Generated boilerplate:

- File(s) created with correct naming
- Standard header comments and docstrings
- Basic structure (class/function stubs)
- Import statements included
- Ready to compile/run (no syntax errors)

## References

- See templates/ directories in skill folders for examples
- See `generate-docstrings` skill for docstring templates
- See CLAUDE.md > Code Standards for project conventions
generate-boilerplate | SkillHub