claude-skills/commands/wiki-init.md
Claude 894fd23334
feat(agents,commands): trigger descriptions + gated workflow upgrades
- 17 root agents gained 'Use when...' trigger descriptions (<=1024 chars);
  cs-product-analyst placeholder body rewritten around real tools
- 21 commands had invalid YAML frontmatter fixed (unquoted inner colons);
  14 commands gained argument-hint; 6 duplicate commands marked with
  canonical-copy sync comments
- /prd: forcing questions + refuse-to-draft gate + required-sections checklist
- /sprint-plan: capacity math + carry-over check + definition-of-ready gate
- /tdd: rebuilt around the real tdd-guide assets with smoke-tested snippets
- cs-senior-engineer repointed from retired release-manager to
  changelog-generator

https://claude.ai/code/session_019AJddAL1NADWMXsy1qNPQF
2026-06-11 03:58:42 +00:00

61 lines
1.9 KiB
Markdown

---
name: wiki-init
description: Bootstrap a fresh LLM Wiki vault with the three-layer structure, schema files, and starter templates. Usage /wiki-init <path> --topic "<topic>" [--tool all|claude-code|codex|cursor|antigravity]
---
<!-- canonical copy: engineering/llm-wiki/commands/wiki-init.md — keep in sync -->
# /wiki-init
Bootstrap a new LLM Wiki vault. Creates `raw/`, `wiki/{entities,concepts,sources,comparisons,synthesis}`, the index and log, and installs the schema file(s) for your LLM CLI of choice.
## Usage
```
/wiki-init <path> --topic "<one-line topic>"
/wiki-init <path> --topic "<topic>" --tool <claude-code|codex|cursor|antigravity|opencode|gemini-cli|all>
/wiki-init <path> --topic "<topic>" --force # overwrite non-empty dir
```
## Examples
```
/wiki-init ~/vaults/research --topic "LLM interpretability"
/wiki-init ./book-wiki --topic "The Power Broker — Robert Caro" --tool all
/wiki-init ~/vaults/founders --topic "SaaS founder playbook" --tool codex
```
## What it creates
```
<path>/
├── raw/
│ └── assets/
├── wiki/
│ ├── index.md # from template
│ ├── log.md # from template
│ ├── entities/
│ ├── concepts/
│ ├── sources/
│ ├── comparisons/
│ ├── synthesis/
│ └── .templates/ # page templates for reference
├── CLAUDE.md # if --tool claude-code or all
├── AGENTS.md # if --tool codex|cursor|antigravity|opencode|gemini-cli|all
├── .cursorrules # if --tool cursor or all
└── .gitignore
```
## Next steps
After init:
1. Open the vault in Obsidian
2. Drop a source into `raw/`
3. Run `/wiki-ingest raw/<your-file>`
## Script
- `engineering/llm-wiki/skills/llm-wiki/scripts/init_vault.py`
## Skill Reference
→ `engineering/llm-wiki/skills/llm-wiki/SKILL.md`