structure-check

Validate project structure by detecting metasaver.projectType and reporting violations with fix suggestions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/metasaver/claude-marketplace --skill structure-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: structure-check
Source: https://github.com/metasaver/claude-marketplace/tree/main/plugins/metasaver-core/skills/cross-cutting/structure-check
Command: npx skills add https://github.com/metasaver/claude-marketplace --skill structure-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validates repository structure against domain-specific patterns to catch misplacements early.

Core Features & Use Cases

  • Type-aware rules: React app, database, and contracts structures.
  • Violation reporting: Highlights path-level misplacements with suggested fixes.
  • Automated consistency: Helps maintain domain alignment across monorepos.

Quick Start

Run structure-check after file changes to verify alignment with domain patterns.

Frequently Asked Questions about structure-check

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

FAQPage Schema
How do I validate project structure in a monorepo?

Project structure validation detects your package type from package.json, applies domain-specific rules for React apps, databases, and contracts packages, then scans file paths to report violations with fix suggestions. Run structure-check during Standards Audit to catch misplacements early across monorepo packages.

What file path violations does structure validation catch?

Structure validation identifies when files are placed in wrong directories for their package type—React components outside src/, database migrations in incorrect paths, or contract definitions mislocated. Each violation includes the file path, description, and suggested fix to align with domain patterns.

Can I use structure validation when refactoring or changing package types?

Yes. Structure validation applies to new project bootstrap, refactors, migrations, and package-type changes. It detects your current metasaver.projectType and loads appropriate rules, making it effective for verifying alignment after structural changes across web-standalone, database, and contracts packages.

What does structure validation output?

Structure validation returns a STRUCTURE AUDIT report with the package name, Package Type, a PASS/FAIL verdict, and detailed violation entries. Each violation entry includes descriptions of rule breaches and suggested fixes to restore domain alignment.

When should I run structure validation in my workflow?

Run structure-check after file changes and during Standards Audit phases to verify alignment with domain patterns. This catches misplacements early, maintains consistency across monorepo packages, and prevents structural debt in React apps, databases, and contracts packages.