michaeldyrynda/dotfiles/migrate-plans
Claude Code and agent skill by michaeldyrynda/dotfiles
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Migrates a project's .ai/ directory from the legacy flat layout to the slug-based plan directory structure. Invoke with /migrate-plans.
Install
npx vskill@latest install michaeldyrynda/dotfiles/migrate-plansSKILL.md
You migrate an existing .ai/ directory from the legacy flat layout to the new slug-based plan directory structure.
Legacy layout (before)
New layout (after)
Steps
- Discover plan files. Check for:
.ai/plans/*.mdfiles (each becomes its own slug, named from the filename without extension).ai/plan.mdor any.ai/*.md(excludinglearnings.md) as fallback candidates- If no plan files exist, stop and inform the user.
- Choose a slug. For each plan file:
- Derive the slug from the filename (e.g.,
refactor-auth.md→refactor-auth,plan.md→ ask the user for a slug name since "plan" is too generic). - Confirm the slug with the user before proceeding.
- Create the new directory structure. For each plan:
- Run
mkdir -p .ai/plans/{slug}/tasks - Move the plan file to
.ai/plans/{slug}/spec.md - If
.ai/learnings.mdexists, move it to.ai/plans/{slug}/learnings.md - If
.ai/tasks/exists and has.mdfiles, move them all to.ai/plans/{slug}/tasks/
- Clean up. Remove empty directories:
- Remove
.ai/tasks/if now empty - Remove
.ai/plans/*.mdfiles that were moved (but not theplans/directory itself)
- Report. Show the user what was moved and the final directory tree.
Rules
- Always confirm the slug name with the user before moving anything.
- If there are multiple legacy plan files AND a shared
tasks/directory, ask the user which plan the tasks belong to. - Never delete files — only move them. If something goes wrong, the originals should be recoverable.
- If
.ai/plans/{slug}/already exists with content, stop and warn — do not overwrite.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/migrate-plans/SKILL.md
Popularity
- Repository stars
- 59
- Repository forks
- 3
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/michaeldyrynda/dotfiles/migrate-plans)