Skip to content
Back to skills

Compound

ASecurity

跨 sprint 经验沉淀到 compound/。learning / trick / decision / explore 时触发。

  • 188 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
tools

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 22, 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-cb710f40/badge)](https://www.skillsdirectory.com/skills/wenjunduan-compound-cb710f40)

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
description: 跨 sprint 经验沉淀到 compound/。learning / trick / decision / explore 时触发。
---

# /compound — 复利知识沉淀

一事一档, ≤100 行。电报体: 教训一句话。模板 `templates/{learning,trick,decision,explore}.md`。

## 四类

| doc_type | 用途 | 触发 |
|---|---|---|
| **learning** | 踩坑 → 教训 | polish 完成 / review P0 / `/compound add learning` |
| **trick** | 可复用模式 | impl 发现写法 / `/compound add trick` |
| **decision** | 技术选型 | design 重大决策 / `/compound add decision` |
| **explore** | 调研结论 | 调研完成 / `/compound add explore` |

命名: `compound/YYYY-MM-DD-{doc_type}-{slug}.md`。slug=kebab-case, 禁空格/下划线/中文。

## 约束

- ≤100 行; 超出拆 slug。禁「压缩 pass」合并多事。
- `decision` 改状态用 `superseded-by: {slug}`, 不删。
- doc_type 四选一。frontmatter 必填 date/sprint/status。
- index-updater 按 type 计数。

## 写 / 读

| 时机 | 动作 |
|---|---|
| polish 完成 | learning |
| 独立 review P0 | learning |
| design 重大决策 | decision |
| impl 优雅 pattern | trick |
| 调研完成 | explore |
| plan 开始 | 读 `_index.pointers.latest_decisions` 近 5 个 decision |
| design | grep 相关 learning/trick |
| review | 查 decision 冲突与重复踩坑 |
| brainstorm | **不读** compound |

命令: `/compound add {type} {slug}` · `list [type]` · `search {keyword}`。

## archive

新 quarter 第一 sprint: 上 quarter 非 decision 迁 `.ai_state/archive-{quarter}/compound/`。decision 永留。旧 `lessons.md` 迁移动作见 athena-migrate。

Files in this skill

  • SKILL.md1.6 KB
  • templates/decision.md771 B
  • templates/explore.md694 B
  • templates/learning.md786 B
  • templates/trick.md541 B

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…