rcode-document-projectlisted
Install: claude install-skill hanzlahabib/rcode
@.rcode/references/karpathy-guidelines.md
## Overview
Analyze an existing codebase and produce documentation for both human and LLM consumption (brownfield analysis).
## Workflow
Follow the instructions in ./workflow.md.
## Output Format
- Produces multi-file documentation: README summary, ARCHITECTURE.md, CONVENTIONS.md, project-context.md
- Scans code to detect actual patterns (not what docs claim)
- Do NOT fabricate patterns not present in code
- Do NOT skip sections — if data is missing, flag it explicitly
## Examples
### Happy Path
**Input:** "Document this repo"
**Expected behavior:** Scan repo structure, detect stack, identify patterns, produce multi-file docs with actual findings.
### Edge Case: Inconsistent Patterns
**Input:** (codebase has multiple competing patterns)
**Expected behavior:** Document each pattern with location and flag the inconsistency for the team to resolve.