From vibe-doc
This skill should be used when the user mentions "scan my project", "check my documentation", "run vibe doc", "what docs am I missing", "documentation gaps", "doc coverage", or wants to analyze their codebase for missing technical documentation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vibe-doc:scanThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Conversational pipeline to scan a project, classify its type, and produce a documentation gap report.
Conversational pipeline to scan a project, classify its type, and produce a documentation gap report.
Shared behavior: Read skills/guide/SKILL.md for state management, CLI patterns, checkpoints, and output formatting.
Greet the user and present two paths:
Welcome to Vibe Doc. I'll scan your project's artifacts, classify your app,
and show you what documentation you need.
How would you like to start?
1. Add project context first (4-6 questions, ~5 min)
→ Helps me understand your goals, users, and deployment target
2. Start scanning now (no questions)
→ I'll analyze your artifacts and infer everything I can
User chooses:
If user chooses context, run a focused interview. Max 6 questions. Save answers to a temporary profile that will seed the classification step.
Questions to ask (in this order):
After collecting answers:
Got it. Here's what I heard:
- Project: [name]
- Purpose: [type]
- Deployment: [target]
- Users: [internal/customers/public] + [compliance]
- Architecture: [style]
I'll use this context when scanning your artifacts.
Save this profile. Then proceed to step 3 (Run Scan).
Execute the scan command:
cd <project-path> && npx vibe-doc scan .
If scan succeeds:
.vibe-doc/state.jsonIf scan fails:
After successful scan, show the classification:
Classification Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Primary Category: Web Application
Secondary Categories: Customer-Facing, Multi-Tenant
Deployment Context: Regulated (HIPAA), Cloud (AWS)
Confidence: 94%
Checkpoint: Ask user to confirm or revise
Does this match your project?
[yes] → Proceed to gap report
[no] → Let me ask follow-up questions
[revise] → I'll adjust manually
Show gap summary with Required/Recommended/Optional breakdown:
Documentation Gap Report
━━━━━━━━━━━━━━━━━━━━━━━━
Required Tier (Deployment Blockers): 1 of 4 exist (25%)
Recommended Tier (Should Do): 1 of 4 exist (25%)
Optional Tier (Nice to Have): 0 of 3 exist (0%)
Overall Coverage: 28% (2 of 7 critical docs)
Key Risks:
⚠ No threat model — required before HIPAA submission
⚠ No runbook — operational procedures missing
Checkpoint: Ask how to proceed
[walkthrough] → Go through gaps one at a time
[generate] → Pick which gaps to fill now
[check] → Run CI validation
[exit] → Save and come back later
If user chooses "walkthrough", process gaps tier by tier, starting with Required.
For each gap:
After a successful scan, update the plugins.vibe-doc namespace in ~/.claude/profiles/builder.json — but only if the file already exists (another plugin like Vibe Cartographer creates it during onboarding).
~/.claude/profiles/builder.json. If it doesn't exist or isn't valid JSON, skip this step entirely.plugins.vibe-doc block, never touch shared or other plugin namespaces.{
"plugins": {
"vibe-doc": {
"last_scan_project": "<project name> — <one-line description from classification>",
"scans_completed": <increment previous value by 1, or 1 if first run>,
"last_scan_category": "<primaryCategory from classification>",
"last_updated": "<today's ISO date>"
}
}
}
plugins.vibe-doc that aren't listed above (e.g., preferred_tier, default_output_format from a previous generate run).Scan Complete ✓
Your project: Web Application (Customer-Facing, Regulated)
Artifacts: 28 found
Coverage: 28% of required docs
Risk: High (missing Threat Model, Runbook)
Next: Generate required docs or save and return later?
If the CLI command errors:
Scan failed: [error]
Common causes:
1. Folder isn't readable (permissions)
2. Not a valid project (missing package.json, git repo)
3. Git history corrupted or too large
Next steps:
→ Check folder is valid project root
→ Try again
→ Or skip git analysis for code-only scan
If multiple categories match equally:
I found signals for both "API/Microservice" and "Web Application".
Which is primary for deployment?
[api] → API is primary (frontend is secondary)
[web] → Web app is primary (API is backend)
Saved to .vibe-doc/state.json:
User sees:
Last updated: 2026-04-11 | Version: 1.0
npx claudepluginhub estevanhernandez-stack-ed/vibe-doc --plugin vibe-docScans workspace for docs (READMEs, docs/, ADRs, API specs), assesses accuracy/freshness/completeness/discoverability, identifies gaps/risks. For doc audits.
Documentation reconnaissance for takeover — find all docs, assess accuracy, freshness, coverage, and discoverability, and identify critical knowledge gaps. Use when asked "what docs exist", "documentation assessment", or "knowledge gaps".
Scans codebase to update CLAUDE.md and AGENTS.md with production-quality docs on stack, structure, models, APIs, services, repositories, auth, and frontend.