wiki-init

Installation
SKILL.md

wiki-init

Use this skill to initialize or migrate a repo into the wiki + QMD + agent hook pattern.

The user may use natural language. Route intent like this:

  • "como esta a estrutura?", "preciso migrar?", "doctor", "qmd esta ok?" -> run doctor.
  • "instala", "prepara esse repo", "configura hooks" -> run install as dry-run first, then ask the user to confirm the suggested wiki location and index before --write.
  • "migrar para o formato novo" -> run migrate as dry-run first, then ask the user to confirm the suggested wiki location and index before --write.
  • "corrigir qmd", "managed qmd", "patch qmd" -> run doctor, then use install --write or update-hooks --write with explicit approval to prepare the managed QMD checkout and wrappers.

Workflow

  1. Run scripts/wiki-init.ts doctor --project <path> first.
  2. Read the report: wiki layout, AGENTS/CLAUDE, harnesses, hooks, drift, QMD status.
  3. For changes, run install or migrate without --write and show the planned file actions plus the suggested topology.
  4. Ask the user in plain language to confirm where the wiki will live and what QMD index will be used. Do not require the user to know the preset name.
  5. Only run with --write after passing explicit --wiki and --index. The script blocks writes without those flags.
  6. Re-run doctor after writes.
Related skills

More from djalmajr/essential-skills

Installs
6
First Seen
11 days ago
Security Audits