Upgrade an existing prompt to a higher level.
Upgrades a prompt file to a higher capability level by adding advanced features like control flow, delegation, or self-improvement. Use this when your prompt needs more sophisticated logic or structure for complex tasks.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install google-ecosystem@melodic-softwareUpgrade an existing prompt to a higher level.
$1: Path to prompt file$2: Target level (optional, defaults to current + 1)You are upgrading a prompt to add capabilities from a higher level.
If no $1 provided, STOP and ask user for prompt file path.
Read the prompt file at $1 completely.
Identify current level based on:
Target = $2 if provided, otherwise current + 1.
Validate:
For each level jump:
| From | To | Add |
|---|---|---|
| 1 | 2 | Variables, Workflow, Report |
| 2 | 3 | Control Flow (conditionals, loops, STOP) |
| 3 | 4 | Delegation (Task tool patterns) |
| 4 | 5 | Accept prompt file as input |
| 5 | 6 | Template/Specified Format section |
| 6 | 7 | Expertise section, self-improvement |
Apply additions:
Level 1 -> 2:
Level 2 -> 3:
<loop-tags> where iteration neededLevel 3 -> 4:
Level 4 -> 5:
Level 5 -> 6:
Level 6 -> 7:
## Prompt Upgraded
**File:** [path]
**From Level:** [N] ([name])
**To Level:** [M] ([name])
### Changes Made
**Sections Added:**
- [section 1]
- [section 2]
**Patterns Added:**
- [pattern 1]
- [pattern 2]
### New Structure
```markdown
[Updated prompt preview]
```
### Validation
- [ ] New sections properly formatted
- [ ] Variables follow conventions
- [ ] Workflow updated for new level
- [ ] STOP conditions explicit
### Testing Recommendations
1. Test basic functionality
2. Test new level capabilities
3. Verify output format