load-bearing-comments
Comment only the weirdness a competent reader would delete, as a terse marker plus a mandatory ticket/ADR/SHA reference. Load before writing or editing a code comment, and before deleting a check, constant, or ordering that carries a comment or marker.
- License 许可
- BSD-3-Clause
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- load-bearing-comments
- description
- Comment only the weirdness a competent reader would delete, as a terse marker plus a mandatory ticket/ADR/SHA reference. Load before writing or editing a code comment, and before deleting a check, constant, or ordering that carries a comment or marker.
03 SKILL.md 正文
Load-Bearing Comments
Comment the load-bearing weirdness. Nothing else.
Target: code a competent reader — human or agent — would call a bug, an inefficiency, or dead weight, and would therefore delete.
- Workarounds for upstream defects.
- Empirically tuned constants.
- Ordering dependencies that look arbitrary.
- Defensive checks for edge cases no test covers.
- Deliberate deviations from the surrounding convention.
A guardrail, not documentation
<!-- Why: an agent meets an unexplained null check, removes it, and reintroduces the bug someone fixed years ago — clean diff, passing suite, full confidence. -->
The comment never informs. It makes the reader stop. That is also its bound: everything outside that class stays out. A comment restating what a line plainly does ages into a lie.
Form: terse marker plus a reference
// Ordering matters here — see LW-4471
Never four sentences of inferred explanation. The marker says stop; the reference says go read why.
The reference is mandatory. Never merge a rationale comment without a ticket, ADR, or commit SHA. That turns an unverifiable assertion into a checkable one, and a model cannot invent a ticket number that resolves.
Cannot cite why the weirdness exists → you are inferring. Say so in those words, or omit the comment. A confident fabricated rationale is worse than none, because the next reader trusts it.
The inverse obligation
Before deleting a check, constant, or ordering that carries a marker: read the reference. Never treat
"the suite passes without it" as evidence — load the tests-are-authority skill, §Green is not proof. The test
for that bug is often the one nobody wrote, which is why the comment had to exist.
04 同仓库更多 Skills
foo
GH-649 fixture skill.
time-helper
Ask the time MCP server for the current time in any IANA timezone and convert times between timezones.
wrangler
暂无简介
varlock
Create and maintain `.env.schema` files in the varlock/@env-spec DSL. Use when adding env var definitions, migrating from `.env.example`, running varlock commands (init, load, run, encrypt, audit), debugging missing env vars, or wiring 1Password secrets.
thinking-partner
Find where the user's idea, plan, direction, or draft is wrong before they accelerate. Use on "I've been thinking", "what do you think", "assess this", "review my plan", "am I going the right direction", "should I". Not for code diffs.
tests-are-authority
An existing test encodes a decision already made; your change does not outrank it. Load when a test fails after your change, before editing an existing test, and before adding skip/xfail or loosening an assertion.