skill-improver
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Improver
Skill Improver
Retrospect and improve Skills/Workflows based on real execution artifacts, making the skill chain more stable with use.
基于真实执行产物回顾并优化Skills/Workflows,让技能链在使用过程中更稳定。
Input (pass path only)
输入(仅需传入路径)
- :
run_dir(orruns/<workflow>/active/<run_id>/)openspec/changes/<change-id>/
- :
run_dir(或runs/<workflow>/active/<run_id>/)openspec/changes/<change-id>/
Output
输出
- : Improvement suggestions (can be directly converted to change tasks)
improvements.md - Optional: Minimal patch to relevant (only change what's necessary)
SKILL.md
- :优化建议(可直接转化为变更任务)
improvements.md - 可选:对相关的最小化补丁(仅修改必要内容)
SKILL.md
Process
流程
- Read and
logs/state.json, extract:logs/events.jsonl- Failure points (error types, frequency, missing context)
- Time bottlenecks (repetitive steps, ineffective searches, excessive context)
- Manual confirmation points (whether too early/too late/missing)
- Check artifact contracts:
- Whether each step has persisted output
- Whether only paths are passed instead of content
- Whether there are inconsistent naming/paths
- Output improvement suggestions (sorted by benefit):
- Prompt/trigger word optimization
- I/O contract completion (add required fields, fix artifact file names)
- Error handling and rejection strategies
- Suggest new deterministic scripts (only when necessary)
- 读取和
logs/state.json,提取:logs/events.jsonl- 失败点(错误类型、出现频率、缺失的上下文)
- 时间瓶颈(重复步骤、低效搜索、过多上下文)
- 人工确认点(是否过早/过晚/缺失)
- 检查产物契约:
- 每个步骤是否都持久化了输出
- 是否仅传递路径而非内容
- 是否存在命名/路径不一致的情况
- 输出优化建议(按收益排序):
- 提示词/触发词优化
- I/O契约完善(添加必填字段、修正产物文件名)
- 错误处理与拒绝策略
- 建议新增确定性脚本(仅在必要时)
Output Template (recommended)
推荐输出模板
- Overview: Core issues from this run
- Top Issues (high → low): Each includes "symptom/root cause/fix suggestion/related skill/suggested change point"
- Suggested Minimal Change List: Listed by file
- 概述:本次运行中的核心问题
- 首要问题(从高到低优先级):每个问题包含"症状/根本原因/修复建议/相关技能/建议修改点"
- 建议的最小变更列表:按文件列出