跳到正文
cccskills
免费在 GitHub 公开

skill-improver

Apply improvement plans from skill-quality-reviewer to Claude Skills. Groups edits by file, handles conflicting recommendations by priority, backs up originals, and verifies the updates before producing a report of changes and verification results.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

This skill should be used when the user asks to "apply skill improvements", "update skill from plan", "execute improvement plan", "fix skill issues", "implement skill recommendations", or mentions applying improvements from quality review reports. Reads improvement-plan-{name}.md files generated by skill-quality-reviewer and intelligently merges and executes the suggested changes to improve Claude Skills quality.

查看安装方法

适用场景

  • Applying recommended fixes from a skill quality review
  • Updating SKILL.md and reference files from a plan
  • Resolving conflicting improvement recommendations
  • Recording backups and verification results after updates

包含的文件(9)

  • SKILL.md6.9 KB
  • examples/improvement-plan-example.md2.0 KB
  • examples/update-report-example.md1.2 KB
  • references/error-handling.md812 B
  • references/merge-strategies.md14.1 KB
  • references/plan-format.md10.6 KB
  • references/supported-updates.md791 B
  • scripts/backup-skill.sh1.4 KB
  • scripts/verify-update.sh6.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Skill Improver

Execute improvement plans generated by skill-quality-reviewer to automatically update and fix issues in Claude Skills.

Core Workflow

Read improvement-plan-{name}.md
    ↓
Parse improvement items (High/Medium/Low priority)
    ↓
Group changes by file
    ↓
Detect and resolve conflicts
    ↓
Backup original files
    ↓
Execute updates (Edit or Write tools)
    ↓
Verify results
    ↓
Generate update-report

When to Use

Trigger phrases:

  • "Apply improvements from improvement-plan-git-workflow.md"
  • "Update my skill based on the quality report"
  • "Execute the improvement plan for api-helper"
  • "Fix the issues identified in quality review"

Use this skill when:

  • Applying improvements from an improvement plan
  • Updating a skill based on quality review feedback
  • Executing recommended fixes from skill-quality-reviewer
  • Implementing structured improvements to skill documentation

Step-by-Step Guide

Step 1: Load the Improvement Plan

Read the improvement-plan-{skill-name}.md file generated by skill-quality-reviewer.

# Plan is typically in current directory
ls improvement-plan-*.md

# Or specify full path
read /path/to/improvement-plan-my-skill.md

Validate the plan:

  • File exists and is readable
  • Contains priority sections (High/Medium/Low)
  • Has structured improvement items
  • Includes file paths and suggested changes

See references/plan-format.md for detailed plan structure.

Step 2: Parse and Group Changes

Extract all improvement suggestions and organize by target file.

Extract from each item:

  • File path (e.g., SKILL.md:line:line or references/file.md)
  • Dimension (Description Quality, Content Organization, etc.)
  • Impact (+X points)
  • Current content
  • Suggested content
  • Reason for change

Build update queue:

by_file = {
  "SKILL.md": [change1, change2, ...],
  "references/guide.md": [change3, ...],
  "examples/demo.md": [change4, ...],
}

Step 3: Detect and Resolve Conflicts

Check for conflicts when multiple changes affect the same content.

Resolution strategy:

  1. High priority takes precedence over medium/low
  2. If same priority, preserve first change
  3. Flag conflicts for manual review
  4. Document resolution in update report

See references/merge-strategies.md for detailed merge logic.

Step 4: Sort by Priority

Order changes by priority within each file.

Priority order:

  1. High Priority (execute first)
  2. Medium Priority (execute second)
  3. Low Priority (execute last)

Step 5: Backup and Execute

Backup location: ~/.claude/skills/backup/{skill-name}-{timestamp}/

# Use backup script
~/.claude/skills/skill-improver/scripts/backup-skill.sh <skill-path>

Apply changes:

  • Use Edit tool for existing content
  • Use Write tool for new files
  • Verify each change was applied

Step 6: Verify and Report

Verification checks:

  1. YAML syntax valid
  2. All modified files exist and are valid
  3. New files were created successfully
  4. No unintended changes occurred
# Use verify script
~/.claude/skills/skill-improver/scripts/verify-update.sh <skill-path>

Generate update-report-{skill-name}-{timestamp}.md documenting:

  • Summary (files modified, files created, total changes)
  • Changes Applied (per-file breakdown)
  • Quality Improvement (before/after scores)
  • Verification Results
  • Backup Location

See examples/update-report-example.md for report template.

Priority Handling

High Priority

Execute first. These typically address:

  • Critical description issues
  • Major writing style problems
  • Missing structural elements
  • Security-related concerns

Medium Priority

Execute after High. These typically address:

  • Content organization improvements
  • Additional examples
  • Documentation enhancements

Low Priority

Execute last. These typically address:

  • Minor clarifications
  • Nice-to-have improvements
  • Polish and refinement

Integration with Skill Quality Reviewer

This skill works seamlessly with skill-quality-reviewer:

Current Skill (67/100 D+)
    ↓ [skill-quality-reviewer]
Improvement Plan
    ↓ [skill-improver]
Improved Skill (87/100 B+)
    ↓ [skill-quality-reviewer]
Quality Report (validation)

Iterate until desired quality level reached.

Additional Resources

Reference Files

  • references/plan-format.md - Improvement plan file structure and format
  • references/merge-strategies.md - Detailed merge algorithms and conflict resolution
  • references/error-handling.md - Error handling strategies
  • references/supported-updates.md - Supported update types with examples

Example Files

  • examples/improvement-plan-example.md - Sample improvement plan
  • examples/update-report-example.md - Sample update report

Scripts

  • scripts/backup-skill.sh - Create backup of skill before updates
  • scripts/verify-update.sh - Verify skill integrity after updates

Best Practices

Before Applying Updates

  1. Review the improvement plan - Understand what will change
  2. Verify backup location - Ensure backups can be restored
  3. Check for manual changes - Note any uncommitted local modifications
  4. Estimate impact - Review expected quality improvement

During Update Execution

  1. Process in priority order - High → Medium → Low
  2. Verify after each file - Check updates were applied correctly
  3. Log all changes - Document what was modified
  4. Handle conflicts gracefully - Flag for review if needed

After Applying Updates

  1. Review the update report - Confirm all changes were intended
  2. Test the skill - Verify it still works correctly
  3. Compare scores - Check quality improvement matches expectations
  4. Keep backup - Retain backup until confident in changes

Usage Examples

Example 1: Apply improvements to local skill

User: "Apply improvements from improvement-plan-git-workflow.md"

[Claude executes the workflow:]
1. Reads improvement-plan-git-workflow.md
2. Parses all improvement items
3. Groups changes by file
4. Detects and resolves conflicts
5. Sorts by priority
6. Backs up git-workflow skill
7. Executes updates
8. Verifies results
9. Generates update-report-git-workflow-timestamp.md

Example 2: Update skill from quality review

User: "Update my api-helper skill based on quality report"

[Claude:]
1. Locates improvement-plan-api-helper.md
2. Applies all recommended changes
3. Verifies skill structure
4. Reports quality improvement: 72/100 → 91/100

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create and configure Claude Code agents using Markdown files with YAML configuration headers. Define when each agent should run, write its responsibilities and workflow, choose models and tools, and check configuration and triggering behavior.

中文简介正在准备中。当前显示英语简介。

  • Create a Claude Code subagent
  • Define triggering conditions with concrete examples
  • Configure an agent's model, color, and tools
Galaxy-Dawn/claude-scholar58472026年10月19日 更新

Add datasets, models, and other components to machine learning projects using consistent registration and creation patterns. The skill guides file placement, configuration, and automatic module loading so new components fit the project's established architecture.

中文简介正在准备中。当前显示英语简介。

  • Adding a registered Dataset class
  • Creating a model driven by configuration
  • Wiring registration and creation logic in a new module
Galaxy-Dawn/claude-scholar58472026年10月19日 更新

Investigate code errors through a structured process using reproduction steps, logs, and testable explanations. The workflow guides fault isolation, fixes, and follow-up checks, with common error patterns for Python, JavaScript/TypeScript, and Bash/Zsh.

中文简介正在准备中。当前显示英语简介。

  • Investigating an error using logs and reproduction steps
  • Finding why code broke after a recent change
  • Troubleshooting common shell script errors
Galaxy-Dawn/claude-scholar58472026年10月19日 更新

Check academic references for existence, accurate publication details, and support for the claims being cited. This guide explains how to verify sources, obtain bibliography entries, and flag references that cannot be confirmed.

中文简介正在准备中。当前显示英语简介。

  • Checking references suggested by AI
  • Verifying authors, titles, and publication years
  • Checking whether a paper supports a cited claim
Galaxy-Dawn/claude-scholar58472026年10月19日 更新

Review code changes and pull requests for correctness, security, performance, and test quality. The skill helps prioritize issues, write specific and constructive feedback, and create shared review checklists and standards for a development team.

中文简介正在准备中。当前显示英语简介。

  • Reviewing code changes and pull requests
  • Writing review comments with clear priorities and fixes
  • Creating shared review checklists for a team
Galaxy-Dawn/claude-scholar58472026年10月19日 更新

Create reusable slash commands, prompts invoked by typing a slash, for Claude Code. The skill explains Markdown structure, arguments, file references, tool permissions, and plugin integration so recurring tasks can follow a defined workflow.

中文简介正在准备中。当前显示英语简介。

  • Turning recurring prompts into slash commands
  • Creating review commands with arguments and file references
  • Sharing project-specific commands with a team
Galaxy-Dawn/claude-scholar58472026年10月19日 更新

查看 Galaxy-Dawn 的全部技能

报告此技能的问题