From claudikins-grfp
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.
npx claudepluginhub elb-pr/claudikins-marketplace --plugin claudikins-grfpThis skill uses the workspace's default tool permissions.
**Goal:** Establish the ground truth of the codebase (what IS) before imagining what could be.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
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: