agentsclimarketplace

Fsd scaffold

Skill dkmqflx/claude-tools/.claude/skills/fsd-scaffold

Install
npx -y skills add dkmqflx/claude-tools --skill fsd-scaffold

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Scaffold FSD (Feature-Sliced Design) folder structure and files when writing code for a Next.js project. Use when the user asks to implement a new feature or entity — creates missing directories and files following FSD conventions before writing any code.

SKILL.md

2.0 KB, 423 tokens by cl100k_base, as published. Nobody here has run it

FSD Scaffold

When asked to write code for a feature or entity, check if the slice exists first — scaffold any missing structure before implementing.

Slice Structure

src/[entities|features]/<slice-name>/
├── api/
│   ├── service.ts
│   ├── query.ts
│   └── actions.ts  (features only)
├── model/
│   └── dto.ts
├── ui/
│   ├── ComponentName.tsx
│   └── index.ts    ← barrel file, re-exports all ui components
├── types/
├── constants/
└── index.ts        ← barrel file, re-exports the slice's public API

Layer Rules

  • entities/ — read-only domain data (fetching only, no mutations)
  • features/ — user interactions that mutate data (requires actions.ts)

Process

1. Check existing structure

Use find or ls to check whether src/entities/<name>/ or src/features/<name>/ already exists.

2. Determine the layer

  • GET only → entities/
  • PATCH / POST / PUT / DELETE → features/

3. Scaffold missing directories and files

Create only what is needed for the current task. Always create index.ts to export the slice's public API.

4. Read conventions before writing each file type

Before creating any file, read the relevant convention file:

File being createdConvention file to read
api/service.ts, api/query.ts, api/actions.tsapi.md
model/dto.tsmodel.md
test/*.test.ts(x)test.md

5. Implement the requested code

Follow the loaded conventions exactly.

What ships with it: 3 files

5.8 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,970. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.