원클릭으로
deep-dive
// Use when starting the README pipeline to extract technical facts from codebase. Identifies project type, tech stack, dependencies, entry points, CI configuration. Outputs Reality Report.
// Use when starting the README pipeline to extract technical facts from codebase. Identifies project type, tech stack, dependencies, entry points, CI configuration. Outputs Reality Report.
| name | deep-dive |
| description | Use when starting the README pipeline to extract technical facts from codebase. Identifies project type, tech stack, dependencies, entry points, CI configuration. Outputs Reality Report. |
Goal: Establish the ground truth of the codebase (what IS) before imagining what could be.
Step 0: Load Intelligence
Read references/what-to-extract.md for detailed extraction patterns.
bin, src, dist, docs).package.json, Cargo.toml, pyproject.toml).| Files Present | Likely Type |
|---|---|
bin/, shebang in main | CLI tool |
src/index.ts with exports | Library |
src/main.ts or app.ts | Application |
plugin.json, .claude-plugin/ | Plugin |
src/server.ts, app.py | API/Server |
Dockerfile only | Container |
setup.py with console_scripts | Python CLI |
Cargo.toml with [[bin]] | Rust CLI |
{
"bin": { "cmd": "./dist/cli.js" }, // CLI
"main": "./dist/index.js", // Library
"exports": { ".": "./dist/index.js" }, // Modern library
"scripts": { "start": "node server.js" } // Application
}
| File | Ecosystem |
|---|---|
package.json | Node.js/JavaScript |
requirements.txt, pyproject.toml | Python |
Cargo.toml | Rust |
go.mod | Go |
Gemfile | Ruby |
pom.xml, build.gradle | Java |
composer.json | PHP |
JavaScript/TypeScript:
react, vue, angular - Frontend frameworkexpress, fastify, koa - Backend frameworkelectron - Desktop appreact-native - Mobile appPython:
fastapi, flask, django - Web frameworkclick, typer, argparse - CLI frameworkpytorch, tensorflow - ML framework| Tool | Files |
|---|---|
| TypeScript | tsconfig.json |
| Webpack | webpack.config.js |
| Vite | vite.config.ts |
| esbuild | esbuild in scripts |
| Rollup | rollup.config.js |
| Babel | .babelrc, babel.config.js |
From package.json:
{ "engines": { "node": ">=18.0.0", "npm": ">=9.0.0" } }
From pyproject.toml:
[project]
requires-python = ">=3.10"
From Cargo.toml:
[package]
rust-version = "1.70"
Check these files:
Dockerfile - RUN apt-get install commands.github/workflows/*.yml - setup stepsMakefile - prerequisite checksINSTALL.md or docs/installation.mdCommon system deps:
libssl-dev - cryptographylibpq-dev - PostgreSQLffmpeg - media processinggraphviz - diagram generationWhat does the project export/expose?
CLI help text extraction:
program
.name('my-tool')
.description('Process files with advanced filtering')
.version('1.0.0');
Value proposition sources:
package.json description fieldBadge sources from workflows:
codecov/codecov-action - Coverage badge| Service | Config File |
|---|---|
| CircleCI | .circleci/config.yml |
| Travis | .travis.yml |
| GitLab CI | .gitlab-ci.yml |
| Jenkins | Jenkinsfile |
Source: ~/.claude/history.jsonl
Filter entries where project matches the current project path.
Repeated questions (knowledge gaps):
Problem categories:
| Pattern Found | README Implication |
|---|---|
| Repeated config questions | Detailed configuration section |
| Debugging struggles | Troubleshooting section |
| "How do I test" questions | Testing section with examples |
| Performance questions | Performance section |
| Deployment questions | Deployment guides |
# Deep Dive Findings
## Project Overview
- **Type:** [CLI/library/framework/plugin/app/API]
- **Tech Stack:** [languages, frameworks]
- **Value Proposition:** [1-2 sentence problem/solution]
- **Entry Point:** [main file/command]
## Dependencies
- **Runtime:** [Node 18+, Python 3.10+, etc.]
- **System:** [any system dependencies]
- **Dev:** [dev dependencies of note]
## Entry Points
- [file:line] - [what it does]
## CI/Automation
- **Build:** [workflow files]
- **Badge Sources:** [CI, coverage, package manager]
## User Context (from Chat History)
- **Common Struggles:** [repeated questions]
- **Decisions Made:** [key decisions from history]
- **Focus Areas:** [topics frequently discussed]
## Missing Information (Blockers)
- [ ] [List anything you need but couldn't find]
After presenting the Reality Report:
Use when determining project tone, voice, and marketing angle after deep-dive and crystal-ball phases. Conducts brainstorming session with Gemini.
Use when analysing future opportunities after deep-dive phase. Identifies performance improvements, technical debt, security hardening, and feature gaps. Outputs roadmap candidates table.
Use when writing the final README after all phases complete. Synthesises outputs from deep-dive, crystal-ball, brain-jam, and think-tank. Applies Anti-Slop style guide.
Use when researching documentation patterns after brain-jam phase. Analyses exemplar READMEs from similar high-star repositories, scores against rubric, extracts patterns.
Use when creating or updating a README. It enforces the 5-step 'Anti-Slop' pipeline and triggers the correct sub-skill for the current phase.