# Migrate

> Run migrations to keep workflow files in sync with the current system design. This skill is mandatory before running any workflow skill.

- Skill: `majiayu000/migrate-7` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/migrate-7`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/migrate-7/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/migrate-7

---


# Migrate

Keeps your workflow files up to date with how the system is designed to work. Runs all pending migrations automatically.

## Instructions

Run the migration script:

```bash
.claude/scripts/migrate.sh
```

### If files were updated

The script will list which files were updated. Present this to the user:

```
{list from script output}

Review changes with `git diff`, then proceed when ready.
```

Wait for user acknowledgment before returning control to the calling skill.

### If no updates needed

```
All documents up to date.
```

Return control silently - no user interaction needed.

## Notes

- This skill is run automatically at the start of every workflow skill
- Migrations are tracked in `docs/workflow/.cache/migrations.log`
- To force re-running all migrations, delete the tracking file
- Each migration is idempotent - safe to run multiple times

