ui-structure-lint

Community

Enforce code structure and consistency.

Authormasakinihirota
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that your project's code adheres to established directory structures, naming conventions, and import/export rules, preventing architectural drift and improving maintainability.

Core Features & Use Cases

  • Directory Structure Auditing: Verifies component and page organization against defined patterns (e.g., src/components/<page-name>/<component-name>/).
  • File Colocation & Naming: Checks for the correct placement and naming of related files (e.g., .tsx, .container.tsx, .logic.ts, .test.tsx).
  • Barrel Export Validation: Ensures index.ts files correctly re-export only necessary modules.
  • Namespace Import Enforcement: Promotes the use of namespace imports for clarity in Next.js pages.
  • Use Case: When onboarding a new developer or integrating a new feature, this skill can automatically flag any deviations from the team's agreed-upon code structure, allowing for immediate correction.

Quick Start

Run the ui-structure-lint skill to audit the current project's component directory structure.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: ui-structure-lint
Download link: https://github.com/masakinihirota/vns-masakinihirota/archive/main.zip#ui-structure-lint

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.