一键导入
project-analyzer
Analyzes full project structure, dependencies, architecture patterns, and generates comprehensive reports
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyzes full project structure, dependencies, architecture patterns, and generates comprehensive reports
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | project-analyzer |
| description | Analyzes full project structure, dependencies, architecture patterns, and generates comprehensive reports |
| version | 1.0.0 |
| author | go-on-team |
| tags | ["analysis","architecture","dependencies","project","documentation","refactoring"] |
| min_go_on_version | 1.0.0 |
Performs deep analysis of a project's structure, dependency graph, architecture patterns, code quality metrics, and generates comprehensive reports. Helps developers understand codebase health, identify technical debt, and plan refactoring efforts.
| Parameter | Type | Description |
|---|---|---|
directory | string | Root directory of the project to analyze |
depth | integer | Directory traversal depth (default: 5, max: 20) |
include_patterns | array | Optional glob patterns to include (e.g. ["**/*.rs", "**/*.py"]) |
exclude_patterns | array | Optional glob patterns to exclude (e.g. ["**/node_modules/**"]) |
analyze_deps | boolean | Whether to parse and analyze dependency files (default: true) |
output_format | string | Report format: "json" or "markdown" (default: "json") |
{
"directory": "/home/user/projects/my-app",
"depth": 5,
"exclude_patterns": ["**/node_modules/**", "**/target/**", "**/.git/**"],
"analyze_deps": true,
"output_format": "json"
}
Example output (abbreviated):
{
"project_name": "my-app",
"language": "Rust",
"total_files": 156,
"total_lines": 28450,
"languages": {
"Rust": {"files": 98, "lines": 22100},
"TypeScript": {"files": 34, "lines": 5200},
"Markdown": {"files": 24, "lines": 1150}
},
"dependencies": {
"direct": 42,
"transitive": 156,
"outdated": 3,
"vulnerable": 1
},
"architecture": {
"pattern": "layered",
"layers": ["presentation", "domain", "infrastructure"],
"circular_deps": 0
}
}
Analyzes project structure, module dependencies, imports, and entry points to generate architecture diagrams in Mermaid format
Analyzes ETL and data pipeline code for optimization opportunities across Python (Pandas, PySpark), Rust (polars, datafusion), SQL, and general pipeline descriptions
Validates environment variable configurations and config files (YAML, TOML, JSON, .env) for missing required variables, type mismatches, deprecated keys, naming convention violations, secret exposure risks, and invalid value ranges
Analyzes code for performance bottlenecks including N+1 queries, O(n^2) or worse algorithms, unnecessary allocations, sync I/O in async contexts, excessive cloning, missing caching opportunities, and large payload transfers. Supports Rust, Python, TypeScript, and Go.
Analyzes, improves, and restructures LLM prompts for clarity, efficiency, and reliability
Analyzes source code for common security vulnerabilities including SQL injection, XSS, command injection, hardcoded secrets, insecure deserialization, path traversal, and SSRF