AgentSkillsCN

analyze-architecture

梳理代码仓库的结构、技术栈,以及关键入口点。无论是新手上手,还是深入理解陌生代码库,此技能都能为你提供清晰的脉络与全面的洞察。

SKILL.md
--- frontmatter
name: analyze-architecture
description: "Map repository structure, tech stack, and entry points. Use for onboarding or understanding unfamiliar codebases."

Analyze Architecture

Map codebase structure using the repo-architecture-scanner agent.

What It Produces

  • Directory structure and purpose
  • Technology stack (languages, frameworks)
  • Entry points (CLI, servers, jobs)
  • Core vs peripheral modules
  • Architectural patterns detected

When to Use

  • "How is this project organized?"
  • "What tech stack is used?"
  • "Where are the entry points?"
  • "What design patterns are used?"

Output

code
### Executive Summary
[2-3 sentences]

### Tech Stack
| Category | Technologies |

### Directory Map
| Directory | Purpose | Coupling |

### Entry Points
| Type | File | Purpose |

### Architectural Pattern
- Pattern: [name]
- Confidence: High/Medium/Low
- Evidence: [observations]

Agent

Use subagent_type: repo-architecture-scanner