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".
- Author
- ignromanov ↗
- Repository
- llm-obsidian-wiki ↗
- Licence
- MIT
- Last repository change
- 28.05.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.05.2026, without references to retired models or APIs.
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
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
- Purpose
- Trigger phrases
- Inputs
- Outputs
- Workflow
- Quality gate
- Anti-patterns
- Scripts used
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
| Repository | Score | Licence |
|---|---|---|
| This page · ignromanov/llm-obsidian-wiki | 100 | MIT |
| marcel-bich/marcel-bich-claude-marketplace | 100 | MIT |
| abatyuk/okf | 100 | MIT |
| markusleben/ha-nova | 100 | MIT |
| toss/es-toolkit | 100 | MIT |
| rvdbreemen/adr-kit | 100 | MIT |
| asgeirtj/system_prompts_leaks | 100 | CC0-1.0 |
| madappgang/magus | 100 | MIT |
| bennypowers/cem | 100 | GPL-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",…