Agent skill
workflow-migrate
Install this agent skill to your Project
npx add-skill https://github.com/leeovery/agentic-workflows/tree/main/skills/workflow-migrate
SKILL.md
Migrate
Keeps your workflow files up to date with how the system is designed to work. Runs all pending migrations automatically.
Step 1: Run Migrations
Run the migration script with sandbox disabled (migrations may need to modify .claude/settings.json):
.claude/skills/workflow-migrate/scripts/migrate.sh
CRITICAL: Use dangerouslyDisableSandbox: true when calling the Bash tool for this command.
If the output contains ---STOP_GATE: FILES_UPDATED---
Files were updated. You MUST complete the steps below before returning to the calling skill.
- Run
git diffto see what changed. - Write a brief natural language summary of what the migrations did (e.g., "Restructured workflow directories, created manifest files, renamed tracking artifacts"). Focus on the nature of the changes, not individual file paths — these are internal workflow state files.
- Display the summary:
Output the next fenced block as a code block:
Migrations Applied
{your natural language summary}
{N} migration(s), {M} file(s) updated.
→ Proceed to Step 2.
Otherwise
Output the next fenced block as a code block:
All documents up to date.
→ Return to caller.
Step 2: Confirm Changes
Output the next fenced block as markdown (not a code block):
· · · · · · · · · · · ·
Ready to continue?
- **`c`/`continue`** — Proceed
- **Ask** — Ask questions about the changes
· · · · · · · · · · · ·
STOP. Wait for user response.
If continue
Check git status. If migration changes are uncommitted, stage and commit them with the message chore: apply workflow migrations before returning.
→ Return to caller.
If ask
Answer the user's question.
→ Return to Step 2.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
update-workflow-explorer
Audit and update workflow-explorer.html flowcharts to match the current codebase logic. Reads all command, skill, and agent source files, compares against the 4 data structures in the HTML file, reports drift, and applies updates. Use when workflow logic has changed and the explorer needs syncing.
create-output-format
Scaffold a new planning output format adapter. Creates a format directory with all required files implementing the output format contract.
continue-feature
workflow-review-entry
workflow-planning-process
workflow-start
Didn't find tool you were looking for?