From tac
Analyzes prompt files with Seven Levels framework: classifies level 1-7, checks sections/quality, suggests improvements like missing workflow or variable fixes.
npx claudepluginhub melodic-software/claude-code-plugins --plugin tacThis skill is limited to using the following tools:
Analyze existing prompt and suggest improvements.
Reviews prompt/instruction files against Anthropic prompt engineering best practices for clarity, structure, role prompting, and more. Use when evaluating skill files, agent definitions, or instruction chunks.
Analyze and improve existing prompts for better performance
Upgrades prompts to higher levels (1-7) by adding variables, workflows, control flow, delegation, templates, and expertise sections. Use to enhance prompt sophistication.
Share bugs, ideas, or general feedback.
Analyze existing prompt and suggest improvements.
$1: Path to prompt fileYou are analyzing an existing prompt to classify it and suggest improvements.
If no $1 provided, STOP and ask user for prompt file path.
Read the prompt file at $1 completely.
Check for presence of:
Based on sections and patterns:
| Indicators | Level |
|---|---|
| Simple prompt, no sections | 1 |
| Has Workflow section | 2+ |
| Has conditionals/loops | 3+ |
| Delegates to agents | 4+ |
| Accepts prompt as input | 5+ |
| Has Template section | 6+ |
| Has Expertise section | 7 |
Check:
Suggest:
## Prompt Analysis
**File:** [path]
**Current Level:** [1-7] ([name])
### Sections Found
- [x] Section 1
- [ ] Section 2 (missing)
...
### Quality Score
**Score:** [X/10]
| Criteria | Status |
| --- | --- |
| Variables naming | [Pass/Fail] |
| Workflow structure | [Pass/Fail] |
| STOP conditions | [Pass/Fail] |
| Frontmatter | [Pass/Fail] |
| Purpose clarity | [Pass/Fail] |
### Improvements Suggested
**High Priority:**
1. [improvement 1]
2. [improvement 2]
**Medium Priority:**
1. [improvement 3]
### Level Upgrade Opportunity
Current: Level [N]
Potential: Level [M] if [condition]
### Refactored Version (if requested)
[Improved prompt structure]