Agent skill

Feature Sliced Design

by feature-sliced in feature-sliced/skills

Official Feature-Sliced Design (FSD) v2.1 skill for applying the methodology to frontend projects.

No licenceAuto-check passedFrontend & Design

Install Feature Sliced Design

skills CLI
$ npx skills add feature-sliced/skills --skill feature-sliced-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install feature-sliced/skills feature-sliced-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/feature-sliced/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/feature-sliced-design .claude/skills/feature-sliced-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
feature-sliced-design
GitHub stars
109
Token cost
~5.5k tokens
SKILL.md length
2,557 words
Files
12 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Official Feature-Sliced Design (FSD) v2.1 skill for applying the methodology to frontend projects.

  • Works in 10 steps: Core philosophy & layer overview → Decision framework → Quick placement table → …
  • The task involves organizing project structure with FSD layers
  • SKILL.md covers 1. Core philosophy & layer…, 2. Decision framework, 3. Quick placement table and 4. Architectural rules (MUST), plus 6 more sections
  • Calls npm and npx

What it does

Feature Sliced Design is an agent skill from feature-sliced/skills. Official Feature-Sliced Design (FSD) v2.1 skill for applying the methodology to frontend projects. Use when the task involves organizing project structure with FSD layers, deciding where code belongs, placing static assets (images, icons, fonts, PDFs), grouping closely related slices, defining public APIs and import boundaries, resolving cross-imports or evaluating the @x pattern, deciding whether to create or remove an entity, evaluating whether the entities layer is needed at all, deciding where page layouts…

Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including reference files (for example `evals/README.md`, `evals/evals.json` and `references/asset-handling.md`).

It sits in Frontend & Design, covering State management and Static sites and blogs. It works with TanStack, Vite, Astro and Next.js. The repository describes itself as: AI agent skills for applying Feature-Sliced Design (FSD) v2.1 in frontend projects.

When your agent uses it

  • The task involves organizing project structure with FSD layers
  • Deciding where code belongs
  • Placing static assets (images
  • Grouping closely related slices

Example prompts

  • “/feature-sliced-design”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Core philosophy & layer overview
  2. Decision framework
  3. Quick placement table
  4. Architectural rules (MUST)
  5. Recommendations (SHOULD)
  6. Anti-patterns (AVOID)
  7. Cross-import resolution
  8. Segments & structure rules
  9. Shared layer guide
  10. Conditional references

What it can do on your machine

Read from SKILL.md and the folder at commit 538e100. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • fsd.how
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Feature Sliced Design loads about 5.5k tokens when it runs, and up to ~35k if it reads all its reference files. Until then it costs about 232 tokens; SKILL.md has 2,557 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~232
When it runs · the whole SKILL.md, loaded when a task matches
~5.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~35k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,557 words (~5,540 tokens).

“How to use this skill. For placement decisions, start with the decision tree in Section 2 and use the placement table in Section 3 as a quick reference. To check a structure for violations, use the rules in Section 4…”

— opening of SKILL.md by feature-sliced
name
feature-sliced-design

Read the full SKILL.md on GitHub

Files

SKILL.md and 11 other files (references) in feature-sliced-design of feature-sliced/skills.

  • SKILL.md
  • evals/README.md
  • evals/evals.json
  • references/asset-handling.md
  • references/auth-and-api.md
  • references/cross-import-patterns.md
  • references/excessive-entities.md
  • references/framework-integration.md
  • references/growth-walkthrough.md
  • references/layer-structure.md
  • references/migration-guide.md
  • references/state-management.md

Open the folder on GitHubat commit 538e100

Compare with similar skills

Feature Sliced Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Feature Sliced Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feature Sliced Design this skillfeature-sliced/skills109—~5.5kAutomated safety check: PassNone
Edgeone Makers FrameworksTencentEdgeOne/edgeone-makers-tools1.9k—~2.5kAutomated safety check: PassMIT
Lunora Quickstartanolilab/lunora284—~2.5kAutomated safety check: PassCustom licence
Clerkgeekskai/blog1033 repos~1.5kAutomated safety check: PassMIT
Cometchat React V7 Patternscometchat/cometchat-skills132—~1.2kAutomated safety check: NotesMIT
Sanity Best Practicesrobotostudio/turbo-start-sanity183—~940Automated safety check: PassMIT

Similar skills

  • Edgeone Makers Frameworks

    TencentEdgeOne/edgeone-makers-tools

    Web framework support matrix for EdgeOne Makers — which platform adapter each full-stack framework needs, where it plugs in, the build output directory, the preview asset-prefix option, the 404…

    1.9k GitHub stars~2.5k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Lunora Quickstart

    anolilab/lunora

    Creates a new Lunora project or adds Lunora to an existing app, then gets the first schema + query/mutation round-trip running.

    284 GitHub stars~2.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Clerk

    geekskai/blog

    Clerk authentication router. An agent skill from geekskai/blog.

    103 GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • Cometchat React V7 Patterns

    cometchat/cometchat-skills

    Framework wiring for the React v7 UI Kit across Vite, Create React App, Next.js, React Router (incl.

    132 GitHub stars~1.2k tokensUpdated 5 days ago
    Frontend & DesignAuto-check: notes
  • Sanity Best Practices

    robotostudio/turbo-start-sanity

    Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, Blueprints, and…

    183 GitHub stars~940 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Lingui Framework Setup

    B0und/WikiSpeedrun

    Set up Lingui in a React framework. An agent skill from B0und/WikiSpeedrun.

    133 GitHub stars~1.9k tokensUpdated 20 days ago
    Frontend & DesignAuto-check passed

Questions about Feature Sliced Design

What does Feature Sliced Design do?

Official Feature-Sliced Design (FSD) v2.1 skill for applying the methodology to frontend projects. Feature Sliced Design is an agent skill from feature-sliced/skills.1 skill for applying the methodology to frontend projects.

When should I use Feature Sliced Design?

Feature Sliced Design fits situations like: the task involves organizing project structure with FSD layers; deciding where code belongs; placing static assets (images; grouping closely related slices.

How do I install Feature Sliced Design in Claude Code?

Run `npx skills add feature-sliced/skills --skill feature-sliced-design -a claude-code`. Or copy the skill folder (feature-sliced-design in feature-sliced/skills) into .claude/skills/feature-sliced-design in your project. Claude Code loads it when a task matches its description.

How do I install Feature Sliced Design in Codex?

Run `npx skills add feature-sliced/skills --skill feature-sliced-design -a codex`. Or copy the skill folder (feature-sliced-design in feature-sliced/skills) into .agents/skills/feature-sliced-design in your project. Codex loads it when a task matches its description.

Can I use Feature Sliced Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add feature-sliced/skills --skill feature-sliced-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/feature-sliced-design, .gemini/skills/feature-sliced-design, .github/skills/feature-sliced-design and .opencode/skills/feature-sliced-design in your project.

What does Feature Sliced Design need to run?

Going by SKILL.md and its folder, Feature Sliced Design needs the command-line tools its instructions call (npm and npx).

Does Feature Sliced Design access the network?

SKILL.md names 2 domains. As links in the text: fsd.how and github.com. This is read from the text; nothing was executed.

Is Feature Sliced Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Feature Sliced Design use?

No licence was found for Feature Sliced Design or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Feature Sliced Design use?

About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 29k tokens, read only when the agent opens those files.

What are the alternatives to Feature Sliced Design?

Skills that share tags, products or a category with Feature Sliced Design: Edgeone Makers Frameworks (TencentEdgeOne/edgeone-makers-tools, 1.9k stars), Lunora Quickstart (anolilab/lunora, 284 stars), Clerk (geekskai/blog, 103 stars) and Cometchat React V7 Patterns (cometchat/cometchat-skills, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feature Sliced Design?

feature-sliced (a GitHub organization) maintains it in feature-sliced/skills, which has 109 GitHub stars. The repository was last updated on October 7, 2026.

Source: feature-sliced/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.