Logo: Sw Migrate

Sw Migrate

Communautéit
mhmtsrfglu
sw-migrate

Use when the user wants to convert an existing docs folder, task index, markdown task tables, backlog or changelog into a Superwiki vault, or invokes sw-migrate.

Iwwersiicht

Editeurmhmtsrfglu
Repositorysuperwiki
Skill-Nummsw-migrate
Stären
31
Forks
3
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    mhmtsrfglu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Sw Migrate an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-migrate
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mhmtsrfglu/superwiki.git /tmp/superwiki
mkdir -p .claude/skills
cp -r /tmp/superwiki/skills/sw-migrate .claude/skills/sw-migrate
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Sw Migrate an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Sw Migrate automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Sw Migrate net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

sw-migrate

Converts a project that tracks work in markdown tables into a Superwiki vault: one file per task, wikilinks, an append-only log. A script inspects the existing files and does the conversion from a mapping you write. You never read the index yourself; it can be hundreds of kilobytes.

Run everything from the project root. <skill-dir> is this skill's directory; <init-dir> is the sw-init skill's directory (a sibling folder).

Preconditions

Stop and tell the user if any of these fails; do not work around them.

  • The project is a git repository, and git status --porcelain -- docs AGENTS.md CLAUDE.md is empty: the files this skill rewrites have no uncommitted changes. Uncommitted changes elsewhere do not block; mention them in the report so the user does not mistake them for the migration's.
  • docs/.sw/config.json does not exist (already a vault). Empty folders left by an earlier, undone attempt are not a vault; ignore them.
  • Node 18 or newer.

Steps

  1. Branch. The conversion belongs on its own branch. If the project lets you run git, git switch -c superwiki-migrate; if it does not, or you are already on a branch the user made for this, ask the user to confirm the branch and stay on it. Never merge, push or delete a branch yourself.
  2. Inspect: node <skill-dir>/scripts/migrate.mjs --inspect. It prints, for every file that lists tasks: the tables with their line, row count and columns, the values of status-like columns with their counts, and how many per-task headings a file has. It also warns when docs/wiki/, docs/tasks/ or docs/plans/ already exist. This output is all you need for the mapping; do not open the files.
  3. Write the mapping to a temporary file outside the repo. node <skill-dir>/scripts/migrate.mjs --help prints the format. Decide, from the inspect output:
    • the index file, and which columns are id, title, status, dependencies, milestone, order and dates;
    • every status value → todo, in-progress, done or cancelled. Write the value as inspect shows it; decoration such as a check mark is already stripped;
    • the marker for soft dependencies, if the project has them;
    • other columns worth keeping: as frontmatter (fields, for short values such as a review class) or as a body section (sections, for prose such as sources and notes);
    • where per-task detail sections live and their heading prefix;
    • the table that is the changelog, if any. It may be in the index file itself;
    • archiveAlso: anything in docs/wiki/, docs/tasks/ or docs/plans/ that the mapping does not consume. Superwiki owns those folders.
  4. Dry run: node <skill-dir>/scripts/migrate.mjs --mapping <file> --dry-run. The report has two parts:
    • PROBLEMS: each one must be fixed, in the mapping or in the files, and the dry run repeated until it says no problems. An unknown status is a question for the user, not a guess.
    • "For information": files whose links were rewritten, detail sections without a row, links that now point into the archive. Nothing to fix; pass the counts on.
  5. Show the user the mapping and the dry-run report, and wait for approval. Put the task counts per status next to the project's own numbers (inspect's status counts, or the project's summary table). If they differ, find out why before going on.
  6. Convert: the same command without --dry-run, then the init.mjs command the report prints, with real area names in place of the repeated ids, then node docs/.sw/sw.mjs status and node docs/.sw/sw.mjs lint.
  7. Verify. status shows ready and blocked where the report said todo: their sum must equal the todo count, and the other counts must match as they are. lint must have 0 errors. An error here is a real inconsistency in the source (a task started before its dependency finished, a dependency cycle): report it; do not edit task files to make it pass.
  8. Report what moved where, the counts, the lint result, and what is left for a human decision (next section). Commit only if the user asks.

What the conversion does

So that you can tell the user without looking:

  • every row of the task tables becomes docs/tasks/<ID>.md, with its detail section and the kept columns as the body;
  • the changelog becomes docs/log.md, oldest entry first;
  • the index, the detail files, the changelog and everything in archiveAlso move to docs/legacy/, keeping their layout;
  • links to tasks become wikilinks everywhere under docs/, so other documents are edited too; the report lists them;
  • init.mjs then adds docs/index.md, the viewer, the CLI and the Superwiki block in AGENTS.md.

What it leaves for the user

Tell the user about each of these; act only on what they choose.

Left overWhere it isOptions
Rules and conventions written in the old indexdocs/legacy/most are replaced by the Superwiki block in AGENTS.md; project-specific ones go to AGENTS.md outside that block
Milestones, glossaries, decision records in the old indexdocs/legacy/turn into docs/wiki/ pages with type: and summary:, and list them in index.md
Research, specs, decisions in other foldersin place, outside the vaultleave, or move into raw/ (sources) or wiki/ (maintained pages)
Plans written by other toolsin place, or in the archive if they were under docs/plans/leave, or turn one into docs/plans/<ID>-plan.md when it belongs to exactly one task
The old viewer or scripts that parse the old indexin placedelete once docs/viewer.html shows the same numbers
Instructions in AGENTS.md / CLAUDE.md, and links in files outside docs/, that point at the old indexin placerewrite to point at the Superwiki rules and the new task files; show the diff first
Task files that carry a long history (plan, review record, daily notes in one section)docs/tasks/leave; new tasks keep the plan in docs/plans/ and history in the log

docs/legacy/ is an archive, not part of the vault. Delete it only when the user says so.

Common mistakes

  • Opening the index or the detail files to "understand them first". Inspect and the dry run tell you what is there and what did not parse.
  • Mapping a status the script reported as unknown to todo without asking. Ask what it means.
  • Leaving a line under PROBLEMS and converting anyway.
  • Fixing lint errors by changing statuses. The old data was inconsistent; the user decides which side is right.
  • Hand-editing links. If the script missed a link shape, report it.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Sw Migrate?

Use when the user wants to convert an existing docs folder, task index, markdown task tables, backlog or changelog into a Superwiki vault, or invokes sw-migrate.

Firwat Sw Migrate op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Sw Migrate besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Sw Migrate an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-migrate an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Sw Migrate benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Sw Migrate benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Sw Migrate domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Sw Migrate gratis?

Jo. mhmtsrfglu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇