Skip to content
Back to skills

Senior Engineering Best Practices

ASecurity

Use before proposing a workaround for third-party code, answering from memory about what a library supports, patching the same area a second time, adding a dependency, or taking an action whose blast radius is unconsidered. Routes to the matching runbook. For TDD, SOLID, DDD, debugging, or code review, use those skills instead.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 13, 2026
code-qualitygodebuggingcode-reviewapisecurityperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add joeblackwaslike/agent-skills --skill senior-engineering-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Senior Engineering Best Practices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Senior Engineering Best Practices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joeblackwaslike-senior-engineering-best-practices/badge)](https://www.skillsdirectory.com/skills/joeblackwaslike-senior-engineering-best-practices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: senior-engineering-best-practices
description: >-
  Use before proposing a workaround for third-party code, answering from memory about what a
  library supports, patching the same area a second time, adding a dependency, or taking an action
  whose blast radius is unconsidered. Routes to the matching runbook. For TDD, SOLID, DDD,
  debugging, or code review, use those skills instead.
metadata:
  last_updated: "2026-08-23"
---

# Senior Engineering Best Practices

Most agents don't have the instincts a senior engineer builds over a career — not because the
instincts are secret, but because nobody wrote them down where an agent would find them at the
right moment. This skill is that: a growing, incident-anchored collection of judgment calls a
senior engineer makes by reflex, plus a router to the skills that already cover the ones with a
home elsewhere.

**This skill does not duplicate what already exists.** If a situation is already covered by
`test-driven-development`, `solid-principles`, `domain-driven-design`, `code-architectures`, or a `superpowers` skill,
route there — see [Route to an existing skill](#route-to-an-existing-skill) below. This skill's
own `references/` hold only instincts that had no home before it existed.

## Route to a runbook here

| Situation | Read |
| --- | --- |
| About to propose a workaround/patch/shim for third-party code, or answer from memory about what a library/SDK/framework supports | [`references/verify-before-acting.md`](references/verify-before-acting.md) |
| A bug's symptom recurred after being "fixed," or you're about to patch the same area again | [`references/progressive-root-cause-discipline.md`](references/progressive-root-cause-discipline.md) |
| You found the real root cause and fix — now decide where else it applies | [`references/extract-and-propagate-the-real-fix.md`](references/extract-and-propagate-the-real-fix.md) |
| Deciding how much ceremony/caution an action deserves | [`references/blast-radius-judgment.md`](references/blast-radius-judgment.md) |
| About to write new code, or code is showing a smell | [`references/prior-art-and-code-smells.md`](references/prior-art-and-code-smells.md) |
| Considering adding a third-party dependency | [`references/dependency-judgment.md`](references/dependency-judgment.md) |
| Writing code that could fail in production | [`references/observability-instinct.md`](references/observability-instinct.md) |
| Code touches a loop, a query, pagination, or I/O on a hot path | [`references/performance-pattern-matching.md`](references/performance-pattern-matching.md) |
| A bug just got fixed — is it a one-off or a systemic gap? | [`references/fix-the-process-not-just-the-instance.md`](references/fix-the-process-not-just-the-instance.md) |

**Planning high-stakes infrastructure or architecture?** No single runbook covers this — read
`blast-radius-judgment`, `prior-art-and-code-smells`, `dependency-judgment`, and
`observability-instinct` together; each contributes one facet (risk scaling, not reinventing what
already exists, dependency cost, and designing in debuggability before it ships).

## Route to an existing skill

Don't duplicate — these situations already have a home:

| Situation | Already covered by |
| --- | --- |
| Ambiguous requirements / new feature design | `superpowers:brainstorming` |
| Writing a feature or bugfix | `superpowers:test-driven-development` |
| Any bug, test failure, unexpected behavior — the mechanics of investigating it | `superpowers:systematic-debugging` |
| About to claim a task complete | `superpowers:verification-before-completion` |
| Receiving code review feedback | `superpowers:receiving-code-review` |
| Class/interface/module design | `agent-skills:solid-principles` |
| Domain modeling | `agent-skills:domain-driven-design` |
| System architecture (layers, CQRS, event sourcing, services) | `agent-skills:code-architectures` |
| Auth/crypto/input-validation/secrets/external APIs | `security-review` |
| Editing an existing skill, runbook, or instruction file (`SKILL.md`, `AGENTS.md`, `CLAUDE.md`) | `agent-skills:agent-instructions` (`references/editing-discipline.md`) |
| Creating a brand-new skill from nothing | `superpowers:writing-skills` |

## Red flags — stop and reconsider

- "This library doesn't support X." → Verify. You probably haven't checked the current docs yet.
  See `verify-before-acting.md`.
- "I already fixed this once." → If the symptom is back, the first fix addressed a symptom, not
  the cause. See `progressive-root-cause-discipline.md`.
- "That was verified in an earlier investigation." → An old "verified" claim that's currently
  blocking a fix is a hypothesis to re-test, not settled fact. See
  `progressive-root-cause-discipline.md`.
- "The fix is merged." → Merged is not deployed. Verify the artifact actually running, not just
  the source. See `progressive-root-cause-discipline.md`.
- "I fixed it here, that's done." → If the same defect shape exists in three other places, "done"
  means auditing all of them, not just the one you started with. See
  `extract-and-propagate-the-real-fix.md`.
- "It has a passing test." → A passing test proves the test data shape works, not that production
  data has that shape. See `progressive-root-cause-discipline.md`.
- "I'll just add this dependency, it's small." → Check maintenance burden and removal cost first.
  See `dependency-judgment.md`.
- "It'll throw an error if it fails, that's enough." → Will the error say what was expected vs.
  what happened, to someone with no context, later? See `observability-instinct.md`.

## Growth protocol

A new runbook is added here only once there's a real incident to anchor it — grep or cite the
transcript, PR, or postmortem where its absence caused a failure, write the runbook, link it from
the table above. This mirrors the RED→edit→GREEN discipline in
`agent-skills:agent-instructions`'s `references/editing-discipline.md` — read that before adding
or revising a runbook here. No speculative runbooks — an unanchored "best practice" is exactly
the kind of padding this skill exists to avoid producing.

Files in this skill

  • SKILL.md6 KB
  • references/blast-radius-judgment.md4.7 KB
  • references/dependency-judgment.md2.6 KB
  • references/extract-and-propagate-the-real-fix.md4 KB
  • references/fix-the-process-not-just-the-instance.md2.9 KB
  • references/observability-instinct.md3.2 KB
  • references/performance-pattern-matching.md2.3 KB
  • references/prior-art-and-code-smells.md3.4 KB
  • references/progressive-root-cause-discipline.md5.3 KB
  • references/verify-before-acting.md3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.