Engineering Skills
A suite of Agent Skills that make an AI coding agent work like a senior engineer. The skills
enforce one order of work:
- Clarify the problem before you design it.
- Size it in numbers before you choose an architecture.
- Record each design decision with the alternative you rejected.
- Write the code against robustness invariants.
- Check the code against the spec, with evidence.
- Review for the failure modes that appear only under concurrency, failure, attack, and scale.
- Operate it: set the reliability target, see the system, find the fault, undo the change,
and learn from the incident.
And one step that runs beside all seven: explain the thing, and the choice behind it, to the
person who has to live with it.
Grounded in twelve books:
| Book | What it contributes |
|---|
| [Designing Data-Intensive Applications][ddia] — Kleppmann | Correctness under concurrency, replication, and failure. The 48-hazard catalog. |
| [Cryptography and Network Security][stallings] — Stallings | Security services and mechanisms, threat framing, the 64-vulnerability catalog |
| [Advanced Programming in the UNIX Environment][apue] — Stevens and Rago | System call semantics, atomicity, durable file writes, signals, threads. Most of the 55-failure catalog. |
| [Systems Programming][donovan] — Donovan | The machine model, the design procedure for a system program, the four loader functions |
| [System Design Interview: An Insider's Guide][xu] — Alex Xu | The design method, back-of-the-envelope estimation, the scaling ladder |
| [Grokking the System Design Interview][grok] — Design Gurus | Building-block selection. The seven-step design process. |
| [Database Internals][dbi] — Alex Petrov | Database selection methodology, storage engine trade-offs, the RUM conjecture |
| [Code Simplicity][cs] — Max Kanat-Alexander | The laws of software design. The anti-over-engineering discipline. |
| [Site Reliability Engineering][sre] — Beyer, Jones, Petoff, Murphy | Error budgets, the four golden signals, the troubleshooting model, incident command, cascading failure, release reversibility |
| [Release It!][relit] — Michael T. Nygard | The eleven stability antipatterns and the eight stability patterns. Integration-point failure, capacity antipatterns, Transparency |
| [The Minto Pyramid Principle][minto] — Barbara Minto | Answer first. SCQA. MECE. The problem-definition framework that makes a tool comparison defensible |
| [The Art of Explanation][lefever] — Lee LeFever | The Explanation Scale, the curse of knowledge, and the packaging elements that make a beginner able to follow |
Why this exists
Agents are good at producing code that works on the happy path in a single-threaded test.
They are much worse at two things that cause real problems.
They skip the design process. They answer before clarifying, propose architectures with
no numbers behind them, and choose Kafka at 40 writes per second. The estimation gate and
the simplicity pass exist to stop that.
They miss the failure modes that a passing test does not show. These fall into three
groups.
Under concurrency and scale:
- read-modify-write races that silently lose updates
- check-then-act logic that double-books, double-charges, or oversells
- migrations that break during the rolling deploy window
- retries without idempotency that duplicate side effects
- dual writes that leave two datastores permanently divergent
- a missing timeout that makes one slow dependency a total outage
- wall-clock timestamps used to order events across machines
Against the kernel, on one machine:
- a file updated in place, so a crash leaves half the old content and half the new
- a write reported as durable that never reached the disk, because nothing called
fsync
- a rename that reaches the disk before the data, leaving the right name and no content
- a short
read or write treated as the whole transfer
- a signal handler that calls
malloc or printf and corrupts the heap
- a condition variable waited on with
if instead of while
- a
fork in a threaded process, where a library mutex stays locked forever
When someone is attacking:
- tokens and salts generated from
Math.random(), which is unpredictable to a statistician
and trivially predictable to an attacker
- encryption used where integrity was needed, so the ciphertext is malleable
- a signature that proves authorship and is silently assumed to prove freshness, leaving the
endpoint replayable
- authentication mistaken for authorization — a logged-in user reading another tenant's row
- an internal service that trusts an
X-User-Id header any pod can set
- a reset endpoint with no throttling, turning a six-digit code into a solved problem
- an attack that succeeds and leaves no audit record, because the only log is one the
attacker can edit
After it ships, while it runs: