Meta skill improve

From FOURTEEN1416/academic-agent-toolkit · View interactive version

Meta skill improve is an AI agent skill from the GitHub repository FOURTEEN1416/academic-agent-toolkit. Use when the user asks to ”apply skill improvements”, ”update skill from plan”, or ”execute improvement plan”.

How to use this skill

Skill file

Skill Improver

Execute improvement plans generated by skill-quality-reviewer to automatically update and fix issues in Agent 技能(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:

Use this skill when:

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:

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:

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: _backup/{skill-name}-{timestamp}/ inside the repo (gitignored temp area; never write outside the checkout)

# 备份(上游 backup-skill.sh 未随本仓集成,用 cp -r 等价替代)
cp -r <skill-path> _backup/{skill-name}-{timestamp}/

Apply changes:

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
# 自查(上游 verify-update.sh 未随本仓集成,用本仓门禁工具等价替代)
python tools/check_asset_utilization.py --strict

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

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

Priority Handling

High Priority

Execute first. These typically address:

Medium Priority

Execute after High. These typically address:

Low Priority

Execute last. These typically address:

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

Example Files

Scripts

均未随本仓集成(2026-11-16): 下列两个上游脚本盘上不存在(已入 asset_gap_register.json);备份用 cp -r <skill-path> _backup/{skill-name}-{timestamp}/,验证用 python tools/check_asset_utilization.py --strict。

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"

[执行方(当前驱动 Agent)执行工作流:]
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"

[执行方(当前驱动 Agent):]
1. Locates improvement-plan-api-helper.md
2. Applies all recommended changes
3. Verifies skill structure
4. Reports quality improvement: 72/100 → 91/100
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.