Skip to content
Back to skills

Compound

ASecurity

Sprint 的 Quality Gate 通过后触发。把本 Sprint 学到的提炼为结构化条目追加 lessons.md,供下次 R₀ 读取。

  • 188 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
code-qualitygitapi

Works with

  • api

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add WenJunDuan/Rlues --skill compound --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compound?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compound
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenjunduan-compound-rlues/badge)](https://www.skillsdirectory.com/skills/wenjunduan-compound-rlues)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: compound
effort: xhigh
description: >
  Sprint 的 Quality Gate 通过后触发。把本 Sprint 学到的提炼为结构化条目追加 lessons.md,供下次 R₀ 读取。
---

# /compound — 经验沉淀

Gate PASS 后触发 (或用户显式调用 /compound)。

## 输入
- .ai_state/reviews/sprint-N.md (审查报告)
- git diff (本 Sprint 的所有变更)
- .ai_state/tasks.md (完成项)
- .ai_state/design.md (设计 vs 实际实现对比)

## 提炼方法

从以上输入里**找真实发现**,不写仪式性废话。每 Sprint 0-N 条不强制。

- **Pattern**: 什么解法有效且可复用?(带代码行号 / 文件路径)
- **Pitfall**: 什么坑踩过?未来同类场景要提前避开
- **Constraint**: 发现的新约束 (依赖版本、环境、性能边界、API 限制)

没发现可提炼的 → 不写,直接告知用户 "no new lesson"。**不允许编造。**

## 输出 (项目级)

追加到 .ai_state/lessons.md (append-only, 不修改历史)。

格式见 templates/lessons.md。**Hermes 不做跨项目知识管理**——需要的话装 [claude-mem](https://github.com/AnyResearch/claude-mem) 或 superpowers。

## 自检

写入后读回验证:
1. 条目有具体的文件/行号/版本引用 (不只是"要注意 X")
2. 一句话标题能让下次 R₀ 快速扫描命中
3. Pattern/Pitfall/Constraint 三段不强制全有,但至少有一段

写完告知用户: "Lessons updated. Next sprint R₀ 会自动读取。"

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…