spec:rename
Compatibility: If
AskUserQuestionis unavailable, present options as a numbered list and wait for the user's reply. IfTaskis unavailable, run parallel steps sequentially. Thecontext: forkandagent:frontmatter fields are Claude Code-specific — on OpenCode and VS Code Copilot they are ignored and the skill runs inline using the current model.
Rename a plan and update all references.
Overview
Renames a plan's directory and updates the registry. Useful for clarifying plan purpose or fixing typos in plan names.
Step 1: Select Plan
- Check for arguments:
/rename old-name new-name - If only one argument, treat as old name and prompt for new name
- If no arguments:
- Get all plans
- If no plans exist, report error
- If only one plan, auto-select it
- If multiple plans, use AskUserQuestion tool:
question: "Which plan do you want to rename?" header: "Rename Plan" options: - label: "feature-auth (Active - 52%)" description: "Add authentication system" - label: "refactor-api (Paused - 33%)" description: "Refactor API layer"
Step 2: Get New Name (if not provided)
If new name wasn't provided as argument, ask user: "What should the new name be for plan '{old-name}'?"
Step 3: Validate New Name
- Slugify the new name (lowercase, hyphens, alphanumeric)
- Check if new name already exists
- If collision, offer to append -2, -3, etc. or let user choose different name
Step 4: Confirm Rename
Use AskUserQuestion tool:
question: "Rename plan '{old-name}' to '{new-name}'?"
header: "Confirm Rename"
multiSelect: false
options:
- label: "Rename plan"
description: "Update directory name and registry, preserve all files"
- label: "Cancel"
description: "Keep original name"
Step 5: Perform Rename
- Rename via CLI:
npx @codevoyant/agent-kit plans rename --old-name "$OLD_NAME" --new-name "$NEW_NAME" - Rename directory:
.codevoyant/plans/{old-name}/→.codevoyant/plans/{new-name}/ - Check plan.md for self-references: search for any occurrence of
{old-name}as a string (e.g., in path comments or the plan title line) and update to{new-name}. This is rare but can happen when/newembeds the plan name in the description. - Note: Git worktrees and branches are NOT renamed — only the plan directory name changes. If plan.md metadata references a branch or worktree, those entries remain valid and do not need updating.
Step 6: Report Completion
Plan renamed successfully!
Old name: {old-name}
New name: {new-name}
Location: .codevoyant/plans/{new-name}/
Continue execution: /go {new-name}
Check status: /status {new-name}
More from cloudvoyant/codevoyant
mem:help
Use when the user asks about available mem commands or needs help choosing a skill. Triggers on: \"mem help\", \"help mem\", \"what can mem do\", \"mem commands\", \"list mem skills\", \"mem reference\". Lists all mem commands with descriptions, arguments, and usage guidance.
14dev:plan
Use when planning architecture for a project or feature. Triggers on: "dev plan", "architecture plan", "plan architecture", "design architecture", "technical design", "system design for". Produces draft plan artifacts in .codevoyant/plans/{slug}/. Use /dev:approve to promote to docs/architecture/.
14em:review
Use when reviewing an engineering roadmap for quality and realism. Triggers on: "em review", "review roadmap", "sanity check roadmap", "em check", "review this plan". Checks capacity realism, dependency gaps, missing risks, and phasing quality. Auto-launched after em:plan.
13dev:explore
Use when researching technical approaches before building. Triggers on: "explore options", "what are my options for", "research approaches", "compare solutions", "dev explore", "generate proposals", "help me decide between". Runs parallel proposal generation via subagents and outputs to .codevoyant/explore/.
13em:plan
Use when planning a project (epic) or initiative with Linear as tracker.
13pm:plan
Plan a product roadmap for a quarter, half-year, or year. Writes a draft roadmap to .codevoyant/roadmaps/ using capability tiers. Triggers on: "pm plan", "product roadmap", "plan a roadmap", "quarterly roadmap", "annual plan".
13