review-change
Review a change in this repository against its invariants, specifications, tests, and documentation contract.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- review-change
- description
- Review a change in this repository against its invariants, specifications, tests, and documentation contract.
03 SKILL.md 正文
Review a change
- Read
AGENTS.mdand the specification module the change touches. Review the whole diff, not the summary of it. - Check the nine invariants in
AGENTS.mdone at a time: specs decide behaviour; libpachinko performs no effect itself;Send + Sync + 'static,Clone,Debugand#[non_exhaustive]on every public type; nounsafe;pachinkodepends onlibpachinko, never the reverse; pedantic clippy withexpectonly; the coverage floor intact;Cargo.lockthe pin with caret ranges and--locked; no dependency without the decision-0007 note. - Check the change against the specification it implements. A rule, guard or threshold decided in code rather than in
docs/specs/is a finding even when the behaviour looks right. - Check the test evidence. A test that only asserts a function was called is not evidence; a test that supplies values through a fake and asserts what the library did with them is. A public item without a doctest that asserts is a finding.
- Check the boundaries. libpachinko reaches the clock, randomness, the filesystem, the network, the environment and threads only through its own traits; the real implementations live in pachinko; no test replaces a trait with a global or a thread-local. Run
just effects, and read libpachinko's diff for a directstd::fs,std::time,std::env,std::net,std::processorstd::threadcall that its std-API bans miss: one newer than the list incrates/libpachinko/clippy.toml, or one behind another target'scfg, a mix of features,cfg(not(clippy))or a customcfg. - Check documentation ownership. A durable fact belongs on the page that owns its topic in
docs/manifest.yml, added there rather than restated. - Check scope. Unrelated refactors, new dependencies and speculative abstractions are findings in themselves.
- Report findings by severity with
file:line, what breaks, and the smallest fix. Runjust checkbefore concluding.
04 同仓库更多 Skills
witness
Independently witness that an Allium loop's convergence claim is true and was reached honestly. Use when the user wants to verify a loop's self-report, confirm tests really pass and no generated test was weakened, produce a convergence certificate or witness record, gate CI on a trustworthy signal, or check that an autonomous run did not cheat its way to green.
weed
Weed the Allium garden. Find where Allium specifications and implementation code have diverged, and help resolve the divergences. Use when the user wants to check spec-code alignment, compare specs against implementation, audit for spec drift or violations, sync specs with code or code with specs, or verify whether the implementation matches what the spec says.
tend
Tend the Allium garden. Use when the user wants to write, edit, update, add to, improve, clarify, refine, restructure, fix or migrate Allium specs. Covers adding entities, rules, triggers, surfaces and contracts, fixing syntax or validation errors, renaming or refactoring within specs, migrating specs to a new language version, and translating requirements into well-formed specifications. Pushes back on vague requirements.
spec-change
Change an Allium specification and carry the change through the tests and the implementation.
rust-change
Implement or review a change to either crate with the effects boundary, tests and documentation evidence the invariants require.
review-docs
Add or revise a handbook page so it satisfies the documentation contract and stays reachable.