.claude/skills/generate-feature/SKILL.md
Generate new features, components, services, and modules that follow existing codebase patterns.
npx skillsauth add akashmeshram/claude-disco generate-featureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create new code following existing patterns in the codebase.
| Type | Description |
|------|-------------|
| component | UI component with tests |
| service | Business logic service |
| api | API endpoint with route, controller, service |
| model | Data model/entity |
| hook | React custom hook |
| test | Test file for existing code |
| User Request | Action | |--------------|--------| | "Create a Button component" | Generate component + test | | "Add a UserService" | Generate service + test | | "New /products endpoint" | Generate API route stack | | "Add Order model" | Generate model + validation | | "Create useAuth hook" | Generate hook + test |
Use subagent_type: feature-generator with a detailed prompt including:
tools
Scaffold new projects with proper structure and boilerplate. Use for creating APIs, CLIs, web apps, or libraries from scratch.
tools
Initialize development configurations: CI/CD, linting, testing, Docker. Use for setting up project tooling.
testing
Generate comprehensive analysis report by running multiple agents. Use for full audits, onboarding docs, or architecture reviews.
development
Analyze state management and mutation patterns. Use when debugging state bugs or investigating race conditions.