fsd-check — community fsd-check, article-space, community, ide skills

v1.0.0

About this Skill

Perfect for Code Analysis Agents needing Feature-Sliced Design architecture compliance validation. Validate Feature-Sliced Design architecture compliance. Checks layer imports, public API usage, and cross-slice violations. Use when asked to check FSD, validate architecture, check imports, or FSD au

riedel28 riedel28
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 9/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
9/11
Quality Score
59
Canonical Locale
en
Detected Body Locale
en

Perfect for Code Analysis Agents needing Feature-Sliced Design architecture compliance validation. Validate Feature-Sliced Design architecture compliance. Checks layer imports, public API usage, and cross-slice violations. Use when asked to check FSD, validate architecture, check imports, or FSD au

Core Value

Empowers agents to enforce strict FSD methodology compliance, ensuring layer imports, public API usage, and cross-slice violations are properly checked, utilizing absolute imports with `@/*` alias and validating against a predefined layer hierarchy.

Ideal Agent Persona

Perfect for Code Analysis Agents needing Feature-Sliced Design architecture compliance validation.

Capabilities Granted for fsd-check

Validating layer import violations in FSD architecture
Enforcing public API usage through `index.ts`
Detecting cross-slice violations within the same layer

! Prerequisites & Limits

  • Requires adherence to strict FSD methodology
  • Limited to projects with a predefined layer hierarchy
  • Needs proper configuration of absolute imports with `@/*` alias

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is fsd-check?

Perfect for Code Analysis Agents needing Feature-Sliced Design architecture compliance validation. Validate Feature-Sliced Design architecture compliance. Checks layer imports, public API usage, and cross-slice violations. Use when asked to check FSD, validate architecture, check imports, or FSD au

How do I install fsd-check?

Run the command: npx killer-skills add riedel28/article-space/fsd-check. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for fsd-check?

Key use cases include: Validating layer import violations in FSD architecture, Enforcing public API usage through `index.ts`, Detecting cross-slice violations within the same layer.

Which IDEs are compatible with fsd-check?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for fsd-check?

Requires adherence to strict FSD methodology. Limited to projects with a predefined layer hierarchy. Needs proper configuration of absolute imports with `@/*` alias.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add riedel28/article-space/fsd-check. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use fsd-check immediately in the current project.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

fsd-check

Install fsd-check, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

FSD Architecture Checker

Validates Feature-Sliced Design compliance for this codebase.

FSD Layer Hierarchy

The project follows strict FSD methodology:

app → pages → widgets → features → entities → shared

Rules:

  • Layers can ONLY import from layers below them
  • No cross-imports within the same layer (features cannot import other features)
  • All imports must go through public API (index.ts)
  • Use absolute imports with @/* alias

Checks Performed

1. Layer Import Violations

Check that imports respect the hierarchy:

  • app can import: pages, widgets, features, entities, shared
  • pages can import: widgets, features, entities, shared
  • widgets can import: features, entities, shared
  • features can import: entities, shared
  • entities can import: shared, other entities (same layer allowed)
  • shared can only import: shared

2. Public API Violations

All imports from entities, features, pages, widgets must go through index.ts

typescript
1// CORRECT 2import { Article } from '@/entities/Article'; 3 4// WRONG - bypasses public API 5import { Article } from '@/entities/Article/model/types';

3. Cross-Slice Violations

Within the same layer, slices should not import each other directly:

typescript
1// In features/AuthByUsername - WRONG 2import { something } from '@/features/AnotherFeature';

4. Missing Public API

Check if slices have proper index.ts exports.

How to Run Checks

Option A: Run ESLint FSD Rules

bash
1npx eslint "src/**/*.{ts,tsx}" --rule 'ulbi-tv-plugin/layer-imports: error' --rule 'ulbi-tv-plugin/public-api-imports: error' --rule 'ulbi-tv-plugin/path-checker: error'

Option B: Manual Analysis

  1. Use Grep to find problematic import patterns
  2. Check specific layers or slices

Analysis Workflow

When user invokes /fsd-check:

  1. If argument provided (e.g., /fsd-check features):

    • Focus analysis on that specific layer or path
    • Run targeted checks
  2. If no argument:

    • Ask user what to check: full codebase, specific layer, or specific slice
    • Or run quick overview of all layers
  3. For each check:

    • Search for violation patterns using Grep
    • Report findings in format: file:line - violation description
  4. Output summary:

    • Total violations by category
    • Most problematic files/slices
    • Suggested fixes

Layer violations (Grep patterns)

# Features importing from pages/widgets
path: src/features/
pattern: from ['"]@/(pages|widgets)/

# Entities importing from features/pages/widgets
path: src/entities/
pattern: from ['"]@/(features|pages|widgets)/

# Shared importing from any other layer
path: src/shared/
pattern: from ['"]@/(entities|features|pages|widgets|app)/

Public API violations

# Deep imports into slices (more than 2 segments after @/)
pattern: from ['"]@/(entities|features|pages|widgets)/[^'"]+/[^'"]+

Cross-slice violations

# Feature importing another feature (check current file path vs import)
# This requires analyzing file location context

Output Format

Report findings as:

## FSD Violations Found

### Layer Import Violations (X found)
- `src/features/Auth/ui/LoginForm.tsx:15` - features cannot import from widgets
- `src/entities/User/model/slice.ts:3` - entities cannot import from features

### Public API Violations (X found)
- `src/widgets/Sidebar/ui/Sidebar.tsx:8` - import should be `@/entities/User` not `@/entities/User/model/types`

### Cross-Slice Violations (X found)
- `src/features/Auth/ui/Form.tsx:12` - feature should not import from another feature

### Summary
- Total: X violations
- Critical: X (layer violations)
- Fixable: X (public API - has autofix via ESLint)

Quick Commands

For the user's reference:

bash
1# Run all FSD ESLint rules 2npm run lint:ts -- --rule 'ulbi-tv-plugin/layer-imports: error' 3 4# Check specific layer 5npx eslint "src/features/**/*.{ts,tsx}" --rule 'ulbi-tv-plugin/layer-imports: error' 6 7# Auto-fix public API imports 8npx eslint "src/**/*.{ts,tsx}" --rule 'ulbi-tv-plugin/public-api-imports: error' --fix

Related Skills

Looking for an alternative to fsd-check or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer