Update slash commands to latest standards with optionally specific area changes
Updates existing slash commands to current best practices and template structure. Use when commands need standardization, missing sections, or specific improvements while preserving custom functionality.
/plugin marketplace add alvis/.claude/plugin install governance@alvis<target> [--area=...] [--changes=...]Update existing slash commands to follow current best practices and template structure. Parses $ARGUMENTS to identify both target commands and specific areas to change. Commands will be upgraded to the latest template with clean, comment-free output and change any content in relate to the specified changes. Intelligently extracts change requirements from arguments, adds missing sections from template, removes all comments, preserves custom functionality, and make sure all the changes are clearly reflected in the command file. Ultrathink mode.
What this command does NOT do:
When to REJECT:
ultrathink: you'd perform the following steps
Analyze Requirements
Structure Analysis
Identify Applicable Workflows & Standards
[plugin]/constitution/workflows/ for relevant processes[plugin]/constitution/standards/ for applicable standardsDelegation Decision
Risk Assessment
Workflow Compliance
Primary Implementation
Standards Enforcement
[plugin]/constitution/standards/Edge Case Handling
Quality Assurance
Side Effect Validation
Output Format:
[✅/❌] Command: $ARGUMENTS
## Summary
- Files modified: [count]
- Commands updated: [count/total]
- Specific areas changed: [list]
- Standards compliance: [PASS/FAIL]
## Actions Taken
1. [Action with result]
2. [Action with result]
## Workflows Applied
- [Workflow name]: [Status]
## Issues Found (if any)
- **Issue**: [Description]
**Fix**: [Applied fix or suggestion]
## Next Steps (if applicable)
- [Required manual action]
- [Recommended follow-up]
/update-command all
# Updates every command in .claude/commands/
/update-command fix-issue
# Updates only fix-issue.md
/update-command "update-command" --area="argument parsing"
# Updates update-command.md focusing on argument parsing section
/update-command "create-component" --changes="include TypeScript types in examples"
# Updates create-component.md to add TypeScript types to examples
/update-command "dev/*"
# Updates all commands in dev/ subdirectory
/update-command "analyze-code review-pr" --area="workflow phase 2"
# Updates specific commands focusing on execution phase
/update-command "commit" --changes="include git hooks validation in workflow"
# Intelligently parses to update commit.md adding git hooks to workflow
/update-command "invalid-target"
# Error: Target not found
# Suggestion: Check available commands with 'ls .claude/commands/'
# Alternative: Use '/update-command all' to update all commands