From code-quality
Generate a PROJECT_INDEX.md for token-efficient codebase orientation. Use when starting work on an unfamiliar repo, when agents need project context without reading the full codebase, or when asked to "index the repo", "create a project index", "map the codebase".
npx claudepluginhub wgordon17/personal-claude-marketplace --plugin code-qualityThis skill is limited to using the following tools:
Generate a compact PROJECT_INDEX.md (~3K tokens) that gives any agent full project orientation
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Generate a compact PROJECT_INDEX.md (~3K tokens) that gives any agent full project orientation without reading the entire codebase (~50-60K tokens).
Run 5 parallel Glob searches:
src/**/*.{ts,py,js,tsx,jsx,go,rs}, lib/**/*.{ts,py,js}docs/**/*.md, *.md (root level)*.toml, *.yaml, *.yml, *.json (exclude lock files, node_modules)tests/**/*, **/*.test.*, **/*.spec.*scripts/**/*, bin/**/*, MakefileFor each file category, identify:
Determine output location: detect the project memory directory using the convention in
code-quality/references/project-memory-reference.md (Directory Detection section).
Write there. Fall back to project root only if none exists.
# Project Index: {project_name}
Generated: {timestamp}
## Project Structure
{tree view of main directories, 2 levels deep}
## Entry Points
- CLI: {path} — {description}
- API: {path} — {description}
- Tests: {path} — {description}
## Core Modules
### {module_name}
- Path: {path}
- Purpose: {1-line description}
- Key exports: {list}
## Configuration
- {config_file}: {purpose}
## Build & Test
- Build: {command}
- Test: {command}
- Lint: {command}
## Key Dependencies
- {dependency}: {version} — {purpose}
## Documentation
- {doc_file}: {topic}
Full index (default): Analyze everything, write PROJECT_INDEX.md Update: Re-read existing PROJECT_INDEX.md, update only changed sections Quick: Skip tests and docs, index only code structure and entry points
Creates PROJECT_INDEX.md in the project memory directory (detected per
code-quality/references/project-memory-reference.md) or project root if none exists (~3K tokens, human-readable).