pb-init
Installation
SKILL.md
pb-init
Audit the project and generate/update AGENTS.md at project root. No clarifying questions — run analysis and produce output directly.
Workflow
1. Detect language, framework, build tool
Scan root for config files (pyproject.toml, Cargo.toml, package.json, go.mod, etc.). Infer framework from dependencies. Infer test command from config or conventions.
2. Generate directory tree
Preferred: git ls-files --others --cached --exclude-standard | head -200, summarize into tree.
Fallback: traverse with adaptive depth (3 default; auto-expand src/, lib/, app/, packages/, cmd/, internal/, pkg/ to depth 6; stop >20 children).
Exclude: .git/, node_modules/, __pycache__/, target/, .venv/, dist/, build/, hidden dirs except .github/.