project-analyze
扫描代码库以生成架构文档(ARCHITECTURE.md)。在加入现有项目、理解代码库结构、探索项目架构或准备agent-foreman初始化时使用。触发词包括'analyze project'(分析项目)、'understand codebase'(理解代码库)、'explore architecture'(探索架构)、'scan project structure'(扫描项目结构)、'survey project'(调研项目)。
📖 中文导读:扫描代码库以生成架构文档(ARCHITECTURE.md)。在加入现有项目、理解代码库结构、探索项目架构或准备agent-foreman初始化时使用。触发词包括'analyze project'(分析项目)、'understand codebase'(理解代码库)、'explore architecture'(探索架构)、'scan project structure'(扫描项目结构)、'survey project'(调研项目)。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: project-analyze description: Scans codebases to generate architecture documentation (ARCHITECTURE.md). Use when joining an existing project, understanding codebase structure, exploring project architecture, or preparing for agent-foreman init. Triggers on 'analyze project', 'understand codebase', 'explore architecture', 'scan project structure', 'survey project'. allowed-tools: [Bash, Read, Glob, Grep] user-invocable: true
🔍 Project Analyze
One command: agent-foreman init --analyze
Quick Start
agent-foreman init --analyze
Output: docs/ARCHITECTURE.md
Options
| Flag | Effect |
|---|---|
--analyze-output ./path/FILE.md |
Custom output path |
--verbose |
Show detailed progress |
Use When
- Joining existing project → understand before changing
- Before
agent-foreman init→ faster initialization
Skip When
- New/empty project → use
agent-foreman initdirectly
Read-Only
No code changes. No commits. Safe to run anytime.