用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill generate-map命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | generate-map |
| description | Analyze codebase and generate a comprehensive project-map.md overview |
| argument-hint | [--force] |
You are generating a comprehensive .claude/project-map.md file for this codebase.
Analyze the entire codebase and create a clear, concise project map that a new developer can read in a few minutes to understand the system.
Scan the codebase structure
Identify the tech stack
Map the project structure
Document the API surface (if applicable)
Document the database (if applicable)
Document the frontend (if applicable)
Document infrastructure
Document testing
Create/overwrite .claude/project-map.md with this structure:
# Project Map
> Auto-generated overview of the codebase. Last updated: [date]
## Tech Stack
- **Backend:** [framework, language, version]
- **Frontend:** [framework, language, version]
- **Database:** [type, version]
- **Infrastructure:** [Docker, etc.]
- **Key Libraries:** [list]
## Project Structure
/ ├── backend/ # [description] ├── frontend/ # [description] ├── ...
## API Surface
### [Domain 1]
- `GET /api/...` - [description]
- `POST /api/...` - [description]
### [Domain 2]
...
## Database Schema
Main entities:
- **Entity1** - [description, key fields]
- **Entity2** - [description, key fields]
Relationships: [brief description]
## Frontend Architecture
Main routes:
- `/` - [description]
- `/dashboard` - [description]
Key components: [list]
## Infrastructure
### Local Development
```bash
# Commands to run the project
| Service | Port | Description |
|---|---|---|
| ... | ... | ... |
| Variable | Purpose | Required |
|---|---|---|
| ... | ... | ... |
[command]
## Guidelines
- Keep it concise - aim for a document readable in 5 minutes
- Use bullet points and tables
- Link to detailed docs rather than copying content
- Remove any sections that don't apply
- Be accurate - verify information from actual files
## After Generation
Report to the user:
- Summary of what was documented
- Any areas that need manual review
- Suggestions for missing documentation