Perchusha/docs-rag-lab
Local RAG over the TypeScript and React docs: hybrid search, a retrieval inspector, answers from Claude with citations. Pre-registered evals with a calibrated LLM judge: RAG beat Claude's memory 9/10 to 2/10 on the newest React pages. Next.
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
GUARDRAILS
3/5
Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit Perchusha/docs-rag-lab/.claude ./rig-docs-rag-lab # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit Perchusha/docs-rag-lab/.claude/skills/add-source .claude/skills/add-source $ npx degit Perchusha/docs-rag-lab/.claude/skills/write-eval-questions .claude/skills/write-eval-questions
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/Perchusha/docs-rag-lab/main/.claude/agents/code-reviewer.md Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Read(/**/.env)",
"Read(/**/.env.local)",
"Read(/**/.env.*.local)",
"Read(/**/.env.development)",
"Read(/**/.env.production)",
"Read(/**/.env.test)",
"Edit(/data/**)",
"Edit(/.cache/**)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Read|Edit|Write|MultiEdit|NotebookEdit|Grep|Glob|Bash|PowerShell",
"hooks": [
{
"type": "command",
"command": "node"
}
]
}
]
}
} Skills (2)
Subagents (1)
| code-reviewer | Fresh-context review of the current branch against the architecture boundaries, ADRs, tests and the definition of done. Use before committing a milestone, or when asked to review changes. |
Hooks (3)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Read|Edit|Write|MultiEdit|NotebookEdit|Grep|Glob|Bash|PowerShell | node |
| PostToolUse | Edit|Write|MultiEdit | node |
| Stop | * | node |
Permissions
deny (8)
Read(/**/.env)
Read(/**/.env.local)
Read(/**/.env.*.local)
Read(/**/.env.development)
Read(/**/.env.production)
Read(/**/.env.test)
Edit(/data/**)
Edit(/.cache/**)
ask (0)
—
allow (0)
—
Similar rigs
AVGVSTVS96/commonplace
Your personal data kit for agents. A commonplace book for the age of agents.
Minimalist 416 tok · · Q3
AlejoPH03/roundtrip-travel-app
Social travel app prototype: friends' trips on a 3D globe, trusted recommendations and group trip planning. Vanilla JS, no build step.
Minimalist 1.6k tok · · Q3
berni23/laight
Run teams of coding agents in tmux from YAML workflows, with one queue for every human decision.
Pragmatist 8.3k tok · · Q35
lgamorim/claude-rules
Opinionated Claude Code rules for .NET and C# with conventions, architecture guidance, and guardrails for idiomatic, production-ready code.
Pragmatist 4.2k tok · · Q3