Research & Context

/github-research

Use when auditing an UNFAMILIAR codebase for the first time — architecture mapping, undocumented features, configuration gaps. NOT for catching up on your own branch (use catchup). Always searches BrainLayer first before touching files.

$ golems-cli skills install github-research
Experimental
100% best pass rate
9 assertions
3 evals

Updated 2 weeks ago

Use when auditing an unfamiliar codebase for the first time — architecture mapping, undocumented features, configuration gaps. NOT for catching up on your own branch (use catchup for that). BrainLayer first — check memory before reading files.

Step 0: BrainLayer First

brain_search("<repo-name> architecture")
brain_search("<repo-name> patterns decisions")
brain_entity("<repo-name>")

If BrainLayer has it → start from what you know, fill gaps only. If not → proceed to Phase 1.

Phase 1: Structure Discovery

# Directory tree (2 levels, ignore noise)
tree -L 2 -I 'node_modules|.git|dist|build|.next' .
 
# Config files
find . -maxdepth 2 \( -name "*.json" -o -name "*.yaml" -o -name "*.toml" \) | head -20
 
# Docs
find . -name "*.md" -not -path "*/node_modules/*" | head -20
 
# Monorepo?
ls packages/ 2>/dev/null || ls apps/ 2>/dev/null || echo "Not a monorepo"

Phase 2: Entry Points

# Package scripts and main
cat package.json 2>/dev/null | grep -A10 '"scripts"\|"main"\|"bin"' | head -30
 
# TypeScript entry points
find . -name "index.ts" -not -path "*/node_modules/*" | head -10
 
# Rust entry points
find . -name "main.rs" -o -name "lib.rs" | grep -v target | head -10