Skip to content
Skills Library
Personal productivity · Conversion & formats

migrate

/migrate

This skill should be used when wiki-curator needs to upgrade a vault's schema_version to match the current plugin version. Triggers on "migrate wiki", "upgrade schema", "apply migration v0.X → v0.Y".

Licence
MIT
Last repository change
28.05.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.05.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

This skill should be used when wiki-curator needs to upgrade a vault's schema_version to match the current plugin version. Triggers on "migrate wiki", "upgrade schema", "apply migration v0.X → v0.Y".

Triggers from the description

migrate wikiupgrade schemaapply migration v0.X → v0.Y
Original author description

This skill should be used when wiki-curator needs to upgrade a vault's schema_version to match the current plugin version. Triggers on "migrate wiki", "upgrade schema", "apply migration v0.X → v0.Y".

How it works

  1. Purpose
  2. Trigger phrases
  3. Inputs
  4. Outputs
  5. Workflow
  6. Quality gate
  7. Anti-patterns
  8. Scripts used
Original SKILL.md headings · 71 lines, 238 words
SKILL.md preview
---
name: migrate
description: This skill should be used when wiki-curator needs to upgrade a vault's schema_version to match the current plugin version. Triggers on "migrate wiki", "upgrade schema", "apply migration v0.X → v0.Y".
---

# Migrate — Schema Upgrade

## Purpose

Run schema migration scripts to upgrade vault from current `schema_version` to target. Idempotent. Backup-first.

Used by wiki-curator.

## Trigger phrases

- "migrate wiki"
- "upgrade schema to v0.4.0"
- "apply migration"
- "schema version mismatch"

## Inputs

- `--target` schema_version (default = latest plugin version)

## Outputs

- Vault upgraded with bumped `schema_version`
- Migration log in `wiki/_logs/migration-<chain>-<date>.md`
- Backup at `<vault>.bak.v<old>/`

## Workflow

1. **Read current schema_version** from `wiki.config.md`:
   ```
   current=$(lib_read_yaml_key "$VAULT_PATH/wiki.config.md" schema_version)
   ```

2. **Determine target version**:
   - If `--target` provided, use it
   - Else use plugin version from `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json`

3. **Find migration chain**:
   - Available scripts: `scripts/migrations/v<X>-to-v<Y>/migrate.sh`
   - Build chain from current → target (e.g., 0.1.0 → 0.2.0 → 0.3.0 → 0.4.0)
   - If no chain exists, error

4. **Run scripts in order**, idempotent:
   ```
   for migration in chain:
     "$migration" --vault "$VAULT_PATH"
   ```

5. **Verify post-conditions**: each migration script does its own verify; in addition, run `audit` skill at the end.

6. **Print summary** with chain executed, pages affected, log location.

## Quality gate

- Each migration idempotent (re-run = no-op)
- Backup exists at `<vault>.bak.v<old>/`
- Post-migration audit reports 0 P0 violations introduced

## Anti-patterns

- DO NOT skip the backup
- DO NOT manually edit `schema_version` field — only via migration scripts
- DO NOT try to migrate non-linearly (skip versions)

## Scripts used

- `${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.1.0-to-v0.2.0.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.2.0-to-v0.3.0.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.3.0-to-v0.4.0/migrate.sh`
- After: `audit` skill for verification

Versions

RepositoryScoreLicence
This page · ignromanov/llm-obsidian-wiki100MIT
marcel-bich/marcel-bich-claude-marketplace100MIT
abatyuk/okf100MIT
markusleben/ha-nova100MIT
toss/es-toolkit100MIT
rvdbreemen/adr-kit100MIT
asgeirtj/system_prompts_leaks100CC0-1.0
madappgang/magus100MIT
bennypowers/cem100GPL-3.0

Database snapshot: 13.11.2026 · package version 09544b24e3c0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100curator
    Use when ingesting memory into the wiki, running wiki_curator.py (run/report/validate/lint/search), or linting wiki structure.
  • 100wiki-migrate-file
    Migrates a legacy file from an Obsidian-based knowledge vault into the LLM-Wiki schema. Analyzes the file, proposes a split into raw and wiki content, writes target files with proper frontmatter, pulls cross-references, updates index and log, then deletes the original. Cluster…
  • 100wiki
    Update the llm-wiki knowledge base (remote LXC CT 103, /srv/workspaces/llm-wiki, over SSH) with implementation-level details from the current session by dispatching the up-docs-propagate-wiki sub-agent. This skill should be used when the user runs /up-docs:wiki.
  • 100upgrade
    Upgrade an existing project's managed llm-wiki structure without rerunning broad wiki bootstrap. Use when a user asks to migrate, update, or upgrade project-local .llm-wiki scripts, hooks, or changelog structure after installing a newer llm-wiki release.
  • 100wiki-query
    Answer an explicitly vault-scoped question from an Obsidian wiki without changing it. Use when the user selects the vault as the evidence source: query the wiki, query quick, query deep, explain from the wiki, summarize the vault, find in wiki, search the wiki, or based on the…
  • 100cursor-upgrade-migration
    Execute upgrade Cursor versions and migrate settings. Triggers on "upgrade cursor", "update cursor", "cursor migration", "cursor new version", "cursor changelog". Use when working with cursor upgrade migration functionality. Trigger with phrases like "cursor upgrade migration",…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.