plugins/lisa-wiki-agy/skills/lisa-wiki-migrate/SKILL.md
Migrate an existing, hand-rolled wiki implementation onto the lisa-wiki kernel — phased and compatibility-first, with a strict no-loss guarantee. Use when adopting lisa-wiki in a repo that already has its own wiki/, ingest skills, docs, or roles. Renaming things into the canonical shape is fine; losing functionality or data is not. Ends by running /doctor.
npx skillsauth add codyswanngt/lisa lisa-wiki-migrateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Move a repo's bespoke wiki onto the kernel without breaking it or producing one giant diff. Each phase is a reviewable change; nothing legacy is deleted until its replacement is parity-checked.
Any unique command, ingest path, or role is migrated as though created via /add-ingest
(front-door skill) or /add-role (subagent); wiki-ingest aliases (*-wiki-ingest, custom /ingest
routers, …) are renamed to the canonical /ingest. Loss of functionality or data is not
acceptable — for each migrated artifact, run the old path and the new path and diff the output
before deleting the old one.
wiki/lisa-wiki.config.json, render the contract
snapshot, add wiki/state/README.md, run validators in warning mode.scripts/absorb-docs.mjs moves the host repo's own
docs (docs/, specs/, top-level docs) into wiki/documentation/, ingests them, and conforms to
the structure manifest; scripts/rewrite-refs.mjs rewrites every internal link/citation/index
entry (zero dangling links). Keep-in-place files stay at conventional paths. Ask the README
mode (default rich; stub only on explicit choice). Wrapper mode moves only host docs, never
child-project docs. Idempotent (source fingerprints); parity-checked./add-ingest front-doors or /add-role subagents. Claude commands become facades.Run lisa-wiki-doctor --migration. The repo is not considered migrated until the verdict is READY
(or a human-approved READY_WITH_WARNINGS). Roll back by reverting the migration change.
lisa-wiki-doctor, lisa-wiki-setup, lisa-wiki-add-ingest, lisa-wiki-add-role.
documentation
Onboard a user to the project via its LLM Wiki. Interviews the user about themselves in relation to the project, captures that to project-scoped memory only, then gives a guided tour of what the project is and sample questions they can ask. Use when someone is new to the project or asks to be onboarded. Read-mostly — it does not open PRs or write PII into the wiki.
development
Health-check the LLM Wiki. Reports orphan pages, contradictions, stale claims, broken internal links, missing index/log coverage, structure-manifest violations, and secret/tenant leaks. Use periodically or before hardening a wiki. Read-only — it reports findings, it does not fix them.
testing
Ingest source material into the LLM Wiki. With an argument (URL, file path, or prompt) it ingests that one source; with no argument it runs a full ingest across every enabled non-external-write source. Routes to the right connector, then runs the ordered pipeline (source note → synthesis → index → log → verify → state → commit/PR). Use whenever new knowledge should enter the wiki.
testing
Verify that a wiki is correctly set up and (after migration) fully functional. Runs the deterministic checks plus functional smoke tests, writes a doctor report, and returns an overall verdict. Use as the final gate of /migrate, after /setup, or anytime to confirm wiki health. A repo is not "migrated" until its doctor verdict is READY.