consistency
Skill0 starsChanged 50 days agoUnlicenseView on GitHub
Keep one feature right everywhere it shows up. Before adding or changing anything that appears on more than one surface — coupon/promo codes, prices, discounts, totals, tax, shipping thresholds, stock, loyalty points, subscriptions, order status — list every surface, make them all read one server calculation, and add one browser spec asserting they agree (plus the edge cases). Use for any cart/checkout/pricing/account change, or when a value 'is right on one page but wrong on another'.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jthingelstad/elixir-mcptheir own version, first seen Nov 4, 2026
- jantichy/claudetheir own version, first seen Oct 27, 2026
- DoKu67/claude-code-skilstheir own version, first seen Oct 16, 2026
- RubyEyedReaper/Odin-Skillstheir own version, first seen Aug 15, 2026
- mmaripanguec/dev-sdd-kittheir own version, first seen Jul 21, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- jantichy/claude★ 45same name
- DoKu67/claude-code-skils★ 4same name
- mmaripanguec/dev-sdd-kit★ 2same name
- jthingelstad/elixir-mcp★ 1same name
- RubyEyedReaper/Odin-Skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- skill-starter-kitSkill
- browser-verifySkill
- cloud-clisSkill
- docs-freshnessSkill
- github-mcpSkill
- guardrailsSkill
- lsp-pluginsSkill
- security-gateSkill
- taste-codeSkill
- verify-gateSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Write the table first — in the plan (Superpowers writing-plans), or at the top of the PR.
- Distinctive: line 34
Every empty "reads value from" cell is the bug you would have shipped.
- Distinctive: line 38
Every surface reads the value from one server calculation (one function, one endpoint or query key).
- Very specific: line 46
Add e2e/consistency-<feature>.spec.ts (template: templates/consistency.spec.ts).
- Very specific: line 50
Read each surface inside its own region (drawer = getByRole("dialog"), page = main): a mini-cart is usually in the DOM on every page, so a …
- Very specific: line 80
Remove the break → ./verify.sh passes.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Consistency: One Feature, Every Surface, Same Answer
A coupon that works on the cart page but not in the cart drawer is not a code bug a type checker sees — it is a surface bug. Each surface either recomputes the value itself or was never told about the new field. Blast-radius tools find callers of a function; they cannot find a drawer that does its own maths. This skill is three habits that close that gap.
1. Map every surface before you change anything
Write the table first — in the plan (Superpowers writing-plans), or at the top of the PR.
| Surface | File(s) | Reads value from | Change needed |
| Cart drawer / mini-cart | |||
| Cart page | |||
| Checkout (each step) | |||
| Order confirmation | |||
| Account → order history / detail | |||
| Emails / SMS / push (receipt, abandoned cart) | |||
| Admin order view / reports / exports | |||
| API responses + webhooks |
Find them by data, not just symbols:
graphify query "where is <value> computed and displayed"(or LSP find-references) for code paths.grep -rnthe field names in every case form (discount_cents,discountCents,DISCOUNT), the UI copy ("Subtotal", "Discount", "You saved"), and the route/query keys.- Pass-through files count: a serializer or email template that drops the new field is a surface.
Every empty "reads value from" cell is the bug you would have shipped.
2. One source of truth
Every surface reads the value from one server calculation (one function, one endpoint or query key). No surface does its own arithmetic — the client previews at most, the server is authoritative. When the map shows a surface computing its own total, fix that first: route it through the shared calculation instead of copying the new rule into it. Money stays in integer minor units end to end.
3. One spec that proves they agree
Add e2e/consistency-<feature>.spec.ts (template: templates/consistency.spec.ts). It drives
the real app, applies the change, then reads the same values from every surface and asserts
they are identical. Give each value the same data-testid on every surface
(summary-subtotal, summary-discount, summary-total, …) so one helper reads them all.
Read each surface inside its own region (drawer = getByRole("dialog"), page = main): a
mini-cart is usually in the DOM on every page, so a page-wide read picks up the wrong copy.
Cover the edge cases, not just the happy path. For a coupon: valid · invalid · expired · below minimum spend · removed again · replaced by another code · stacked (if allowed) · quantity change after applying · reload / new session (persistence).
verify.sh already runs every Playwright spec, so the Stop hook blocks "done" the moment a
later change breaks one surface.
Pitfalls
- Fixing the surface you were looking at. The bug report names one page; the map finds the other five.
- Asserting a hard-coded number per page. Assert surfaces equal each other and the server's answer — then a pricing change doesn't rewrite the spec.
- Mocking the server in this spec. The point is the real calculation reaching every surface.
- Forgetting async surfaces. Emails, webhooks and exports: assert the payload the job would send (test the render function), even if the browser can't see it.
Works with →
- Superpowers
brainstorming→writing-plans— the surface map (step 1) is part of the plan. graphify/lsp-plugins— find code paths; this skill adds the data/copy search they miss.browser-verify— writes and runs the spec; the compare loop checks each surface looks right.verify-gate— the spec runs insideverify.sh; a disagreement blocks the turn.taste-code— one shared calculation beats N copies; no duplicated pricing logic.
Verification
- Break one surface on purpose (e.g. make the drawer ignore the discount) → the spec fails and names that surface.
- Remove the break →
./verify.shpasses.
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
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.

