analyze-project-architecture
LLM-based architectural analysis that transforms raw project data into meaningful structure
npx skills add majiayu000/claude-skill-registry --skill analyze-project-architecture --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Transforms raw project data into a structured architectural view by discovering modules, enriching descriptions from documentation, and persisting enriched data for consumption.
How it works
- Discovery: Run extension API discovery via the script suggested:
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture discover --force- Output:
.plan/project-architecture/derived-data.json(overwrites existing data).
- Step 2 initializes an enrichment file depending on existence of
llm-enriched.jsonusing:python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture initorarchitecture init --checkto see if enrichment exists, with user prompting to replace or skip.
- Step 3 loads discovered data in TOON format via:
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture derived.
- Step 4 enriches project description from README and module descriptions by:
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture enrich project --description "{extracted project description}" --reasoning "{source: README.md introduction | inferred from module names | pom.xml description}".
- Step 5 collects module list via:
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture modules.
- Step 6 enriches each module through 6a–6e, including reading module docs, determining purpose, writing module responsibility with reasoning, identifying key packages and dependencies, and assigning skills by profile with optional documentation profiling.
- Step 6e.3–6e.5 cover retrieving skills by domain, filtering based on module signals, and applying skills-by-profile including documentation as a separate profile when docs exist.
When to use it
Use when you need an LLN-based architectural analysis that converts raw module data into a structured, enriched description suitable for a solution-outline.
What it can touch
No specific touches are listed beyond the script-driven orchestration in the steps. The scripts reference modules, derived-data.json, llm-enriched.json, README.md, pom.xml, and package-info as sources for enrichment. The allowed-tools are Read, Write, Edit, Glob, Grep, Bash.
Caveats
License is MIT. The workflow requires user prompts in Step 2 when enrichment already exists and Step 1.5 only applies for Maven unless skipped. No outcomes are promised beyond the described steps and outputs. The skill enforces execution in sequence and does not skip modules without enrichment. All reasoning and descriptions are anchored to provided source material (README, module descriptions, derived data).
# Analyze Project Architecture Skill ## Enforcement Rules **EXECUTION MODE**: Execute this skill immediately. Do not explain, summarize, or discuss these instructions. ### Script Execution 1. Run scripts EXACTLY as documented - no improvisation 2. All scripts use: `python3 .plan/execute-script.py {notation} ...` ### Workflow Behavior 1. Complete all steps in sequence 2. After each module enrichment → proceed to next module 3. Only stop when all modules are enriched ### Prohibited Actions - Skipping modules without enrichment - Leaving `responsibility` or `key_packages` empty - Omitting `--reasoning` parameters (traceability is required) - Summarizing what you're about to do instead of doing it --- ## What This Skill Provides **Discovery**: Run extension API to collect raw module data **Enrichment**: LLM analyzes documentation and code to add semantic understanding **Persistence**: Store enriched data for solution-outline consumption --- ## Scripts | Script | Notation | Purpose | |--------|----------|---------| | architecture | `plan-marshall:analyze-project-architecture:architecture` | Main CLI for all operations | ### Command Groups | Group | API | Purpose | |-------|-----|-------
- Enforcement Rules
- Script Execution
- Workflow Behavior
- Prohibited Actions
- What This Skill Provides
- Scripts
- Command Groups
- Step 1: Discover Modules
- Step 1.5: Review Build Profiles (Maven Only)
- Step 2: Initialize Enrichment File
- Step 3: Load Discovered Data
- Step 4: Enrich Project Description
- Step 5: Get Module List
- Step 6: Enrich Each Module
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture discover --force
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture init --check
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture init
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture derived
Read {readme path from derived output}
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture \
enrich project --description "{extracted project description}" \
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture modules
python3 .plan/execute-script.py plan-marshall:analyze-project-architecture:architecture derived-module --name {module-name}
Read {paths.readme}What does the analyze-project-architecture skill do?
LLM-based architectural analysis that transforms raw project data into meaningful structure
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill analyze-project-architecture --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
