fsd-slice

Generate FSD slice directories with ui, model, api, and lib subdirectories.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/rladydqls99/claude-marketplace --skill fsd-slice-rladydqls99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fsd-slice
Source: https://github.com/rladydqls99/claude-marketplace/tree/main/plugins/dev-team-plugin/skills/fsd-slice
Command: npx skills add https://github.com/rladydqls99/claude-marketplace --skill fsd-slice-rladydqls99

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of a complete FSD (Feature-Sliced Design) slice directory structure, saving developers time and ensuring consistency in project architecture.

Core Features & Use Cases

  • Automated Scaffolding: Generates the standard ui/, model/, api/, lib/, and index.ts files for a given slice.
  • Consistency Enforcement: Adheres to predefined rules for component structure, styling (using cn()), and tech stack.
  • Use Case: When starting a new feature like 'user-profile' in the 'features' layer, use this Skill to quickly set up its entire directory and boilerplate code.

Quick Start

Generate a new slice named 'auth' under the 'features' layer.

Frequently Asked Questions about fsd-slice

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

FAQPage Schema
How do I scaffold a Feature-Sliced Design project structure in React?

To scaffold a Feature-Sliced Design (FSD) project structure in React, this Skill automatically generates a complete slice directory with standard `ui`, `model`, `api`, and `lib` subdirectories along with necessary `index.ts` files. It ensures architectural consistency by applying predefined rules for feature-based modular development.

What is the best way to generate FSD slices for Next.js projects?

The best way to generate FSD slices for Next.js projects is using automated scaffolding tools that create the entire directory and boilerplate code instantly. This Skill specifically supports Next.js projects using TanStack Query and Tailwind CSS, enforcing specific component structures and `cn()` styling conventions.

Can I use this scaffolding tool with TanStack Query and Tailwind CSS?

Yes, this scaffolding tool is designed specifically for React and Next.js projects using TanStack Query and Tailwind CSS. It enforces coding conventions tailored to this tech stack, ensuring that generated `ui`, `model`, `api`, and `lib` files integrate seamlessly with your existing feature-based modular setup.

How do I create a new feature slice directory without manual setup?

You can create a new feature slice directory without manual setup by invoking this Skill to instantly generate the boilerplate structure. For example, requesting a slice named 'auth' under the 'features' layer will automatically produce all required subdirectories and index files for immediate development.

What files are included when generating an FSD slice?

When generating an FSD slice, the tool creates standard `ui/`, `model/`, `api/`, `lib/` subdirectories and their corresponding `index.ts` files. This complete structure supports feature-based modular development by separating UI components, business logic, API calls, and utility functions.

Does this FSD scaffolding tool enforce specific coding conventions?

Yes, this FSD scaffolding tool enforces specific coding conventions by applying predefined rules for component structure and styling using the `cn()` utility. It ensures architectural consistency across your React or Next.js project by standardizing the directory layout and boilerplate code generation.