From generic-skills
Analyzes agent skills to identify business purpose and propose 1-2 functional upgrades like new features, workflow improvements, automation, or UX enhancements for iterative evolution.
npx claudepluginhub przemocny/generic-skillsThis skill uses the workspace's default tool permissions.
**Purpose:** Strategic enhancement and functional evolution of agent skills
Improves existing Claude Code skills by modeling user intent, auditing effectiveness against a rubric, and proposing ranked enhancements like new features, UX gains, and efficiency fixes.
Analyzes and refines skills by identifying issues like time estimates, oversized files, poor structure, redundant content; prioritizes fixes (MUST/SHOULD/NICE); implements improvements with user feedback.
Autonomously improves other skills via diagnosis of weaknesses, A/B experimentation, evaluation against tiered rubric, and reporting. Preserves originals until approved.
Share bugs, ideas, or general feedback.
Purpose: Strategic enhancement and functional evolution of agent skills
Approach:
Output: Enhanced skill + upgrade report in .tasks/skill-upgrade-[skill-name]-[date]/
Key Difference from Refiner:
Value-Driven:
Practical:
Clear Win:
Complete details in references/upgrade-types.md.
Workflow Enhancements (1-4):
Quality & Reliability (5-8): 5. Better edge cases - Handle unusual scenarios gracefully 6. Early validation - Catch problems before end of workflow 7. Self-checking - Skill verifies its own output quality 8. Error recovery - Smart rollback, retry, or repair mechanisms
Automation & Intelligence (9-12): 9. Automate manual steps - Replace human intervention with logic 10. Context-awareness - Adapt to project type, user preferences, history 11. Learning from history - Use previous runs to improve suggestions 12. Smart defaults - Intelligent choices based on patterns
User Experience (13-16): 13. Better briefing - Smarter questions, fewer iterations 14. Interactive choices - Option menus instead of open questions 15. Progress visibility - Clear feedback on what's happening 16. Dry-run mode - Preview changes before committing
Integration & Output (17-20): 17. Tool integration - Better use of available tools (bash, git, etc.) 18. Reusable outputs - Results that feed into other skills 19. Better reports - More actionable, clearer insights 20. Batch processing - Handle multiple items efficiently
Documentation (21-22): 21. More examples - Concrete use cases, templates, patterns 22. Best practices - Guidance on optimal usage
Skill analyzed: code-refactor
Current state: Makes changes directly to files
Upgrade opportunity:
--preview mode that shows diffs without applyingImplementation:
## Options
**Preview mode (recommended for first run):**
1. Analyze code and generate refactoring plan
2. Show diffs of proposed changes
3. Ask: "Apply these changes?"
**Direct mode:**
1. Analyze and apply changes immediately
2. Report what was changed
Skill analyzed: documentation-writer
Current state: Writes docs, user reviews manually
Upgrade opportunity:
Implementation:
## Phase 4: Quality Verification (NEW)
Before presenting documentation, run self-checks:
**Completeness:**
- [ ] All public APIs documented
- [ ] All parameters explained
- [ ] Return values specified
**Clarity:**
- [ ] No jargon without explanation
- [ ] Examples for complex features
- [ ] Clear section structure
If checks fail → Fix issues → Re-check → Present to user
See references/examples.md for more detailed scenarios.
Cel: Dogłębnie zrozumieć PO CO ten skill istnieje.
Kroki:
Read SKILL.md:
Read references/:
Understand user experience:
Identify core purpose:
Output: Jasne zrozumienie biznesowego celu i obecnego stanu skilla.
Goal: Find 3-5 most valuable potential upgrades across 22 categories
Analysis Process:
For each upgrade type (1-22), ask:
Use references/upgrade-types.md for detailed criteria.
Look for:
Red flags (avoid):
For each opportunity found:
Document:
## [Upgrade Name]
**Type:** #[number] [type name]
**Current state:** [what skill does now]
**Opportunity:** [what could be improved]
**Value:** [why this matters for business goal]
**Implementation:** [high-level approach]
**Effort:** Low/Medium/High
**Priority:** High/Medium/Low
Output: 3-5 concrete upgrade opportunities ranked by priority
Cel: Pokazać najlepsze opcje i dać userowi wybór.
Presentation format:
# Upgrade Opportunities for [skill-name]
## 🎯 Skill's Business Goal
[One sentence core purpose]
## 📊 Current State Analysis
**Co działa dobrze:**
- [Good aspect 1]
- [Good aspect 2]
**Gdzie można ulepszać:**
- [Opportunity area 1]
- [Opportunity area 2]
## 🚀 Top Upgrade Options
### Option 1: [Upgrade Name] ⭐
**Type:** [Type name from 22 types]
**Problem it solves:**
[Clear description of current limitation]
**How it works:**
[Konkretny opis co by się zmieniło]
**Value:**
- [Benefit 1]
- [Benefit 2]
**Example:**
[Before/after comparison or concrete scenario]
**Effort:** [Low/Medium/High]
---
### Option 2-5: [Continue similarly]
---
## 💡 Recommendation
Based on value vs effort, I recommend:
1. **[Option X]** - [brief why]
2. **[Option Y]** - [good second choice]
Concrete example (file-analyzer → batch processing):
## 🎯 Business Goal: Analyze files for quality/security issues
## 📊 Current State
Good: Clear per-file reports | Can improve: Must run 150x separately (slow)
## 🚀 Option 1: Batch Processing Mode ⭐
**Type:** #20 Batch processing
**Problem:** 150 separate invocations with repeated setup
**Solution:** Process multiple files at once with shared setup
**Value:** 10x faster, aggregate insights, single report
**Example:** Before: 150 commands | After: 1 command processes all
**Effort:** Medium
## 💡 Recommendation: Option 1 - highest impact for medium effort
Ask user:
"Które ulepszenia chcesz żebym zaimplementował? Wybierz 1-2 z powyższych opcji.
Możesz też:
Listen for:
Output: 1-2 wybrane ulepszenia z user approval.
Cel: Wprowadzić wybrane ulepszenia systematycznie i bezpiecznie.
Implementation workflow:
Plan implementation:
Implement first upgrade:
Verify first upgrade:
Implement second upgrade (if chosen):
Final integration check:
Implementation patterns:
Use references/implementation-patterns.md for detailed guidance on:
Track changes:
Create .tasks/skill-upgrade-[skill-name]-[date]/implementation.md:
# Implementation Log
## Upgrade 1: [Name]
**Changes made:**
- [File] line [X]: [change description]
- [File]: Added new section [name]
**Before:** [snippet]
**After:** [new version]
**Rationale:** [why]
## Upgrade 2: [Name]
[Same structure]
Output: Upgraded skill with both enhancements implemented.
Cel: Potwierdzić że ulepszenia działają i komunikować rezultat.
Verification checklist:
✅ Files are valid:
✅ Upgrades implemented:
✅ Quality maintained:
✅ Business goal better served:
Report to user:
# Skill Upgraded: [skill-name]
## ✅ Upgrades Implemented
### 1. [Upgrade Name]
**What changed:** [description]
**Where:** [files/sections]
**Value:** [how it helps]
### 2. [Upgrade Name]
[same structure]
## 📈 Improvements
**Before:** [key limitations]
**After:** [how it's better now]
**Example:** [scenario showing improvement]
## 🎯 Business Goal Impact
[How upgrades make skill better at its core purpose]
## 📝 Details
Full implementation log in `.tasks/skill-upgrade-[name]-[date]/`
## 🔄 Next Steps
Want more upgrades? Run upgrader again.
Remaining opportunities:
- [Option X]
- [Option Y]
Ask:
Skill is already excellent: Say so honestly. Look for minor polish (docs, examples). May not need upgrades.
Ambitious upgrade: Be honest about complexity. Break into phases or multiple runs. May need separate skill if different domain.
Conflicts with design: Explain why it doesn't fit. Propose alternative or note if it's a Refiner issue instead.
Multiple ideas same category: Present best 1-2. Others go to "future opportunities" for next run.
Reveals bigger issue: Note it but stay focused. User can address separately.
✅ Business goal understood & all 22 types considered ✅ 3-5 valuable options presented, user chose 1-2 ✅ Changes verified, no breakage, quality maintained ✅ Value delivered - skill measurably better ✅ Changes documented, user satisfied, can iterate
DO: Understand WHY skill exists. Consider all 22 types. Present clear value. Let user choose 1-2. Verify changes. Enable iteration.
DON'T: Confuse with Refiner (fix vs add value). Propose scope creep. Overwhelm with options. Implement without approval. Break functionality. Add complexity without value.
Approach: Strategic product manager. Present options, respect choices, deliver improvements.
Remember: Better ≠ bigger. Simpler often wins. Listen to user priorities. Business goal is the north star.