engineering-standards
Skill6 starsChanged 41 days agoMITView on GitHub
Use whenever writing, changing, designing or reviewing production code - it states the non-negotiable quality bar (commercial-grade, decades-maintainable), the structural rules (no god classes, one mechanism per job, one rule in one place), the root-cause and every-bug-is-a-pattern discipline, and when re-architecture is required rather than optional.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- gopalparashar421/agent-skillstheir own version, first seen Nov 8, 2026
- Kin9Zeus/senior-engineer-skillstheir own version, first seen Nov 1, 2026
- nirholas/three.wstheir own version, first seen Oct 13, 2026
- vmvenkatesh78/engineering-skillstheir own version, first seen Oct 11, 2026
- Slight76/engineering-standardstheir own version, first seen Oct 8, 2026
- Mesteriis/Engineering-Bible-AItheir own version, first seen Jun 28, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- nirholas/three.ws★ 271same name
- mykaarma/kaarma-skills★ 4same name
- Kin9Zeus/senior-engineer-skills★ 3same name
- gopalparashar421/agent-skills★ 2same name
- Ewanjohndennis/engineering-standard-skills★ 1same name
- vmvenkatesh78/engineering-skills★ 1same name
- Mesteriis/Engineering-Bible-AI★ 0same name
- Slight76/engineering-standards★ 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 repository14 other files it gives its agents.
- agent-fleetSkill
- architecture-auditSkill
- automating-agent-guardrailsSkill
- claude-cloud-sessionsSkill
- cross-platformSkill
- devlogSkill
- dotnet-engineeringSkill
- performance-diagnosisSkill
- reviewSkill
- roslyn-analysisSkill
- spec-compliance-auditSkill
- spec-oracleSkill
- test-gateSkill
- variant-analysisSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
10
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
- Distinctive: line 22
No hacks, shims, fallbacks, dead code or left-behind TODOs.
- Distinctive: line 23
Use the latest stable language and runtime.
- Distinctive: line 28
No god classes; one mechanism per job.
- Distinctive: line 30
Keep phases one-directional.
- Distinctive: line 31
Use the standard tool for a solved problem.
- Very specific: line 34
Read references/quality-and-structure.md before designing or restructuring anything, and whenever a rule here is unclear (it carries the …
- Distinctive: line 40
Every bug is a pattern: sweep for siblings in the same change and show the query you ran.
- Very specific: line 50
Read references/correctness-and-completeness.md before fixing a bug, scoping a feature or proposing a deferral.
- Distinctive: line 57
Verify values, not "it ran".
- Very specific: line 60
Read references/verification-and-invariants.md before writing or trusting a test, a guard, a probe or a measurement.
- Distinctive: line 64
Keep docs current in the same change set.
- Very specific: line 68
Read references/docs-and-honesty.md before writing docs, comments, a commit message or a closing report.
- Distinctive: line 72
Before writing code: read the governing spec or design, answer the structural question (section 2), and decide the complete scope (section …
- Distinctive: line 78
In review: every rule above is a finding category.
“Common” is measured: kept by at least 6 in 10 of the 8 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
Engineering standards
The bar every change is held to. These rules were each earned by a real correction on long-lived production work: a compiler, a binary rewriter, format decoders, libraries meant to outlive their authors. They are deliberately short. Each is a rule and the reason it exists; where a rule is easy to misread, an example shows what it rules out.
A change that breaks one of these is not "done with caveats". It is debt, and it is reported as debt.
Each section below lists the rules as one-line imperatives. The reasons, examples and validation labels live in
references/; a rule you have not read the reason for still binds.
1. The quality bar
- Build production quality, commercial-grade, maintainable for a decade; build what you would ship if you owned it for five years.
- No hacks, shims, fallbacks, dead code or left-behind TODOs.
- Use the latest stable language and runtime; carry no backward-compatibility baggage unless a real user needs it.
- Break ties by usability, understanding, support, maintenance.
2. Design and structure
- No god classes; one mechanism per job; one rule in one place (search for the RULE, not the construct).
- Change the dispatch, not the callers; model the rule's full shape before fixing a table or schema.
- Keep phases one-directional; resolve to typed objects at load time and encode only at the boundary; build output from the model, never patch input in place.
- Use the standard tool for a solved problem; construct registries explicitly where trimming or AOT is in play; check what already exists before proposing a design.
- A stated scope is an estimate, never a ceiling: re-architect when the work needs it, prefer the shape that makes the NEXT case automatic (with a drift test), re-architect at the third patch to one component, and answer the structural question first.
Read references/quality-and-structure.md before designing or restructuring anything, and whenever a rule here is unclear (it carries the reasons, examples and the full re-architecture rules).
3. Correctness and root cause
- Fix the root cause; never paper over a symptom, never change valid input to dodge a tool bug, never relabel a bug a "quirk".
- On a correction, fix the interpretation, not the output.
- Every bug is a pattern: sweep for siblings in the same change and show the query you ran; ask which arm of a two-arm dispatch you fixed.
- Implement the named operation, not a convenient equivalent.
- Diagnose from evidence; a remembered pattern is a hypothesis; re-measure a work item's premise on today's code.
- Apply a coordinated set of fixes as one change; keep output reproducible.
4. Completeness
- Implement the COMPLETE feature to its spec or design; tests verify, they do not scope.
- Deferral is debt and only the owner may choose it; never ship a half-feature; handle every legal input shape; take the hardening path.
Read references/correctness-and-completeness.md before fixing a bug, scoping a feature or proposing a deferral.
5. Verification and invariants
- Propose invariants, validators and drift tests unprompted; prefer structural guarantees to conventions; pin every collapse with a drift test.
- Surface the governing drift rules before the edit from one home (
references/rule_index.py); never copy the rules into docs or skills. - Make every new check fail once, for the right reason; ask what a check's scope excludes.
- Verify values, not "it ran"; compute expected results from the authority; give every measurement a witness; measure reachability; vary the axis your subject holds fixed; compare against an independent implementation.
- Test I/O, storage, sorting and concurrency code on its failure paths as fully as on success; verify a concurrent or crash-recovery design by running a fault-injecting model from the first review round, and change the method when two rounds find the same class of defect.
Read references/verification-and-invariants.md before writing or trusting a test, a guard, a probe or a measurement.
6. Docs and honesty
- Keep docs current in the same change set; implement from the design doc; sweep docs on discovery.
- Comments carry the WHY; cite the authority in the code; write forensic commit messages.
- Report honestly, calibrated to the evidence; say at once when you were wrong.
Read references/docs-and-honesty.md before writing docs, comments, a commit message or a closing report.
Using this skill
- Before writing code: read the governing spec or design, answer the structural question (section 2), and decide the complete scope (section 4).
- While fixing a bug: root cause, then sibling sweep, then the other arm, then the drift test (sections 3 and 5).
- Before calling it done: the change is complete, swept, one-mechanism, verified by a check that has been seen to fail, and its docs are current. If any of these is not true, report it as debt, not as done.
- In review: every rule above is a finding category. A god class, a duplicated mechanism, a workaround or an unswept sibling is a defect even when the tests pass.
Project hooks
This skill is the generic floor. A repository tightens it or adds to it in its CLAUDE.md (or AGENTS.md,
CONTRIBUTING.md) under a section such as "Engineering standards":
## Engineering standards
- Authority: <standard or spec, and the precedence when it leaves latitude>
- Architectural commitments: <settled decisions not to relitigate>
- Language/runtime: <versions, warnings-as-errors, analyzers>
- Docs that must stay current: <design docs, README, changelog, fix log>
- Work register: <the one place new defects and deferrals are filed>Project rules win on conflict. Where a project sets a stricter rule, follow it. Where it deliberately relaxes one (for example, a prototype that is explicitly throwaway), follow it and say so once. Settled architectural commitments in the project instructions are designed within, not reopened.
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.

