agentleFS
justinzapantajustinzapanta/claude-reliable-kit/skills/engineering-principles/SKILL.md

engineering-principles

Skill1 starsChanged 6 days agoMITView on GitHub

Keeps code changes small, project-fitting, and verified. Use when editing unfamiliar code, when a fix grows into a rewrite, or before saying a change works.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use component-release, reframe and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    component-release

    Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.

    Also in 4 projects that use this

  • rohunvoraSkill

    reframe

    This skill should be used when the user is stuck, obvious solutions aren't working, constraints feel impossible, or they keep circling back to bad options. Use when designs keep getting rejected or the user is solving symptoms instead of root causes.

    Also in 3 projects that use this

  • jaydubya818Skill

    sharpen

    Use for /sharpen to clarify a task before work.

    Also in 3 projects that use this

  • jaydubya818Skill

    show-me-your-work

    Use when long-running work needs an auditable decision and evidence log.

    Also in 3 projects that use this

  • MicrosoftSkill

    blast-radius

    Assesses network dependency and shared-infrastructure exposure. Use when the user asks which services, customers, SLA policies, routes, or redundant links are affected by a network fault.

    Also in 4 projects that use this

  • VercelSkill

    technical-writing

    Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current source, tests, CLI help, public releases, and repository conventions.

    Also in 4 projects that use this

  • +2 more from jaydubya818

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every changed line should trace back to the request, fit the project, and be backed by a check you actually ran.

    line 8
  2. Distinctive:

    Check git status and the relevant diff.

    line 12
  3. Distinctive:

    Search for an existing helper before writing a new one.

    line 15
  4. Distinctive:

    Write down the observable check that will prove the change works.

    line 16
  5. Distinctive:

    Do what was asked, nothing more: no bonus features, options, or speculative flexibility.

    line 20
  6. Distinctive:

    Leave unrelated code alone: no drive-by renames, reformatting, or import shuffles.

    line 22
  7. Distinctive:

    No new abstraction until the third use.

    line 23
  8. Distinctive:

    Remove code your own change made unused.

    line 24
  9. Distinctive:

    Keep public behavior stable unless asked.

    line 25
  10. Distinctive:

    If the small fix would be a hack because the design is the bug, give the minimal fix, name the larger fix and its trade-off, and let the …

    line 26

“Common” is measured: kept by at least 6 in 10 of the 24 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Engineering Principles

Every changed line should trace back to the request, fit the project, and be backed by a check you actually ran.

Before editing

  • Check git status and the relevant diff. Note edits already present, including untracked files, so you never overwrite or revert someone else's work.
  • Open the closest working example in the affected module (a sibling handler, test, or helper). Follow its naming, data contracts, error handling, and test style. If examples disagree, follow the one on the current code path.
  • One call for the file or function you will touch: python ${CLAUDE_SKILL_DIR}/../lean-navigation/scripts/graph.py brief <path-or-name> --dir . (definition, callers, tests, recorded decisions, recent commits; skip if missing). Respect a recorded decision or say why it no longer holds.
  • Search for an existing helper before writing a new one. For a version-sensitive API, check the installed code or current docs, not memory.
  • Write down the observable check that will prove the change works.

While editing

  • Do what was asked, nothing more: no bonus features, options, or speculative flexibility.
  • Edit the lines that need to change; don't regenerate whole files.
  • Leave unrelated code alone: no drive-by renames, reformatting, or import shuffles. Mention a real problem elsewhere in one line instead.
  • No new abstraction until the third use. No new dependency if the standard library or an existing one does the job. No error handling for cases that cannot happen.
  • Remove code your own change made unused; leave pre-existing dead code alone.
  • Keep public behavior stable unless asked; flag any breaking change.
  • If the small fix would be a hack because the design is the bug, give the minimal fix, name the larger fix and its trade-off, and let the user choose.

Before saying it works

On a task with a ledger, run python ${CLAUDE_SKILL_DIR}/../task-ledger/scripts/ledger.py prove (requirements without passing, current evidence) and python ${CLAUDE_SKILL_DIR}/../task-ledger/scripts/ledger.py coverage (tests, callers, and routes the change affects that no evidence checked) before saying it works. Match each claim to evidence:

ClaimEvidence needed
"Fixed"The original failing input now gives the expected output
"Tests pass"Exit status, the intended tests actually ran, and their result
"Requirements met"Each stated requirement checked one by one
"Only X changed"Your own diff, reviewed hunk by hunk
A number or factRecomputed, units checked, or a primary source
  • Zero tests collected, a skipped target, a timeout, or a missing command means unverified, not passed.
  • A green suite while the original input still fails means the bug is open.
  • Reuse an earlier result only if code, inputs, and environment are unchanged.
  • "Should work", "probably", and "seems to" mean you have not checked yet.

Report

Two or three lines: what changed, what you deliberately left alone, and the check you ran with its observed result. Name anything left unverified.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.