Analyze component quality and get AI-powered improvement suggestions
Analyze component quality and get AI-powered improvement suggestions. Use this when you want to evaluate an agent, skill, command, or hook and receive prioritized recommendations to enhance its effectiveness.
/plugin marketplace add C0ntr0lledCha0s/claude-code-plugin-automations/plugin install agent-builder@claude-code-plugin-automations[type] [name]claude-sonnet-4-5Analyze a Claude Code component's quality and get prioritized improvement suggestions.
Arguments:
$1 (required): Component type - agent, skill, command, hook$2 (required): Component name to analyzeFull arguments: $ARGUMENTS
Locate Component
Delegate Analysis
Return Recommendations
| Dimension | Points | What's Measured |
|---|---|---|
| Schema | 10 | Required fields, syntax |
| Security | 10 | Tool permissions, validation |
| Quality | 10 | Content, examples, workflow |
| Maintainability | 10 | Organization, documentation |
| Dimension | Points | What's Measured |
|---|---|---|
| Schema | 10 | No model field, structure |
| Auto-invoke | 10 | Trigger specificity |
| Resources | 10 | {baseDir} usage, organization |
| Documentation | 10 | Completeness, examples |
| Dimension | Points | What's Measured |
|---|---|---|
| Schema | 10 | Model format, fields |
| Arguments | 10 | Documentation, handling |
| Security | 10 | Bash validation |
| Usability | 10 | Examples, clarity |
| Dimension | Points | What's Measured |
|---|---|---|
| Schema | 10 | JSON validity |
| Security | 10 | 7-category analysis |
| Matchers | 10 | Specificity, safety |
| Scripts | 10 | Existence, permissions |
/agent-builder:enhance agent code-reviewer
/agent-builder:enhance skill analyzing-code
/agent-builder:enhance command run-tests
/agent-builder:enhance hook validate-write
## Enhancement Analysis: [component-name]
**Overall Score**: X/40 (Y%)
### Detailed Scores
| Dimension | Score | Status |
|-----------|-------|--------|
| Schema | 10/10 | ✅ |
| Security | 8/10 | ⚠️ |
| Quality | 7/10 | ⚠️ |
| Maintainability | 9/10 | ✅ |
### Findings
#### ✅ Strengths
- [What's working well]
#### ⚠️ Areas for Improvement
- [What needs attention]
### Recommendations (Prioritized)
1. 🔴 HIGH: [Critical improvement]
2. 🟡 MEDIUM: [Important improvement]
3. 🟢 LOW: [Nice-to-have improvement]
### Next Steps
1. [Actionable step 1]
2. [Actionable step 2]
When invoked: