AI 技能 Improve
- 作者仓库星标 29
- 许可证 MIT
- 作者仓库 ai-engineering
ai-skill-improve
Quick start
/ai-skill-improve ai-plan # evolve one skill
/ai-skill-improve all --dry-run # preview every skill
/ai-skill-improve all # batch evolve with evals
Workflow
Improve existing skills using evidence from real project pain (prior eval corpora under .ai-engineering/evals/, Engram cross-session observations via MemoryPort, LESSONS.md operator notes, decision-store, instincts, proposals). The skill owns pain diagnosis and rewrite strategy; it delegates the eval/grade/benchmark pipeline to Anthropic's skill-creator. Output is PR-comment only — never auto-merged (sub-007 M6).
- Phase 0.5 — load corpora (
.ai-engineering/evals/<skill>.jsonl), Engram observations (/ai-memoryMCP), andLESSONS.mdH3 sections that mention the target skill. - Phase 1 — load remaining pain context (decision-store, observations.yml, proposals.md).
- Phase 2 — analyze the target skill, score the 5 dimensions.
- Phase 3 — generate test prompts that exercise the failing pattern.
- Phase 4 — rewrite the skill (Start-Here, pain-injection, scope-gates, structured classification).
- Phase 5 — emit the proposed SKILL.md diff as a PR comment via
gh pr comment. Do not commit or push. Operator review is the merge gate. - Phase 6 — verify improvement on the operator's branch (pass-rate delta vs prior iteration).
Detail: see audit document skeleton, the six-phase protocol (load → analyze → generate → rewrite → eval → verify), batch mode for
all.
When to Use
- A skill keeps producing bad output despite correct instructions.
- You've accumulated corrections in LESSONS.md that a skill should already know.
- After a batch of sessions where the same skill pattern failed repeatedly.
- Periodic hygiene: evolve the top 10 skills once a month.
- NOT for creating new skills from scratch — use
/ai-scaffold. - NOT for platform audit — use
/ai-ide-audit.
Step 0 (load contexts): read .ai-engineering/manifest.yml providers.stacks; load .ai-engineering/overrides/<stack>/conventions.md for each stack and .ai-engineering/overrides/_shared/conventions.md; load .ai-engineering/team/*.md for team conventions.
Common Mistakes
- Rewriting before reading the pain profile.
- Skipping
--dry-runon batch (you'll burn rate limits). - Inventing test prompts that mirror the skill's own examples (no drift signal).
- Leaving Phase 5 evals unrun and declaring the skill "improved".
Examples
Example 1 — single-skill evolution from accumulated pain
User: "the /ai-plan skill keeps producing decomposition that ignores constraint X. Improve it."
/ai-skill-improve ai-plan
Loads pain context from LESSONS.md and proposals.md, scores ai-plan on 5 dimensions, generates 2-3 test prompts that exercise the failing pattern, rewrites SKILL.md, hands off to skill-creator for eval, reports the delta.
Example 2 — dry-run batch preview
User: "preview what improving every skill would change before I commit time to running evals"
/ai-skill-improve all --dry-run
Walks every skill in priority tier order, shows the proposed diff per skill, and stops short of running the eval pipeline.
Integration
Reads: decision-store.json, LESSONS.md, observations.yml, proposals.md, manifest.yml. Writes: target SKILL.md files. Calls: python scripts/sync_command_mirrors.py after rewrites. Delegates to: Anthropic skill-creator (eval/grade/benchmark, Phase 5). Feeds into: /ai-learn. See also: /ai-scaffold (new skills), /ai-ide-audit (cross-IDE).
$ARGUMENTS
- 流狐分类
- AI 智能 · meta · improvement · skills
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 100 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @arcasilesgroup · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
作者没有在当前 SKILL.md 中定义固定输出样例。 Quick start
Improve existing skills using evidence from real project pain (prior eval corpora under .ai-engineering/evals/, Engram cross-session observations via MemoryPort, LESSONS.md operator notes, decision-store, instincts, proposals). The skill owns pain diagnosis…
# ai-skill-improve
## Quick start
```
/ai-skill-improve ai-plan # evolve one skill
/ai-skill-improve all --dry-run # preview every skill
/ai-skill-improve all # batch evolve with evals
```
## Workflow
Improve existing skills using evidence from real project pain (prior eval corpora under `.ai-engineering/evals/`, Engram cross-session observations via `MemoryPort`, `LESSONS.md` operator notes, decision-store, instincts, proposals). The skill owns pain diagnosis and rewrite strategy; it delegates the eval/grade/benchmark pipeline to Anthropic's `skill-creator`. **Output is PR-comment only — never auto-merged** (sub-007 M6).
1. **Phase 0.5** — load corpora (`.ai-engineering/evals/<skill>.jsonl`), Engram observations (`/ai-memory` MCP), and `LESSONS.md` H3 sections that mention the target skill.
2. **Phase 1** — load remaining pain context (decision-store, observations.yml, proposals.md).
3. **Phase 2** — analyze the target skill, score the 5 dimensions.
4. **Phase 3** — generate test prompts that exercise the failing pattern.
5. **Phase 4** — rewrite the skill (Start-Here, pain-injection, scope-gates, structured classification).
6. **Phase 5** — emit the proposed SKILL.md diff as a PR comment via `gh pr comment`. **Do not commit or push.** Operator review is the merge gate.
7. **Phase 6** — verify improvement on the operator's branch (pass-rate delta vs prior iteration).
> Detail: see [audit document skeleton](references/output-skeleton.md), [the six-phase protocol (load → analyze → generate → rewrite → eval → verify)](references/six-phase-protocol.md), [batch mode for `all`](references/batch-mode.md).
## When to Use
- A skill keeps producing bad output despite correct instructions.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Quick start → Workflow → When to Use → Common Mistakes → Examples → Example 1 — single-skill evolution from accumulated pain
要点 -> Output is PR-comment only — never auto-merged · Phase 0.5 · Phase 1 · Phase 2 · Phase 3 · Phase 4 · Phase 5 · Do not commit or push.
文件/命令 -> .ai-engineering/evals/ · MemoryPort · LESSONS.md · skill-creator · .ai-engineering/evals/<skill>.jsonl · /ai-memory · gh pr comment · all
内容 SHA-256 -> 2a10be9e6082
方法与流程
适用与边界
原文中的明确线索
.ai-engineering/evals/、MemoryPort、LESSONS.md、skill-creator、.ai-engineering/evals/<skill>.jsonl、/ai-memory、gh pr comment、all