skill-enhancer
/skill-enhancer
AI-powered enhancement of skill SKILL.md files. Use to transform basic templates into comprehensive, high-quality skill documentation.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
AI-powered enhancement of skill SKILL.md files. Use to transform basic templates into comprehensive, high-quality skill documentation.
Original author description
AI-powered enhancement of skill SKILL.md files. Use to transform basic templates into comprehensive, high-quality skill documentation.
How it works
- Purpose
- Grounding Checkpoint (Archetype 1 Mitigation)
- Uncertainty Escalation (Archetype 2 Mitigation)
- Context Scope (Archetype 3 Mitigation)
- Enhancement Modes
- Workflow Steps
- Recovery Protocol (Archetype 4 Mitigation)
- Checkpoint Support
- Enhancement Quality Metrics
- Quality Validation
SKILL.md preview
---
namespace: aiwg
name: skill-enhancer
description: AI-powered enhancement of skill SKILL.md files. Use to transform basic templates into comprehensive, high-quality skill documentation.
tools: Read, Write, Bash
platforms: [all]
---
# Skill Enhancer Skill
## Purpose
Single responsibility: Enhance basic SKILL.md files using AI to extract better examples, create comprehensive guides, and improve overall skill quality. (BP-4)
## Grounding Checkpoint (Archetype 1 Mitigation)
Before executing, VERIFY:
- [ ] Skill directory exists with SKILL.md and references/
- [ ] Reference files contain actual content (not empty)
- [ ] Enhancement mode selected (local or API)
- [ ] Backup of original SKILL.md created
**DO NOT enhance without backing up original content.**
## Uncertainty Escalation (Archetype 2 Mitigation)
ASK USER instead of guessing when:
- Content quality too low for meaningful enhancement
- Multiple valid enhancement directions possible
- Target audience unclear
- Enhancement scope undefined (full vs partial)
**NEVER hallucinate content not present in references.**
## Context Scope (Archetype 3 Mitigation)
| Context Type | Included | Excluded |
|--------------|----------|----------|
| RELEVANT | SKILL.md, references/, skill purpose | Other skills |
| PERIPHERAL | Similar high-quality skills as examples | Unrelated documentation |
| DISTRACTOR | Source scraping details | Enhancement history |
## Enhancement Modes
| Mode | Method | Cost | Quality |
|------|--------|------|---------|
| Local | Claude Code Max plan | Free | 9/10 |
| API | Anthropic API | ~$0.05-0.20 | 9/10 |
| Manual | Guided template | Free | Variable |
## Workflow Steps
### Step 1: Backup Original (Grounding)
```bash
# Create backup
cp output/<skill-name>/SKILL.md output/<skill-name>/SKILL.md.backup
# Record backup timestamp
echo "Backup created: $(date)" > output/<skill-name>/.enhancement_backup
```
### Step 2: Analyze Current Content
```bash
# Check current SKILL.md quality
wc -l output/<skill-name>/SKILL.md
grep -c '```' output/<skill-name>/SKILL.md # Code examples
grep -c '^## ' output/<skill-name>/SKILL.md # Sections
# List reference files
ls -la output/<skill-name>/references/
# Sample reference content
head -50 output/<skill-name>/references/*.md
```
### Step 3: Execute Enhancement
**Option A: Local Enhancement (Recommended)**
Using Claude Code Max (no API costs):
```bash
# With skill-seekers
skill-seekers enhance output/<skill-name>/ --local
# This opens Claude Code in new terminal
# AI analyzes references and enhances SKILL.md
# Takes 30-60 seconds
```
**Option B: API Enhancement**
```bash
# Set API key
export ANTHROPIC_API_KEY=sk-ant-...
# Run API enhancement
skill-seekers enhance output/<skill-name>/ --api
```
**Option C: Manual Enhancement Template**
Use this prompt with any AI:
```
Analyze the reference documentation in the following files:
[list reference files]
Based on this documentation, enhance the SKILL.md to include:
1. 5-10 practical code examples (extracted from references)
2. Comprehensive quick reference section
3. Key concepts explanation
4. Common patterns and best practices
5. FAQ based on common questions in docs
Keep all content grounded in the actual documentation.
Do not invent features not present in references.
```
### Step 4: Validate Enhancement
```bash
# Compare before/after
wc -l output/<skill-name>/SKILL.md.backup output/<skill-name>/SKILL.md
# Check for code examples
grep -c '```' output/<skill-name>/SKILL.md
# Verify no hallucinations (spot check)
# Examples in SKILL.md should reference content in references/
```
### Step 5: Review Changes
```bash
# Show diff
diff output/<skill-name>/SKILL.md.backup output/<skill-name>/SKILL.md | head -100
# Or visual diff if available
code --diff output/<skill-name>/SKILL.md.backup output/<skill-name>/SKILL.md
```
## Recovery Protocol (Archetype 4 Mitigation)
On error:
1. **PAUSE** - Keep backup intact
2. **DIAGNOSE** - Check error type:
- `API error` → Switch to local mode
- `Low quality output` → Restore backup, try different approach
- `Timeout` → Retry with smaller reference set
- `Hallucination detected` → Restore backup, manual enhancement
3. **ADAPT** - Switch enhancement mode
4. **RETRY** - With different parameters (max 3 attempts)
5. **ESCALATE** - Restore backup, present options to user
**Rollback command:**
```bash
mv output/<skill-name>/SKILL.md.backup output/<skill-name>/SKILL.md
```
## Checkpoint Support
State saved to: `.aiwg/working/checkpoints/skill-enhancer/`
```
checkpoints/skill-enhancer/
├── original_skill_md.md # Backup of original
├── reference_analysis.json # What was analyzed
├── enhancement_config.json # Settings used
└── enhancement_log.txt # Process log
```
## Enhancement Quality Metrics
| Metric | Before | Target After |
|--------|--------|--------------|
| SKILL.md lines | ~75 | ~300-500 |
| Code examples | 0-2 | 5-10 |
| Sections | 3-5 | 8-12 |
| Quick reference | None | Comprehensive |
| FAQ | None | 5-10 questions |
## Quality Validation
After enhancement, verify:
1. **No Hallucinations**: All examples exist in references
2. **Completeness**: All major topics covered
3. **Accuracy**: Code examples are syntactically correct
4. **Usefulness**: Answers common questions
5. **Navigation**: Clear links to reference files
```bash
# Spot-check example against references
example=$(grep -A 5 '```' output/<skill-name>/SKILL.md | head -6)
grep -r "$example" output/<skill-name>/references/
# Should find matching content
```
## Configuration Options
```json
{
"skill_dir": "output/myskill/",
"mode": "local",
"options": {
"max_examples": 10,
"include_faq": true,
"include_quick_ref": true,
"preserve_sections": ["Description", "Key Features"],
"enhance_sections": ["Code Examples", "Quick Reference", "FAQ"]
},
"quality": {
"min_examples": 5,
"min_lines": 200,
"require_navigation": true
}
}
```
## Common Enhancement Patterns
### Pattern 1: Example Extraction
Find code blocks in references, select most practical ones.
### Pattern 2: FAQ Generation
Identify question-like content, common patterns, edge cases.
### Pattern 3: Quick Reference
Extract key APIs, common parameters, return types.
### Pattern 4: Best Practices
Identify recommendations, warnings, tips in documentation.
## Troubleshooting
| Issue | Diagnosis | Solution |
|-------|-----------|----------|
| No improvement | References too sparse | Add more reference content first |
| Hallucinations | AI invented features | Restore backup, use stricter prompt |
| Timeout | References too large | Enhance in sections |
| Quality low | Poor reference quality | Clean references first |
## References
- Skill Seekers Enhancement: https://github.com/jmagly/Skill_Seekers
- REF-001: Production-Grade Agentic Workflows (BP-2 direct functions, BP-4)
- REF-002: LLM Failure Modes (Archetype 2 over-helpfulness critical)
Versions
The database has no other skills named skill-enhancer.
Identical content appears in 2 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 405225ef7346 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 81behavior-enhancer
行为纪律:先读后写、失败收敛、并行收敛、写后检查与回滚、高风险确认、验证证据。修改文件或调用工具前使用;宿主有插件版时优先装插件版。 - 95behavior-enhancer-skill
Behavior discipline for agent tool calls: read files before editing, converge after failures, cap parallel calls after errors, verify writes with rollback, confirm destructive commands, and back every change with verification evidence. Use before modifying files or invoking… - 95claude-md-enhancer
Analyzes, generates, and enhances CLAUDE.md files for any project type using best practices, modular architecture support, and tech stack customization. Use when setting up new projects, improving existing CLAUDE.md files, or establishing AI-assisted development standards. - 96readability-enhancer
Readability Enhancer. Use when working with text and optional reader level. - 100prompt-enhancer
Transform poor or overly simple prompts with expert-level framing. Use when the user explicitly asks to improve, refine, or rewrite a prompt, or wants help framing a request for another AI system. Do NOT use for authoring, reviewing, or migrating system prompts or skills… - 100prompt-enhancer
将用户给出的"弱提示词 / 草稿指令"按《开发强指令》方法论增强为生产级强指令。方法论核心为八段式结构(角色+目标 -> 上下文 -> 复述对齐 -> 先思考 -> 执行要求 -> 明确不要 -> 自我批评 -> 输出与验收),配套八条指导思想(角色目标 / 复述对齐 / 先思考 / 明确不要 / 自我批评 / 不同方向 / 给例子 / 充分上下文)。当用户说"增强提示词"、"强化提示词"、"优化一下这段 prompt"、"把这句需求改写成强指令"、"按开发强指令方法论改写"、"enhance/strengthen this…