new-feature

Scaffolds FSD-compliant features with Scrum tasks, workflow stages, and boilerplate files.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/gmolike/Claude-Template --skill new-feature-gmolike
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-feature
Source: https://github.com/gmolike/Claude-Template/tree/main/.claude/skills/new-feature
Command: npx skills add https://github.com/gmolike/Claude-Template --skill new-feature-gmolike

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Starting a new feature in a Feature-Sliced Design monorepo requires deciding the correct layer, creating Scrum tasks, and generating consistent boilerplate across web, API, and shared packages. This Skill automates that entire setup process so nothing is misplaced or forgotten. ## Core Features & Use Cases - FSD Layer Analysis: Determines whether the request maps to pages, widgets, features, entities, or shared segments, and which apps or packages are affected. - Workflow Stage Selection: Classifies the work as Bugfix (1 agent), Lite (Senior + QA), or Full Scrum (full team) based on file count and scope. - Scrum Task Creation: Generates a structured task file in .scrum/backlog/ with user story, acceptance criteria, and technical planning. - Boilerplate Scaffolding: Creates Zod schemas in shared-types, query factories, mutation hooks, thin route wrappers, and Hono API routes with JSDoc and public API index files. - Use Case: Ask to add a user profile page with avatar upload, and receive a prioritized Scrum task plus the complete directory skeleton across shared-types, entities, features, pages, and API routes. ## Quick Start Ask the assistant to create a new feature such as a posts page with comments, and it will analyze the scope, pick a workflow stage, create the Scrum task, and scaffold all FSD-compliant files.

Frequently Asked Questions about new-feature

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

FAQPage Schema
How do I scaffold a new feature in Feature-Sliced Design?

Provide a feature description and the Skill analyzes which FSD layer it belongs to, creates a Scrum task in .scrum/backlog/, and generates the directory structure with boilerplate files including index.ts public APIs for each slice.

How does the workflow stage selection work for new features?

The Skill classifies work into three stages: Stage 1 Bugfix for 1-2 localized files, Stage 2 Lite for 2-5 files with clear scope, and Stage 3 Full Scrum for 5+ files spanning multiple layers or apps. It explains the reasoning for the chosen stage.

Where do shared types go in an FSD monorepo?

Shared types are always defined first in packages/shared-types/src/ as Zod schemas, then re-exported through the package index. Web entities import these types rather than defining their own, keeping a single source of truth.

Can mutations live in the entities layer in FSD?

No, mutations belong in the features layer, not entities. Entities only contain query factories using the queryOptions pattern, while user interactions like create-post forms and their useMutation hooks live in features/.

What files are generated for a new API endpoint?

The Skill creates a Hono route file in apps/api/src/routes/ and a service file in apps/api/src/services/ for business logic. On the web side, routes are thin wrappers with logic placed in page components.