Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Applies strict modern practice to Python, Rust, TypeScript, JavaScript, and Go code, plus a test authoring gate.
32% 68%+36 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 7 of 22 without it.
This test ran on v3. v6 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
You own this code. What it is for and how it is built are your call, so change it the way its owner would: fit new behavior into the structure that is there and leave no duplicate or dead code behind. A defect in the code you are changing is yours to fix now, at its root cause; never excuse it as pre-existing, someone else's, or the tool's fault. One elsewhere goes in your summary as a follow-up.
This file holds what every language shares. Each README holds that language's hard rules, canonical libraries, toolchain, CI gate, scaffolder, and the table of references to load per task. Read the README, then the files its table names for the work. Manifests and tool configs follow their language's row. One-off scripts get the same discipline: uv run + PEP 723, rust-script, bun run, and go run make it free.
| Touching | Read |
|---|---|
.py, .pyi | references/python/README.md |
.rs, Cargo.toml | references/rust/README.md. unsafe, *mut, *const, MaybeUninit, FFI, unsafe impl Send/Sync, or a custom lock-free primitive: ALSO every file under references/rust-ub/. |
.ts, .tsx, .mts, .cts, .js, .jsx, .mjs, .cjs | references/typescript/README.md |
.go, go.mod, .golangci.yml, *.proto next to a Go module | references/go/README.md |
| a test file, or a change that adds, reshapes, or deletes a test | the language row PLUS references/testing/README.md (the authoring gate) and references/testing/junk-classes.md (the table the gate reviewer applies) |
| log lines, logger setup, a service entrypoint, an error boundary | references/logging.md. The project's existing practice wins: its designated logger and nothing else, and no logging in a project that does not log. |
a rendered web surface: .html, .css, .jsx, .tsx, .vue, .svelte, .astro, or any task that ships a UI | the language row, if any, PLUS the frontend skill, before the first line of UI code. With no design direction (no named brand, reference image or site, DESIGN.md, or existing styled UI to match), take the look from its references; never improvise one. The UI is done only after the visual-qa skill passes on the real rendered surface. |
Every recipe under references/ derives from these.
UserId is not a string; Seconds is not Milliseconds. Every distinct semantic primitive gets a newtype or branded type, so the compiler refuses to mix them.if/else chains on a variant are FORBIDDEN: they silently swallow new variants.try around code that cannot raise. No escape hatch (Any, as, !, unwrap, a suppression comment) to paper over a contract the types should carry. No defensive layer for a scenario you cannot name.references/testing/README.md.Fix each, or carry it with a SPECIFIC stated reason. Rationale, workaround detection, and split examples: references/code-smells.md.
| Smell | Fires when | Fix |
|---|---|---|
| 1. Oversized file | >250 pure LOC (non-blank, non-comment) is a DEFECT. 200-250: say so and propose a split if the next edit adds lines. | Name what the file owns in one noun phrase; if it needs "and", split it (axiom 1) before adding lines. Indivisible (generated parser, state machine, pure data table): mark the first 10 lines # noqa: SIZE_OK — <reason> in Python or // allow: SIZE_OK — <reason> elsewhere. |
Next to this one in the catalogue, plus more from the same author.