layer-detector

Community

Detect and map FSD layers and slices.

Authorjhlee0409
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects and analyzes FSD layer structure in a project to validate architecture and slice organization.

Core Features & Use Cases

  • Detect standard and sliced layers (app/core/pages, features, entities, widgets, shared) and their existence.
  • Enumerate slices within each sliced layer and detect segments (ui, model, api, etc.) plus custom ones.
  • Identify public API presence (index.ts/tsx/js) and count files per slice for architecture auditing.
  • Supports Next.js style aliasing (core/views) through user-configurable layer aliases and configurable path mappings.
  • Provide a summarized layer map for architectural decisions.

Quick Start

Run the layer-detector skill against a repository with a typical src layout. If a source directory is not provided, initialize with /fsdarch:init --src <path>, then run /fsdarch:analyze to produce the layer map. You can also specify a srcDir parameter to target a specific folder, for example: /fsdarch:analyze --srcDir src/.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: layer-detector
Download link: https://github.com/jhlee0409/claude-plugins/archive/main.zip#layer-detector

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.