fsd-check

Check Feature-Sliced Design compliance for import direction, isolation, and barrel exports.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/SandroBeatz/layrix --skill fsd-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fsd-check
Source: https://github.com/SandroBeatz/layrix/tree/main/.claude/skills/fsd-check
Command: npx skills add https://github.com/SandroBeatz/layrix --skill fsd-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The fsd-check skill helps developers maintain the integrity of their Feature-Sliced Design architecture by scanning for violations and missing components.

Core Features & Use Cases

  • Quick Compliance Check: Offers a fast health check for common FSD architecture issues.
  • Automated Scanning: Scans for import direction violations, Quasar isolation breaches, and missing barrel exports.
  • Use Case: Before pushing code to the main branch, run this skill to ensure all architectural rules are followed.

Quick Start

Use the fsd-check skill to validate your FSD architecture with the command 'fsd-check run'.

Frequently Asked Questions about fsd-check

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

FAQPage Schema
How do I check Feature-Sliced Design architecture compliance in a Vue project?

To check Feature-Sliced Design compliance, run an automated scan that validates import direction, module isolation, and barrel exports. This skill uses file pattern matching to detect structural violations, ensuring your Vue/Quasar codebase adheres to FSD rules during code reviews.

What is Feature-Sliced Design import direction validation?

Feature-Sliced Design import direction validation is an automated process that scans your codebase to ensure modules only import from lower-level slices. It enforces architectural isolation and checks for correct barrel exports, preventing cross-layer dependencies that break the FSD structural pattern.

Can I use this architecture check with the Quasar Framework?

Yes, you can use this architecture check with the Quasar Framework. The compliance scan specifically targets Quasar isolation breaches, ensuring that your Vue components and modules maintain correct Feature-Sliced Design boundaries and import directions within the Quasar environment.

How do I validate FSD barrel exports and isolation before a code review?

To validate FSD barrel exports and isolation before a code review, execute a quick health check command. The automated scan identifies missing barrel exports and cross-layer import violations, allowing you to resolve architectural issues before pushing code to the main branch.

What are common Feature-Sliced Design violations in a Vue codebase?

Common Feature-Sliced Design violations in a Vue codebase include incorrect import directions across layers, breaches in Quasar module isolation, and missing barrel exports. An automated compliance scan detects these structural issues to maintain strict architectural boundaries.