From rcc
Optimizes a single existing Claude Code skill through task-based workflow: analyze structure, gather context, research best practices, identify/apply improvements, validate/review. For 'improve skill' or similar.
npx claudepluginhub wayne930242/reflexive-claude-codeThis skill uses the workspace's default tool permissions.
**Improving skills IS refactoring documentation for clarity and effectiveness.**
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.
Improves existing Claude Code skills using audit findings or manual directions. Orchestrates phases for locating skills, checking audits, research caching, planning, and editing.
Refines and validates existing Claude Code skills for clarity, efficiency, and production readiness. Use for improving structure, best practices, token reduction, and production checks.
Share bugs, ideas, or general feedback.
Improving skills IS refactoring documentation for clarity and effectiveness.
Analyze current state, research best practices, apply targeted improvements.
Core principle: Improve what exists—don't rewrite from scratch unless necessary.
Violating the letter of the rules is violating the spirit of the rules.
Pattern: Node Handoff: none Next: none
Before ANY action, create task list using TaskCreate:
TaskCreate for EACH task below:
- Subject: "[improving-skills] Task N: <action>"
- ActiveForm: "<doing action>"
Tasks:
Announce: "Created 6 tasks. Starting execution..."
Execution rules:
TaskUpdate status="in_progress" BEFORE starting each taskTaskUpdate status="completed" ONLY after verification passesTaskList to confirm all completedGoal: Understand the skill's current state.
Read the skill:
cat <skill-path>/SKILL.md
ls -la <skill-path>/
Document:
Common issues:
Verification: Have documented purpose, triggers, and issues.
Goal: Understand how the skill fits the project.
Search for usage:
grep -r "[skill-name]" . --include="*.md"
Questions:
Verification: Understand skill's role in project context.
Goal: Find current best practices for the skill's domain.
WebSearch:
[skill domain] best practices 2025
[skill domain] patterns
Optional: External skills search
If claude-skills-mcp is available:
mcp__claude-skills-mcp__search_skills query="[skill domain]"
Compare with community implementations.
Verification: Have list of best practices to consider.
Goal: Create specific improvement plan.
Check against standards:
Improvement types:
| Issue | Improvement |
|---|---|
| Vague triggers | Add specific "Use when..." phrases |
| No task list | Add Task Initialization section |
| No verification | Add verification criteria per task |
| No Red Flags | Add anti-rationalization section |
| Too long | Extract to references |
| Outdated | Update to current best practices |
Verification: Have specific list of improvements to make.
Goal: Make targeted edits to the skill.
CRITICAL: Make focused edits, not full rewrites.
Order of changes:
For each change:
Verification: All identified improvements applied.
Goal: Verify skill meets quality standards.
Validation:
python3 scripts/validate_skill.py <skill-path>
Or manual checklist:
Quality review:
Invoke skill-reviewer subagent:
Task tool:
- subagent_type: "rcc:skill-reviewer"
- prompt: "Review skill at [path]"
Outcomes:
Verification: skill-reviewer returns "Pass".
These thoughts mean you're rationalizing. STOP and reconsider:
All of these mean: You're about to make things worse. Follow the process.
| Excuse | Reality |
|---|---|
| "Full rewrite" | Targeted fixes preserve what works. Edit, don't rewrite. |
| "Skip research" | Best practices evolve. Check current standards. |
| "Fine as-is" | If you're here, something needs improvement. Find it. |
| "Skip validation" | Small changes can break things. Validate. |
| "No Red Flags" | Every discipline skill needs anti-rationalization. |
digraph improve_skill {
rankdir=TB;
start [label="Improve skill", shape=doublecircle];
analyze [label="Task 1: Analyze\ncurrent skill", shape=box];
context [label="Task 2: Gather\nproject context", shape=box];
research [label="Task 3: Research\nbest practices", shape=box];
identify [label="Task 4: Identify\nimprovements", shape=box];
apply [label="Task 5: Apply\nimprovements", shape=box];
validate [label="Task 6: Validate\nand review", shape=box];
pass [label="Review\npassed?", shape=diamond];
done [label="Skill improved", shape=doublecircle];
start -> analyze;
analyze -> context;
context -> research;
research -> identify;
identify -> apply;
apply -> validate;
validate -> pass;
pass -> done [label="yes"];
pass -> apply [label="no\nfix"];
}
writing-skills skill for full rewritesskill-reviewer subagent for quality review