Update standard files to align with the latest standard template and apply specified changes using intelligent delegation to subagents. Handles both single standard updates and bulk updates of all standards in parallel.
Updates standard files to match the latest template structure and apply specified changes. Use to refresh standards to current templates or make coordinated updates across your standard library.
/plugin marketplace add alvis/.claude/plugin install governance@alvisUpdate standard files to align with the latest standard template and apply specified changes using intelligent delegation to subagents. Handles both single standard updates and bulk updates of all standards in parallel.
What this command does NOT do:
When to REJECT:
ultrathink: you'd perform the following steps
Analyze Requirements
Load Template Reference
Locate Standard
Template Validation
Delegation
Subagent Task Specification
Progress Monitoring
Template Compliance Verification
Change Application Verification
Constitutional Compliance
Consistency Validation
Output Format:
[✅/❌] Command: $ARGUMENTS
## Summary
- Standards updated: [count]
- Changes applied: [change specifications]
- Template alignment: [COMPLETE/PARTIAL/FAILED]
## Actions Taken
1. [Standard file]: [Status] - [Changes applied]
2. [Standard file]: [Status] - [Changes applied]
## Subagent Results
- Total agents deployed: [count]
- Successful updates: [count]
- Failed updates: [count] (if any)
## Template Alignment Applied
- Structure updates: [list]
- Section additions: [list]
- Format corrections: [list]
## Changes Applied
- --change1: [Status and details]
- --change2: [Status and details]
## Issues Found (if any)
- **Issue**: [Description]
**Resolution**: [Applied fix or escalation]
## Next Steps (if applicable)
- Review updated standards for accuracy
- Test standard execution with sample scenarios
- Commit changes if satisfied with results
/update-standard "security.md" --change1="Add OAuth 2.1 requirements" --change2="Update encryption standards"
# Updates specific standard with template alignment and changes
# Agent applies changes as separate tasks (2a, 2b)
# Ultrathink review for integrity and consistency
/update-standard --change1="Update TypeScript to 5.0 requirements"
# Updates ALL standards in parallel
# Each agent handles one standard file
# Consistent change applied across entire standard library
/update-standard "typescript.md"
# Aligns single standard with latest template
# No additional changes, just structure updates
# Preserves all existing content and requirements
/update-standard "react-components.md" --change1="Add React 18 concurrent features" --change2="Update testing requirements for RTL" --change3="Add accessibility compliance"
# Each change becomes separate task (2a, 2b, 2c)
# Agent ensures changes don't conflict
# Ultrathink mode verifies comprehensive integration
/update-standard "nonexistent-standard.md"
# Error: Standard file not found
# Suggestion: Use 'find [plugin]/constitution/standards' to see available standards
# Alternative: Check if file was moved or renamed
/update-standard --change1="Update Node.js to version 20" --change2="Add ESM import requirements"
# Spawns agents for all standard files
# Only applies changes where relevant (backend, code standards)
# Skips changes for standards where not applicable