/add-feature
Add a new feature module to an existing project with all supporting files.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/add-feature
Context preview
What this command does when you run it.
Add a new feature module to an existing project with all supporting files.
Command definition
add-feature.mdAdd a new feature module to an existing project with all supporting files.
Steps
1. Parse the feature specification from the argument:
- Feature name and description.
- Type: CRUD resource, service, middleware, CLI command, UI component.
2. Analyze the existing project structure:
- Detect conventions for file organization.
- Identify existing patterns for routing, models, services.
- Check for shared utilities and types.
3. Generate feature files based on type:
- **CRUD resource**: Model, service, controller/handler, routes, validation schema, tests.
- **Service**: Service class/module, interface/types, tests.
- **Middleware**: Middleware function, configuration, tests.
- **CLI command**: Command definition, handler, help text, tests.
- **UI component**: Component, styles, stories, tests.
4. Wire up the feature:
- Add routes to the router.
- Register middleware in the app configuration.
- Export from the module index.
5. Generate tests for the new feature. 6. Verify the project still builds and existing tests pass.
Format
Feature added: <name>
Type: <feature-type>
Files created:
- src/<feature>/model.ts
- src/<feature>/service.ts
- src/<feature>/routes.ts
- tests/<feature>/service.test.ts
Wired up:
- Routes registered at /<feature>
- Tests added: <N>
Rules
- Follow existing project conventions for naming, structure, and patterns.
- Include validation for all inputs at the boundary.
- Add error handling consistent with the project's error handling approach.
- Generate at least one test per public function or endpoint.
- Update the project CLAUDE.md with the new feature's purpose and location.
Read more
Add a new feature module to an existing project with all supporting files.
Steps
1. Parse the feature specification from the argument:
- Feature name and description.
- Type: CRUD resource, service, middleware, CLI command, UI component.
2. Analyze the existing project structure:
- Detect conventions for file organization.
- Identify existing patterns for routing, models, services.
- Check for shared utilities and types.
3. Generate feature files based on type:
- **CRUD resource**: Model, service, controller/handler, routes, validation schema, tests.
- **Service**: Service class/module, interface/types, tests.
- **Middleware**: Middleware function, configuration, tests.
- **CLI command**: Command definition, handler, help text, tests.
- **UI component**: Component, styles, stories, tests.
4. Wire up the feature:
- Add routes to the router.
- Register middleware in the app configuration.
- Export from the module index.
5. Generate tests for the new feature. 6. Verify the project still builds and existing tests pass.
Format
Feature added: <name> Type: <feature-type> Files created: - src/<feature>/model.ts - src/<feature>/service.ts - src/<feature>/routes.ts - tests/<feature>/service.test.ts Wired up: - Routes registered at /<feature> - Tests added: <N>
Rules
- Follow existing project conventions for naming, structure, and patterns.
- Include validation for all inputs at the boundary.
- Add error handling consistent with the project's error handling approach.
- Generate at least one test per public function or endpoint.
- Update the project CLAUDE.md with the new feature's purpose and location.
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

