원클릭으로
project-analysis
Analyze project codebase structure, architecture, key files, and dependencies using scan and filesystem tools
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze project codebase structure, architecture, key files, and dependencies using scan and filesystem tools
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate Mermaid architecture diagrams showing system components, layers, and data flows
Proactively identify at-risk issues and PRs: stale items, blocked work, deadline risks, scope creep, and unassigned high-priority items
Extract common questions from closed GitHub issues and generate an FAQ document with answers
Search project notes by topic, synthesize findings into a consolidated summary with cross-references
Proactively identify information gaps in project context and generate actionable questions to surface missing requirements, unclear specifications, or documentation gaps
Generate Mermaid dependency graphs showing issue relationships, blocking chains, and critical paths
| name | project-analysis |
| description | Analyze project codebase structure, architecture, key files, and dependencies using scan and filesystem tools |
| instructions | When analyzing a project's codebase structure, understanding its architecture, or mapping key files and dependencies |
| tags | ["analysis","architecture","codebase","project-management"] |
| allowed-tools | scan_project get_project_scan read_project_file list_project_directory |
Perform comprehensive analysis of a project codebase to understand its structure, architecture, key files, and dependencies.
Activate when:
| Tool | Purpose |
|---|---|
scan_project | Scan codebase for file counts, languages, structure |
get_project_scan | Retrieve cached scan results |
read_project_file | Read specific files for deeper analysis |
list_project_directory | Explore directory structure |
Use scan_project to get a high-level overview:
If a recent scan exists, use get_project_scan to retrieve cached results instead of rescanning.
Based on scan results, identify the project type:
| Indicator | Project Type |
|---|---|
| package.json + React/Next.js | Web application |
| package.json + Express/Fastify | API server |
| Cargo.toml | Rust project |
| pyproject.toml / setup.py | Python project |
| go.mod | Go project |
| Dockerfile + docker-compose | Containerized service |
| index.ts + bin/ | CLI tool |
Use read_project_file to examine critical files:
Always check:
README.md - Project purpose and documentationpackage.json / Cargo.toml / pyproject.toml - Dependencies and metadataCheck if they exist:
tsconfig.json / vite.config.ts / webpack.config.js - Build configurationDockerfile / docker-compose.yml - Container setup.env.example - Environment variablesCONTRIBUTING.md - Development workflowUse list_project_directory to understand the directory layout:
| Pattern | Indicators |
|---|---|
| MVC | controllers/, models/, views/ directories |
| Layered | services/, repositories/, handlers/ |
| Feature-based | Feature directories with co-located files |
| Monorepo | packages/ or apps/ directories |
| Microservices | Multiple service directories with own configs |
Read the dependency file to understand:
Present analysis in this structure:
## Project Analysis: [Name]
### Overview
- **Type**: [Web app / API / CLI / Library / etc.]
- **Primary Language**: [language] (X%)
- **Secondary Languages**: [languages]
- **Total Files**: X
- **Total Lines**: X
### Architecture
- **Pattern**: [MVC / Layered / Feature-based / etc.]
- **Key Directories**:
- `src/commands/` - CLI command implementations
- `src/services/` - Business logic layer
- `src/tools/` - AI tool definitions
- `src/utils/` - Shared utilities
### Key Files
| File | Purpose |
|------|---------|
| `index.ts` | Application entry point |
| `package.json` | Dependencies and scripts |
| `tsconfig.json` | TypeScript configuration |
### Dependencies
- **Package Manager**: [npm/yarn/pnpm]
- **Runtime** (X packages): [key ones listed]
- **Development** (Y packages): [key ones listed]
### Observations
- [Notable patterns or concerns]
- [Suggested improvements]
get_project_scan or scan_projectget_project_scan first; only scan_project if no cache exists