From tac
Upgrades prompts to higher levels (1-7) by adding variables, workflows, control flow, delegation, templates, and expertise sections. Use to enhance prompt sophistication.
npx claudepluginhub melodic-software/claude-code-plugins --plugin tacThis skill is limited to using the following tools:
Upgrade an existing prompt to a higher level.
Analyzes prompt files with Seven Levels framework: classifies level 1-7, checks sections/quality, suggests improvements like missing workflow or variable fixes.
Improves prompts via Anthropic best practices: queries official docs first, applies 4-step workflow with chain-of-thought, XML tags, and examples for accuracy and structure.
Analyze and improve existing prompts for better performance
Share bugs, ideas, or general feedback.
Upgrade 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