Tracing the Origin of AI Coding Rules: A Source Checklist and 10 Practical Guidelines

    A viral, paper-style set of AI coding rules has been attributed to a well-known engineer, but no verifiable first publication or public confirmation exists. This article separates the traceable four-rule community version from the unverified ten-rule version, introduces a four-step source credibility check, and abstracts the ten rules into five engineering capabilities: upfront thinking, simplicity first, small changes, a verification loop, and dependency governance. It also maps common failure modes to constraints and shows how teams can enforce the rules through version control, CI gates, and change-surface limits.

    1. Background: Why a Rule File With Unconfirmed Origin Went Viral

    A paper-style rule document has been circulating in technical communities. Its title emphasizes “getting language models to write code you don’t have to rewrite,” and its subtitle says the rules were distilled from repeatedly hitting the same pitfalls. Because the writing style resembles the public communication habits of a well-known engineer, the document was widely reposted. Some media described it as “attributed to a well-known engineer” and even claimed it was “leaked by someone connected to a research team.”

    One thing must be stated clearly: as of now, there is no independently verifiable first-publication record, and the person involved has not publicly confirmed it. The accurate description is therefore this: a set of ten AI coding rules attributed to a well-known engineer but with unconfirmed origin. It is worth reading, but it should not be cited as an official standard.

    The event itself deserves more attention from engineering teams than the rule content. When a specification spreads as screenshots, its authority, completeness, and executability cannot be verified. Copying it directly means writing untraceable constraints into the development process.

    2. Two Versions Must Not Be Confused: Community Edition vs. Circulating Edition

    The confusion stems from an earlier, widely circulated “engineer-style rule file.” That early community version has a relatively clear origin: developers compiled a checklist from the engineer’s public observations about how language models fail when writing code, producing a list that could be dropped directly into a project rule file. Community-maintained forks followed later.

    The early community version has four core rules:

    • Think before coding: clarify the goal, constraints, and acceptance criteria before starting.
    • Simplicity first: refuse to introduce abstractions for problems that do not exist.
    • Surgical changes: modify only the code directly related to the current goal.
    • Goal-driven execution: finish at a verifiable result, not at something that “looks done.”

    These four rules map precisely to four high-frequency problems: guessing without confirmation, over-engineering, opportunistic edits, and missing acceptance criteria. Their value lies in traceable origin, a small number of items, and ease of execution.

    The ten-rule version circulating recently is not a simple iteration of that repository file. The title, subtitle, layout, and content organization are all different. Some media reports have explicitly called it “another ten-rule file” and stressed that its authenticity is unconfirmed.

    The conclusion is clear: the four-rule version has a clear community source; the ten-rule version currently has only circulation claims and no verifiable first publisher. In engineering practice, the former can serve as a team baseline, while the latter is only discussion material.

    3. Assessing Source Credibility: A Four-Step Method

    For “attributed documents” like this, use a fixed process to judge credibility and avoid writing rumors into specifications.

    1. Check the first publication: is there a locatable original release record, rather than a second-hand screenshot?
    2. Check for confirmation: has the person publicly confirmed or denied it?
    3. Check the differences: are there substantive changes in title, structure, or item count compared with the confirmed version?
    4. Check the citations: do citing parties mark it as “unconfirmed,” or state it as fact?

    After these four steps, most rumors automatically downgrade to “material pending verification.” The process may seem tedious, but it prevents teams from hardening untraceable constraints into their workflow.

    4. Abstracting the Ten Rules: From Items to Engineering Capabilities

    Setting aside the origin dispute, these rules resonate because they systematically summarize the failure modes of language models writing code. They can be abstracted into five capability groups.

    4.1 Upfront Thinking: Turning Requirements Into Decidable Conditions

    The rules require the model to restate the goal, list assumptions, and point out uncertainties before coding. In engineering terms, this is equivalent to converting vague requirements into input/output examples and boundary conditions. Without this step, the model fills gaps with its “most likely guess” and produces an implementation that looks reasonable but heads in the wrong direction.

    4.2 Simplicity First: Suppressing Unnecessary Abstraction

    Premature abstraction is a major source of noise in generative programming. The rules call for straightforward implementations first, introducing layering only when real duplication or a clear extension need appears. The test can be simple: if an abstraction cannot name the specific duplication it removes, delete it.

    4.3 Small Changes: Minimizing the Change Surface

    Advance one verifiable goal at a time and avoid large-scale rewrites across modules. Small changes are cheap to roll back, easy to review, and fast to localize when problems appear. In practice, each change can be required to include a scope note listing the files and interfaces touched.

    4.4 Verification Loop: Nothing Is Done Without Verification

    Any generated code must come with a verification method, such as unit tests, type checks, static scanning, or a minimal runnable example. The rules stress that “an unverified implementation is considered incomplete,” which matches the basic logic of continuous integration: verification is not optional but part of the definition of delivery.

    A minimal verification convention:

    1. Change goal: <one-sentence description>
    2. Impact scope: <files/modules/interfaces>
    3. Verification method: <test command or check item>
    4. Expected result: <decidable output>
    5. Rollback method: <how to undo>

    4.5 Communication and Dependency Governance: Reducing Context Drift

    This includes asking questions instead of fabricating interfaces when uncertain, not introducing unconfirmed third-party dependencies, and preferring existing infrastructure for external capabilities. More dependencies mean higher build and supply-chain risk, so “don’t add unless necessary” is the prudent strategy.

    5. Common Failure Modes and Their Constraints

    • Guess-based implementation: coding without confirming requirements. Constraint: list assumptions and request confirmation first.
    • Over-engineering: introducing complex structures for future possibilities. Constraint: no abstraction without concrete duplication.
    • Opportunistic refactoring: making broad changes under the banner of a task. Constraint: a change-surface whitelist.
    • False completion: claiming something is implemented without verification. Constraint: verification evidence must be attached to the delivery notes.
    • Dependency bloat: casually adding external components. Constraint: new dependencies require a stated necessity and alternatives.
    • Context drift: losing the original goal in long sessions. Constraint: periodically write back a summary of goals and constraints.

    6. Recommendations for Team Adoption

    Put the rule file under version control, maintain it in the same repository as the code, and route changes through review. Hard-code format checks, type checks, and test gates in continuous integration so the “verification loop” is enforced by the pipeline rather than by self-discipline. Set a change-surface threshold for generated code; anything beyond it must be split. Establish approval and alternative evaluation for new external dependencies. Periodically review failure cases and write newly discovered pitfalls back as rule items.

    For cloud development environments, a combination of general-purpose capabilities can carry these constraints: use code hosting and review workflows to manage rule file versions, pipeline services to enforce build and test gates, logging services and monitoring alerts to track the failure rate of generated code, and an artifact repository to manage dependency sources. These are common industry categories and do not involve vendor-specific interfaces.

    7. Conclusion

    The real lesson of this ten-rule file is not the number of items but two points: first, any attributed document must undergo source verification; second, AI coding standards must land on executable gates and verification. Start from the four-rule baseline with a clear source, harden verification into delivery conditions with a pipeline, and expand items as needed. That is the sustainable approach.