Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
中文简介正在准备中。当前显示原文说明。
Generates conventional commit messages from staged changes. Use when committing and needing a well-formatted message. Do not use for full PR prep; use pr-prep.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Gather context (run in parallel):
git status -sbgit diff --cached --statgit diff --cachedgit log --oneline -5leyline:sem-integration):
sem diff --staged --json for entity-level changesIf nothing is staged, tell the user and stop.
When sem output is available, use entity names (function, class, method) in the commit subject and body instead of parsing raw diff hunks. For example, "add function validate_webhook_url" instead of "add validation logic to notify.py".
Classify: Pick type (feat, fix, docs, refactor,
test, chore, style, perf, ci) and optional scope.
Draft the message:
<type>(<scope>): <imperative summary> (50 chars max)3a. Discussion trailer: when the change resolves a finding from the Discussions board, add a trailer on its own line:
Addresses-Discussion: #654
Addresses-Discussion: #604, #610
This is the only signal scripts/reconcile_discussions.py
accepts as proof a finding is done. It posts the resolution
comment and closes the discussion, so the board stops
carrying work that is already finished.
Only add it when this commit resolves the finding. Prose
that merely names a discussion is read as a mention and is
never written back. That distinction is load-bearing:
6b28aa1a says "posted 13 insights to discussions
#424-#436", which is the commit that opened those
discussions. A trailer there would have announced
"Addressed" on findings nobody had looked at yet.
Cite a discussion in the body for context as often as it helps. Reserve the trailer for resolution.
Slop check: reject these words and replace with plain alternatives:
| Reject | Use instead |
|---|---|
| leverage, utilize | use |
| seamless | smooth |
| comprehensive | complete |
| robust | solid |
| facilitate | enable |
| streamline | simplify |
| optimize | improve |
| delve | explore |
| multifaceted | varied |
| pivotal | key |
| intricate | detailed |
Also reject: "it's worth noting", "at its core", "in essence", "a testament to"
4a. Character-level slop check: load shared/output-hygiene.md
(Contract A) and strip these markers. Inline fallback if that
module is absent:
| Marker | Replace with |
|---|---|
"+" as a prose conjunction | and (keep + in versions/code) |
em-dash — | colon, period, comma, or rewrite |
-- as prose punctuation | colon or rewrite |
arrows -> / → as connectors | to / into |
smart quotes “ ” ‘ ’ | straight " and ' |
a , so tail after fact after fact | delete a consequence the reader can infer, else its own sentence |
4b. Subject-matter check (Contract B): describe the change by its
reader-facing effect. Name neither the AI origin nor the specific
marker removed. Do NOT write remove AI slop, de-slop,
AI-generated content, AI phrasing, replace em-dashes, or
remove smart quotes. Test: if the subject only makes sense as "I
cleaned up AI output", rewrite it. For example docs: clarify the setup section, not style: replace em-dashes with colons.
./commit_msg.txt and preview.git commit --no-verify or -ngit rev-parse HEAD before and after)
before reporting the commit as landed. An auto-fixing hook aborts
the commit while printing a tail that reads like success, so hook
output is not evidence. See discussion #614.commit_msg.txt written to the working directory containing
the drafted conventional commit message<type>(<scope>): <summary> format and
is at most 50 characters+ as prose
conjunction, no smart quotes, no -> as prose connector, so consequence tail
(scripts/slop_score.py --audit lists each as so_connective)还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
中文简介正在准备中。当前显示原文说明。
Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.
中文简介正在准备中。当前显示原文说明。
Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.
中文简介正在准备中。当前显示原文说明。
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
中文简介正在准备中。当前显示原文说明。
Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.
中文简介正在准备中。当前显示原文说明。
Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.
中文简介正在准备中。当前显示原文说明。