一键导入
sh-index-repo
Generate compressed project map for token-efficient codebase understanding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate compressed project map for token-efficient codebase understanding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-expert AI/ML specification review with scoring gate — model architecture, evaluation rigor, safety/alignment, and production readiness for AI systems and LLM apps
Multi-expert architecture review — boundaries, integration patterns, failure modes, evolvability
Multi-expert business analysis with advisory recommendations (no scoring gate)
Multi-expert intelligence pipeline review — discovery quality, ingestion resilience, scoring validity, platform compliance, taxonomy coherence, cost efficiency
Multi-expert mobile/native app specification review with scoring gate — Android, iOS, Swift, SwiftUI
Multi-expert personal-development review with scoring gate — learnability, adoption, human-centeredness, and capability impact for talent/learning/AI-augmentation designs
| name | sh-index-repo |
| description | Generate compressed project map for token-efficient codebase understanding |
Generate a compressed project index that captures structure, entry points, and key modules. Dramatically reduces tokens needed to understand a codebase in future sessions.
Parallel file discovery across categories:
src/**/*.{py,ts,js,go,rs}, lib/**/*, app/**/**.toml, *.yaml, *.json (exclude lockfiles, node_modules)tests/**/*, **/*.test.*, **/*.spec.*scripts/**/*, bin/**/*, Makefile, *.sh, *.ps1*.md, docs/**/*For each category:
Output PROJECT_INDEX.md:
# Project Index: {name}
Generated: {date}
## Structure
{tree view, 2-3 levels deep}
## Entry Points
- {path}: {what it does}
## Core Modules
### {module}
- Path: {path}
- Purpose: {one line}
- Key exports: {list}
## Configuration
- {file}: {purpose}
## Test Coverage
- {count} test files across {categories}
## Dependencies
- {key dep}: {why it's used}
## Quick Start
1. {setup}
2. {run}
3. {test}
| Mode | Scope |
|---|---|
| full | Complete index with all categories |
| quick | Structure + entry points only (skip tests/docs) |
| update | Refresh existing index with changes since last generation |
Will: Analyze repo structure, generate compressed index, identify key components. Will not: Modify code, restructure directories, or create documentation beyond the index.
Read PROJECT_INDEX.md at session start instead of scanning the full codebase.