knowledge-repo-initlisted
Install: claude install-skill bks-lab/open-bridge
# Knowledge Repo Init — Guided Wizard
Sets up an **optional** knowledge/documentation repo paired with this
Bridge instance. Bridge works without one — this skill is for users who
have outgrown a flat `work/log.md` and want a durable place for
protocols, decisions, and customer documentation.
**Pattern overview:** [`docs/knowledge-repo-pattern.md`](../../docs/knowledge-repo-pattern.md)
— read it first if you're unsure whether you want this. The wizard
itself does **not** repeat the pattern explanation; it executes it.
## Before you start
The wizard performs filesystem writes (creates folders, copies
templates) and edits Bridge configs (`ecosystem.yaml`,
`workflow/contexts/<slug>.yaml`). It does **not** touch your knowledge
repo's Git history without confirmation. Every destructive or
externally-visible step is gated by an explicit `[y]` prompt.
## Inputs the wizard collects
| Phase | Question | Default |
|---|---|---|
| 0 | What's the state? new repo / existing repo / both | — |
| 1 | Slug + display name + (optional) org | — |
| 2 | Path on disk + remote URL (if any) | local-only OK |
| 3 | Top-level areas (customers/internal/leads/partners/projects) | `internal/` |
| 4 | Dual-doku contract for any area? | no |
| 5 | Bridge integration: register in `ecosystem.yaml`? | yes |
| 6 | Scaffold a starter project folder? | optional |
| 7 | Commit + push? | confirm |
Use AskUserQuestion for branching choices. Bundle related fields into
the same prompt when they're not branchin