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.

Project root

All paths in this skill (wiki/, AGENTS.md, CLAUDE.md, .mcp.json, hook scripts, etc.) are relative to the project root passed via --project <path>, not the agent's current working directory.

  • Always pass --project <absolute-or-relative-path> to the script — it does not fall back to CWD silently.
  • The QMD wrapper commands (<wrapper> collection add <wiki-path>) accept absolute paths; prefer absolute paths when the agent CWD might differ from the project root.
  • When invoked from a sibling repo (e.g., meta/skills repo while the target project lives elsewhere), confirm the --project value with the user before --write.
Related skills
Installs
14
Repository
djalmajr/skills
GitHub Stars
1
First Seen
9 days ago