skill-enhancer
Skill Enhancer
Supplement existing skills with new content — sections, references, agents, scripts, examples — guided by skill-creator writing standards. The user says what they want to add; this skill figures out the best way to do it according to established norms, then executes after confirmation.
This skill is strictly additive. It does not refactor, remove, or reorganize existing content — that's skill-optimizer's job. It does not diagnose problems — that's skill-reviewer's job. It adds what's missing or insufficient, following the same standards those tools enforce.
When to Use
- "Add error handling to this skill", "supplement the evaluation section"
- "This skill needs a grader agent", "add reference docs"
- "Expand the examples", "add a scripts/ directory"
- "The skill is missing X, can you add it?"
- After skill-reviewer identifies gaps, to fill them properly
- When extending a skill's capabilities with new content
/skill-enhancer <path-to-skill> <what to add>
Accepts a skill directory path or a direct path to a SKILL.md file, plus a description of what the user wants to add.
Examples:
/skill-enhancer skills/skill-reviewer "add a grader agent for scoring audit findings"
/skill-enhancer skills/skill-auditor "add detailed examples to the evaluation flow"
/skill-enhancer skills/skill-optimizer "supplement error handling for each refactoring step"
Phase 1: Understand Intent and Context
Step 1: Load the target skill
Read the target skill's SKILL.md fully. Also read all files under the skill's references/, agents/, scripts/, and assets/ directories (if they exist). Build a mental model of what the skill currently does, how it's structured, and where the user's requested content would fit.
Step 2: Load relevant writing standards
Read the reference files from this skill's directory based on what the user wants to add:
- Adding a section to SKILL.md → read
references/writing-standards.md - Adding reference files, agents, or scripts → read
references/structure-patterns.md - Any enhancement → read
references/enhancement-checklist.md(always load this)
These references contain the skill-creator standards that guide how content should be written and organized. Every recommendation this skill makes traces back to a specific standard in these files.
Step 3: Classify the enhancement type
Determine what category of content the user wants to add:
| Type | Examples | Primary reference |
|---|---|---|
| Section | New phase, error handling, workflow step | writing-standards.md |
| Reference | Format spec, lookup table, detailed procedure | structure-patterns.md |
| Agent | Grader, comparator, specialized subagent | structure-patterns.md |
| Script | Automation, deterministic operation, helper tool | structure-patterns.md |
| Example | Input/output pairs, usage demonstrations | writing-standards.md |
| Mixed | Combination of the above | both references |
Phase 2: Plan the Enhancement
Step 1: Determine where the content belongs
Place new content at the appropriate level using the progressive disclosure principle. Read references/writing-standards.md §1 (Progressive Disclosure) for the decision rule and examples — it covers which content belongs in SKILL.md body vs references/ vs scripts/ vs agents/.
When the user asks to "add a section" but the content is procedural and would push SKILL.md over its line budget, recommend splitting: a brief routing pointer in SKILL.md, with details in a reference file.
Step 2: Check the line budget
Read references/writing-standards.md §2 (Line Budget) for the 500-line target and splitting strategy. Count the current SKILL.md line count, estimate the addition, and show the math in the plan.
Step 3: Draft the enhancement plan
Generate a plan that shows exactly what will change. The plan has four parts:
User Intent — Restate what the user asked for to confirm understanding.
Standards Reference — Which standard from which reference file applies, and what it says. This makes the reasoning transparent — the user can see why you're recommending a particular structure.
Change Plan — A table of file-level changes:
| # | Change Type | File Path | Description |
|---|------------|-----------|-------------|
| 1 | Modify | SKILL.md | Add "Error Recovery" section after Phase 2 |
| 2 | Create | references/error-recovery.md | Detailed error table and recovery procedures |
| 3 | Create | agents/validator.md | Validation subagent instructions |
Content Outline — For each change, a brief outline of what the content will cover. Enough detail that the user can judge whether it matches their intent, but not the full content yet.
Progressive Disclosure Check — Current line count, estimated post-enhancement line count, and whether any splitting is needed.
Step 4: Present and confirm
Show the plan to the user. Wait for confirmation before writing any files. If the user wants adjustments, revise the plan and present again.
Phase 3: Generate Content
Step 1: Write the content
Generate all new content according to the confirmed plan. Follow the writing standards from the reference files:
For SKILL.md sections:
- Follow the writing standards in
references/writing-standards.md§3 (Writing Style) — explain the why behind important instructions rather than using rigid MUST/NEVER directives - Use imperative form ("Read the file", not "The file should be read")
- Keep the section focused on flow-control: what to do, when to do it, what decisions to make
- Defer procedural details (lookup tables, format specs, multi-step sub-procedures) to reference files when they exceed 15 lines
For reference files:
- Include a table of contents if the file exceeds 300 lines
- Write clear section headers so the model can navigate to the relevant part
- Reference the file from SKILL.md with guidance on when to load it — not just a path, but the condition: "Read
references/error-recovery.mdwhen a validation error occurs in Step 3"
For agent files:
- Read
references/structure-patterns.md§3 (Agent Files) for the standard structure and self-containment requirements - Follow the pattern used by existing agents in the project (e.g., grader.md, comparator.md in sibling skills)
For script files:
- Read
references/structure-patterns.md§4 (Script Files) for requirements on shebangs, permissions, and module structure
For examples:
- Show realistic, non-trivial input/output pairs under 30 lines each
- If the target skill has no existing examples, use the Input/Output or Before/After pattern from
references/writing-standards.md§5
Step 2: Check consistency with existing content
Before showing the diff, verify:
- New sections don't contradict existing instructions
- New reference files don't duplicate content already in SKILL.md or other references
- New pointers from SKILL.md correctly name the files being created
- Writing style matches the rest of the skill (if the skill uses a conversational tone, don't add a section in formal academic style)
Step 3: Preview and confirm
Show a unified diff preview of all changes, grouped by file:
- For modified files: show the additions in context (a few surrounding lines)
- For new files: show the full content
- For each change, note which standard it follows
Present to the user: "Apply these changes? (yes / no / adjust)"
Step 4: Apply
Write all confirmed changes. For new script files, set appropriate permissions.
Phase 4: Verify
Quick verification pass after applying changes. Check five things:
- Reference integrity — Every file path mentioned in SKILL.md exists on disk. Every new reference/agent/script file is pointed to from SKILL.md with a "when to load" condition.
- No new duplication — The added content doesn't repeat information already present in SKILL.md or other reference files.
- Line budget — SKILL.md total line count is within the 500-line budget.
- Writing style — New content uses imperative form, explains rationale for important guidance, and avoids excessive MUST/NEVER directives.
- Description update — If the enhancement changes the skill's capabilities (adding a new mode, new output type, new trigger scenario), the description field may need updating. Read
references/enhancement-checklist.md§7 (Description Update Decision) for the decision criteria. Show the current description and suggest additions — but don't modify it without user confirmation, because description changes affect triggering behavior.
Output a brief verification report:
# Enhancement Verification
- Reference integrity: [PASS/FAIL] — details if FAIL
- No new duplication: [PASS/FAIL] — details if FAIL
- Line budget: N/500 [PASS/FAIL]
- Writing style: [PASS/FAIL] — details if FAIL
- Description update: [needed/not needed] — suggestion if needed
If any check fails, note what needs fixing and offer to fix it.
Boundary with Other Skills
This skill occupies a specific niche in the skill quality toolkit. Understanding the boundaries prevents overlap and helps choose the right tool:
- skill-reviewer diagnoses problems (read-only). It may identify gaps that skill-enhancer can fill — the two work well in sequence.
- skill-optimizer refactors and restructures existing content. If the user wants to improve what's already written, use optimizer. If they want to add what's not there yet, use enhancer.
- skill-auditor tests whether a skill works at runtime. After enhancing a skill, auditor can verify the additions actually help.
The typical workflow when improving a skill: reviewer → enhancer → optimizer → auditor. Each tool handles a different concern, and the user can enter at any point.
Resource Reference
Writing standards and structural patterns are in the references/ directory. Load them during Phase 1 based on what the user wants to add — they contain the skill-creator standards that back every recommendation.
references/writing-standards.md— How to write skill content: progressive disclosure, line budgets, writing style, examplesreferences/structure-patterns.md— How to organize skill directories: reference files, agents, scripts, assetsreferences/enhancement-checklist.md— Per-content-type checklists for what to verify before and after enhancement
More from lone-yu-cmd/prizmrecommandskills
review-loop
Iterative review-fix loop with three agents. Spawns a read-only Reviewer agent to analyze workspace diff against user goals, main agent filters findings for reasonableness, then a Dev agent applies fixes. Loops until the Reviewer finds no issues. Use this skill after completing code changes that need quality assurance. Trigger on: 'review loop', 'review and fix', 'review-fix cycle', 'iterative review', 'help me review and fix'. (project)
7skill-optimizer
Audit and optimize SKILL.md files against skill-creator writing standards. Use this skill whenever someone wants to review skill quality, a skill feels too long or triggers poorly, before releasing a skill, or when restructuring skill content. Triggers on: 'optimize skill', 'audit skill', 'review skill quality', 'skill health check', 'skill too long'.
5skill-reviewer
Static audit of SKILL.md files against skill-creator writing standards. Use this skill whenever someone wants to review skill quality, check a skill's health, audit a skill before publishing, verify a skill follows best practices, or diagnose issues with a skill's structure, description, or instructions. Triggers on: 'review skill', 'audit skill', 'check skill quality', 'skill health check', 'diagnose skill', 'is this skill well-written', 'skill lint'.
4skill-auditor
Evaluate skill effectiveness through test runs, grading, benchmarking, and A/B comparison. Use this skill whenever someone wants to test a skill against real prompts, measure skill quality with quantitative metrics, compare two skill versions, benchmark skill performance, optimize a skill's description for better triggering, or run evals. Triggers on: 'test this skill', 'run evals', 'benchmark skill', 'compare skill versions', 'skill triggering', 'does this skill work', 'eval skill'.
3prompt-optimizer
Optimize and improve prompts before sending them to Claude Code. Use this skill whenever the user says 'optimize prompt', 'improve this prompt', 'help me rewrite this instruction', 'how to write this prompt better', or any variation of wanting to refine, polish, or enhance a prompt/instruction they plan to give Claude. Also trigger when the user provides a draft prompt and asks for feedback or improvements, even if they don't use the word 'prompt' explicitly.
3