AI agent skills for applying Feature-Sliced Design (FSD) v2.1 in frontend projects.
npx skills add https://github.com/feature-sliced/skills --skill feature-sliced-designInstall this skill with the CLI and start using the SKILL.md workflow in your workspace.
Agent skills that teach AI coding agents Feature-Sliced Design (FSD) v2.1 architectural methodology.
npx skills add feature-sliced/skills
Apply FSD v2.1 principles when structuring frontend projects. The agent learns layer hierarchy, import rules, the decision framework for code placement, and common patterns.
Use when:
Examples:
Set up FSD project structure with Next.js App Router
Where should I put this auth logic?
These two entities need to import from each other. How do I fix this?
Where should I put hero images for my landing page?
feature-sliced-design/
SKILL.md Core rules and decision framework
references/
layer-structure.md Detailed folder structures per layer (incl. slice groups)
asset-handling.md Where to place images, icons, fonts, and other static assets
cross-import-patterns.md Cross-import resolution: 4 strategies for features/widgets, @x for entities
excessive-entities.md Keeping the entities layer clean: when to skip, what to extract
migration-guide.md v2.0→v2.1 and non-FSD migration
framework-integration.md Next.js (App Router & Pages Router), Nuxt, Vite/CRA, Astro setup
practical-examples.md Auth, types, API, Redux, TanStack Query (React Query)
The agent reads only SKILL.md by default. Reference files are loaded on demand based on the task.
When adding or modifying reference files, keep these constraints in mind:
SKILL.md body ≤ 500 linesSKILL.md + any single reference ≤ 1,000 lines combinedSKILL.mdMIT