example-feature-generator
About
This skill generates boilerplate code for new features by analyzing existing project patterns and conventions. It automatically triggers when users request feature creation or scaffolding, then prompts for requirements like feature type and dependencies. The tool creates structured files, tests, and documentation while maintaining consistency across the codebase.
Quick Install
Claude Code
Recommended/plugin add https://github.com/alekspetrov/navigatorgit clone https://github.com/alekspetrov/navigator.git ~/.claude/skills/example-feature-generatorCopy and paste this command in Claude Code to install this skill
Documentation
Example Feature Generator
This is an example of a generated skill created by nav-skill-creator.
When to Invoke
Auto-invoke when user says:
- "Create a new feature"
- "Add feature scaffolding"
- "Generate feature boilerplate"
What This Does
- Asks for feature name and type
- Analyzes existing features for patterns
- Generates feature files following project conventions
- Creates tests and documentation
Execution Steps
Step 1: Gather Feature Requirements
Ask user:
- Feature name (kebab-case)
- Feature type (API, UI, background job, etc.)
- Dependencies needed
- Testing requirements
Step 2: Analyze Existing Patterns
Use Task agent to explore codebase:
"Find existing features similar to [feature-type]:
- Locate feature files
- Identify structure patterns
- Extract naming conventions
- Find test patterns"
Step 3: Generate Feature Files
Use predefined function: functions/feature_generator.py
# Generates feature structure based on analysis
generate_feature(name, feature_type, config)
Creates:
- Feature implementation file
- Test file
- Configuration file (if needed)
- Documentation stub
Step 4: Validate Generated Files
Check:
- Files follow naming conventions
- Imports are correct
- Tests are generated
- Documentation is created
Step 5: Show Summary
Display created files and next steps for user.
Output Format
✅ Feature Created: [feature-name]
Files generated:
- features/[feature-name]/index.ts
- features/[feature-name]/[feature-name].test.ts
- features/[feature-name]/README.md
Next steps:
1. Implement feature logic in index.ts
2. Add test cases in [feature-name].test.ts
3. Document usage in README.md
This is an example - actual generated skills will vary based on project patterns
GitHub Repository
Related Skills
subagent-driven-development
DevelopmentThis skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
algorithmic-art
MetaThis Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
cost-optimization
OtherThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
