add-feature

Scaffold a vertical slice feature under src/features/[name]/ with standard files.

Updated Jun 1, 2025
One-click install
npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill add-feature-yokhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-feature
Source: https://github.com/Yokhan/yokhanFitnessDocsWebsite/tree/main/.claude/skills/add-feature
Command: npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill add-feature-yokhan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a consistent, scalable feature skeleton to accelerate development and maintain architectural boundaries.

Core Features & Use Cases

  • Scaffolds a vertical slice feature under src/features/[name]/ with standard files (types, data, service, test, adapter).
  • Checks for naming conflicts against existing modules and guides downstream steps (testing, review).
  • Applies the 9-step workflow from exploration to validation to produce a ready-to-use skeleton.

Quick Start

Ask Claude to add a new feature by name to scaffold a vertical slice under src/features/.

Frequently Asked Questions about add-feature

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new feature module using vertical slice architecture?

Scaffolding a feature module with vertical slice architecture generates a standardized file layout under src/features/[name]/. It creates types, data, service, test, and adapter files to maintain consistent architectural boundaries across your project.

What is the vertical slice workflow for creating a new code skeleton?

The vertical slice workflow for a code skeleton follows a 9-step process: explore, scaffold, implement, test, review, and validate. This produces a ready-to-use feature structure with naming conflict checks and guidance for downstream steps.

Can I generate feature modules for both frontend and backend with this scaffolder?

Yes, generating feature modules covers both frontend and backend contexts. The scaffolder provides guidance for downstream steps like testing and review in typical frontend and backend modules to ensure consistent architectural boundaries.

What's the best way to avoid naming conflicts when scaffolding feature modules?

The best way to avoid naming conflicts when scaffolding feature modules is the built-in conflict check. It validates new module names against existing ones before creating the file layout under src/features/.

What files are included in a scaffolded vertical slice feature skeleton?

A scaffolded vertical slice feature skeleton includes standard files for types, data, service, test, and adapter components. These are generated under the src/features/[name]/ directory to accelerate development.

When should I use a vertical slice module structure instead of a traditional layered architecture?

You should use a vertical slice module structure when you need to maintain scalable architectural boundaries across growing features. It creates isolated, ready-to-use feature skeletons that prevent cross-module coupling better than traditional layered approaches.