Analyze Architecture

•
1
•

Analyzes project layers, dependencies, and naming conventions to prevent AI architectural violations and signature drift.

The Analyze Architecture skill empowers Claude to understand the deep structural nuances of a codebase before generating or modifying code. By mapping architectural layers, dependency graphs, and naming patterns using the Camouf tool, it ensures that AI-generated code respects existing boundaries, avoids phantom imports, and maintains consistency with established conventions. This skill is essential for developers working in complex, unfamiliar repositories who want to maintain high code quality and architectural integrity by enforcing an 'analyze first, generate second' workflow.

主な機能

01Detection of architectural layer boundaries like client, server, and shared
02Identification of existing shared types to prevent duplication
031 GitHub stars
04Extraction of project-specific naming conventions and casing patterns
05Automatic dependency graph mapping and module coupling analysis
06Layer-specific metrics for file, function, and type counts

ユースケース

01Onboarding to a large, unfamiliar codebase to understand project structure
02Planning major refactoring efforts while preserving architectural constraints
03Generating new modules or endpoints that must strictly follow existing patterns