ruoyi-plus-soybean: Skill for Claude Code

.claude/skills/compound/SKILL.md

compound is a skill for Claude Code from m-xlsea/ruoyi-plus-soybean. It costs 27 tokens per session (493 once invoked), scanned A, original, MIT.

A sprint-review skill that records reusable lessons learned after a quality gate passes. It extracts concrete patterns, pitfalls, and constraints from review reports and project changes.

In plain words
What is it for?
Use it after a sprint to update the lessons file with specific implementation discoveries, mistakes to avoid, or newly identified constraints.
Why use it?
Important findings from one sprint can otherwise be forgotten. Recording them gives future work a concise project history to consult.

Skill for Claude Code

Written for Claude Code: effort in frontmatter.

This is m-xlsea/ruoyi-plus-soybean's own configuration. It tells Claude Code how to work on ruoyi-plus-soybean itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ruoyi-plus-soybean configures →

Reuse

Borrowing it

Nothing to install: this file belongs to m-xlsea/ruoyi-plus-soybean. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/m-xlsea/ruoyi-plus-soybean/master/.claude/skills/compound/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/m-xlsea/ruoyi-plus-soybean

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for compound

README.md
[![agentmods](https://agentmods.dev/badge/skills/m-xlsea/ruoyi-plus-soybean/compound/github.svg)](https://agentmods.dev/skills/m-xlsea/ruoyi-plus-soybean/compound)
Your own site
<a href="https://agentmods.dev/skills/m-xlsea/ruoyi-plus-soybean/compound"><img src="https://agentmods.dev/badge/skills/m-xlsea/ruoyi-plus-soybean/compound/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for compound

Your own site · 80×15
<a href="https://agentmods.dev/skills/m-xlsea/ruoyi-plus-soybean/compound"><img src="https://agentmods.dev/badge/skills/m-xlsea/ruoyi-plus-soybean/compound.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00493
Opus 5 $0.00014 $0.00246
Sonnet 5 $0.00005 $0.00099
Haiku 4.5 $0.00003 $0.00049

Measured 10d ago against content hash d349a3db37a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

compound scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/compound/SKILL.md · 48 lines

What it actually says

/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 跳转)."

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 48 lines · 27 tokens per session scan A d349a3db37a7

Subscribe to this mod's changes

compound is a skill published in the GitHub repository m-xlsea/ruoyi-plus-soybean (325 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 493 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other skills, from other repositories