agentleFS
m-xlseam-xlsea/ruoyi-plus-soybean/.claude/skills/compound/SKILL.md

compound

Skill328 starsChanged 6 months agoMITView on GitHub

Sprint Quality Gate 通过后触发。提炼本 Sprint 学到的为结构化条目追加 lessons.md。

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brainstorm, ship and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

The file

Files
SKILL.md

/compound — 经验沉淀

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

输入

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

提炼方法

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

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

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

输出 (项目级)

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

格式见 pace/templates/details/lessons.md. Athena 不做跨项目知识管理——需要的话装 claude-mem 或 superpowers。

写入后同步更新 _index.md:

  • counts.lessons_lines += 新增条目数 (按 ## 头计)
  • pointers.latest_lesson = details/lessons.md#L<新条目行号>
  • fingerprints.lessons_mtime = 当前时间戳

自检

写入后读回验证:

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

写完告知用户: "Lessons updated. Next sprint R₀ 会自动读取 (按 _index.md.pointers.latest_lesson 跳转)."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.