agentleFS
saint0xsaint0x/my-skills/elite-engineering/SKILL.md

elite-engineering

Skill1 starsChanged 3 months agoMITView on GitHub

Apply a high-quality engineering bar to code changes by preserving the project mental model, choosing simple optimized implementations, removing dead or false code, adding strong error handling, and validating with the right tests.

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    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:

    Use this skill when the user asks for elite engineering, strong architecture, production-quality code, maintainability, scalable …

    line 10
  2. Distinctive:

    Keep two scales in mind at all times:

    line 16
  3. Distinctive:

    Prefer cutting down over adding on.

    line 21
  4. Distinctive:

    Before editing, read enough surrounding code to understand the intended design.

    line 25
  5. Distinctive:

    Do not add abstractions speculatively.

    line 29
  6. Distinctive:

    Prefer optimized implementations in the practical engineering sense:

    line 33
  7. Distinctive:

    Use the right data structure or API rather than doing expensive or fragile work manually.

    line 35
  8. Distinctive:

    Avoid repeated work, hidden quadratic paths, needless network calls, unnecessary renders, and broad invalidation.

    line 36
  9. Distinctive:

    Keep hot paths explicit and easy to reason about.

    line 37
  10. Distinctive:

    Avoid fake completion. No placeholder logic, inert flags, empty catch blocks, TODOs that stand in for behavior, no-op adapters, dead …

    line 42
  11. Distinctive:

    When changing behavior, remove the old behavior completely unless backward compatibility is required.

    line 54
  12. Distinctive:

    Run the tests that map to the change.

    line 58
  13. Distinctive:

    If tests are not needed for a tiny documentation-only or metadata-only change, say why.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Elite Engineering

Use this skill when the user asks for elite engineering, strong architecture, production-quality code, maintainability, scalable implementation, cleanup, refactoring, hardening, or when a coding task would benefit from an explicit quality bar.

The goal is to engineer for the current change and the future reader at the same time. The implementation should be easy for another agent, teammate, or future self to ingest without reconstructing the whole project from scratch.

Operating Bar

Keep two scales in mind at all times:

  • Local shape: the immediate module, function, data flow, error path, and tests should be clear and correct.
  • Project mental model: the change should fit the architecture, ownership boundaries, naming, runtime assumptions, and existing abstractions.

Prefer cutting down over adding on. Remove unnecessary branches, stale compatibility paths, false abstractions, unused helpers, no-ops, placeholder code, and dead code in full. Do not leave misleading scaffolding behind just because it is harmless at runtime.

Architectural Fit

Before editing, read enough surrounding code to understand the intended design. Use existing patterns, helpers, data models, and module boundaries unless there is a clear reason to change them.

Choose the smallest implementation that solves the real problem while preserving future flexibility. Small does not mean clever; it means fewer moving parts, less duplicated state, fewer invalid states, and clearer ownership.

Do not add abstractions speculatively. Add one only when it removes real complexity, gives a name to a stable concept, or matches an established project pattern.

Implementation Discipline

Prefer optimized implementations in the practical engineering sense:

  • Use the right data structure or API rather than doing expensive or fragile work manually.
  • Avoid repeated work, hidden quadratic paths, needless network calls, unnecessary renders, and broad invalidation.
  • Keep hot paths explicit and easy to reason about.
  • Make failure states visible and actionable instead of silently swallowing them.

Strong error handling is part of the feature. Handle expected failures at the boundary where they can be explained or recovered from. Preserve useful context in errors and logs without leaking secrets.

Avoid fake completion. No placeholder logic, inert flags, empty catch blocks, TODOs that stand in for behavior, no-op adapters, dead feature switches, or code that pretends a case is handled when it is not.

Maintainability

Code should teach the project model as it is read:

  • Names should reflect domain meaning, not implementation trivia.
  • File placement should make ownership obvious.
  • Functions should expose clear contracts and keep side effects legible.
  • Comments should explain non-obvious decisions, not restate syntax.
  • Tests should describe important behavior and protect the contract that matters.

When changing behavior, remove the old behavior completely unless backward compatibility is required. If compatibility is required, make the boundary explicit and tested.

Validation

Run the tests that map to the change. Start narrow, then broaden when the blast radius touches shared behavior, contracts, build tooling, routing, persistence, security, performance, or user-facing workflows.

If tests are not needed for a tiny documentation-only or metadata-only change, say why. If tests cannot be run, report the blocker and the remaining risk.

For bug fixes, prefer reproducing the failure first or proving the root cause through code, logs, traces, or a focused test. Do not ship a plausible patch without verifying the real path when verification is feasible.

Review Before Done

Before finishing, check:

  • The code fits the local module and the broader project mental model.
  • Dead, false, placeholder, and no-op code introduced or made obsolete by the change is removed.
  • Error handling covers expected failure modes with useful context.
  • The implementation is simpler or more direct than the state it replaces, unless added complexity is justified.
  • Tests or validation match the real risk.
  • A future agent can understand what changed, why it belongs there, and how to extend it safely.

Report the final result in plain engineering terms: what changed, what was removed or simplified, what validation ran, and any residual risk.

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.