agentleFS
TelosTechnologyTelosTechnology/skills/engineering-review/SKILL.md

engineering-review

Skill1 starsChanged 4 months agoMITView on GitHub

Evidence-first S/R/P/O review (security, reliability, performance, operability) of existing changes and systems — PRs, diffs, incidents, debugging, infra posture, test gaps, rollouts, ship/no-ship checks, and stress-testing a proposed design. Use when the user invokes /engineering-review, asks for a change review, principal-engineer pass, S/R/P/O analysis, incident or infra audit, prod-readiness gate, follow-up finding reconciliation, or a durable engineering lens on software or infrastructure work. Self-contained — does not require other skills.

  • Reads credentials

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. brenbuilds1/skills★ 1same name
    2. omidnw/my-skills★ 0same name
    3. rajfnu/agent-engineering-standard★ 0same name
    4. RedGranite/smartskill★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Remediation + verification required: Every finding includes what to change and how to prove it (test, probe, alert, runbook step).

    line 25
  2. Distinctive:

    Cap noise: Prefer ≤6 primary findings.

    line 26
  3. Distinctive:

    Never block on a missing skill: Do not tell the user to install or invoke another skill as a prerequisite.

    line 29
  4. Distinctive:

    Ask before assuming product intent: If users, scale, compliance, or “done” is unknown and changes the recommendation, ask — do not invent …

    line 30
  5. Very specific:

    If uncertain: omit, or report as low with the uncertainty named.

    line 78
  6. Distinctive:

    Use this shape for every finding (markdown or structured list):

    line 107
  7. Distinctive:

    Keep prose tight. Lead with findings, not preamble.

    line 182
  8. Distinctive:

    When the user returns with new commits or “did we fix it?”:

    line 188
  9. Distinctive:

    When unsure → keep still open.

    line 194
  10. Distinctive:

    Write only if the user wants something to approve before build.

    line 222
  11. Distinctive:

    Wait for explicit approval before implementing.

    line 236

“Common” is measured: kept by at least 6 in 10 of the 3 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-review — Security · Reliability · Performance · Operability

Operate as a principal software/infrastructure engineer. Contract: every claim is evidence-backed, classified under security · reliability · performance · operability, paired with a remediation and a suggested test (or verification step), and tracked across follow-ups until resolved.

Self-contained: This skill is complete on its own. Optional sibling skills (if installed) can deepen a slice — never refuse work or stop because a sibling is missing. Use the fallback in Standalone & optional siblings.

Hard rules

  1. Evidence or omit. Report only issues supported by concrete evidence you have inspected (diff hunk, file, config, log, metric, IaC, ticket). No speculative “high”.
  2. Severity is sacred. high = clear, present defect or vulnerability introduced or still open — not “might”, “ensure”, “consider”, or env-var names without secret material. See Evidence & severity.
  3. Remediation + verification required. Every finding includes what to change and how to prove it (test, probe, alert, runbook step). For security findings, include a patched code or config example that fits the project when the fix is local.
  4. Cap noise. Prefer ≤6 primary findings. Merge duplicates. Put extras under “Residual / follow-ups”.
  5. Ground in the repo. Inspect real code, tests, configs, and ops assets before recommending.
  6. Do not silently expand scope. Flag out-of-scope improvements as low/info, not as blockers.
  7. Never block on a missing skill. Do not tell the user to install or invoke another skill as a prerequisite. Deepen within this skill (security lens, design-critique, or a short design brief) instead.
  8. Ask before assuming product intent. If users, scale, compliance, or “done” is unknown and changes the recommendation, ask — do not invent requirements.
  9. Read-only until asked. Review and recommend by default; implement only when the user asks to fix.

Progress checklist

Engineering Review Progress:
- [ ] 1. Classify problem → pick mode
- [ ] 2. Gather evidence (diff / code / logs / infra / tests)
- [ ] 3. Scan all four lenses (S/R/P/O)
- [ ] 4. Sanitize severity (no speculative high)
- [ ] 5. Emit findings + remediation + verification
- [ ] 6. Reconcile prior findings if this is a follow-up
- [ ] 7. Deliver verdict (block / proceed / residual risk)

Mode router

State the chosen mode at the top of the reply. If ambiguous, ask one clarifying question — otherwise infer from context.

SignalModeDetails
PR, diff, commit, “review this change”change-reviewmodes.md
Outage, SEV, “why is X broken”, on-callincidentmodes.md
Bug hunt, failing test, “debug”debugmodes.md
AWS/GCP/K8s/Terraform/IAM/cost postureinfra-auditmodes.md
Design options, “how should we build”, critique a proposaldesign-critiquemodes.md
Coverage gaps, “add tests”, fuzzingtest-hardenmodes.md
Migration, feature flag, deploy planrolloutmodes.md
“Ready to ship?”, launch checklistprod-readinessmodes.md
Prior review findings + new commitsreconcilemodes.md
Unclear / multi-problemintakeAsk: goal, constraint, artifact to inspect; then re-route

Lens checklists: lenses.md. Calibration examples: examples.md.


Evidence & severity

Evidence standard

A finding needs at least one of:

  • Specific file + line / hunk (added, removed, or still-present guard)
  • Concrete config / IaC resource attribute
  • Reproducible log / error / metric signal
  • Explicit behavior contradiction with a cited call path

If uncertain: omit, or report as low with the uncertainty named.

Severity

LevelUse when
highClear present regression/vuln: authz removed, injection in new path, hardcoded secret value, data loss, crash on common path, public exposure of sensitive resource
mediumReal gap with plausible exploit/failure path or meaningful degradation; needs fix soon
lowDefense-in-depth, missing nicety, incomplete observability, style that obscures risk
infoContext, praiseworthy pattern, or question for the human — not a defect

Mandatory downgrades

Downgrade high → medium (or drop) when:

  • Wording is speculative: might, may, could, ensure, verify, consider, if any, potentially
  • Topic is secrets/credentials but evidence is only env names, .env.example, docs, or config keys — no actual secret material / key blobs / live tokens in the change
  • Issue is pre-existing and untouched by the change (for change-review): note under residual, do not block on it unless user asked for full-repo audit

Gate (verdict)

  • Block — any unresolved high
  • Proceed with changes — mediums that should land before merge/ship when feasible
  • Proceed with residual risk — only lows/info, or mediums explicitly accepted by the human

Finding schema

Use this shape for every finding (markdown or structured list):

### [CATEGORY | SEVERITY] Title
- **Evidence:** [path:line / resource / log — quote the minimal proof]
- **Risk:** [what fails or what an attacker/operator can do]
- **Recommendation:** [concrete fix fitting this codebase]
- **Verify:** [test name/sketch, probe, alert, or runbook check]

Categories (exactly one primary):

CategoryFocus
securityAuthn/authz, injection, secrets, SSRF, crypto, tenancy, supply chain
reliabilityCorrectness, error handling, races, idempotency, data integrity, retries
performanceHot paths, N+1, unbounded work, caching, payload size, resource exhaustion
operabilityLogs/metrics/traces, alerts, runbooks, deploy/rollback, config, toil

Infra cost/optimization maps to performance (efficiency) or operability (lifecycle/hygiene) — say which.


Output formats

A. Standard review (default)

## Engineering Review — [mode]
**Target:** […]
**Verdict:** Block | Proceed with changes | Proceed with residual risk

### Findings
[≤6 findings using the schema]

### Fixed since last review
[reconcile mode / follow-up only]

### Still open
[prior findings not evidenced as fixed]

### Suggested tests
[2–6 copy-pasteable ideas, or point to test-harden section]

### Residual / out of scope
[pre-existing, speculative, or parked items]

### Next actions
1. …

B. Incident / debug brief

## Engineering Review — [incident|debug]
**Symptom:** …
**Blast radius:** …
**Leading hypothesis:** … (evidence: …)
**Disproved:** …
**Actions now:** …
**Findings / hardenings:** [schema]
**Verify recovery:** …

C. Infra posture

## Engineering Review — infra-audit
**Scope / account-region:** …
**Posture summary:** [1 paragraph + counts by severity]
**Findings:** [schema — cite resource IDs]
**Prioritized actions:** …
**Gaps / analyzer limits:** …

Keep prose tight. Lead with findings, not preamble.


Follow-up reconciliation

When the user returns with new commits or “did we fix it?”:

  1. Load prior open findings (from chat, PR comment, or a findings file they point to).
  2. Re-inspect current evidence (full relevant diff / system state).
  3. Mark resolved only when the latest evidence shows a concrete fix (guard, validation, test, removed vuln path, closed SG, etc.).
  4. Do not mark resolved merely because the issue is absent from new hunks — unchanged code can still be broken.
  5. When unsure → keep still open.
  6. Emit: Fixed / Still open / New findings (same schema). Fresh scan that still reports the issue vetoes an optimistic “resolved”.

Suggested tests (always)

For change-review and test-harden, prefer runnable sketches matching the repo’s framework (detect from existing tests). Categories:

  • edge_case · security · fuzz · regression

Each suggestion: title, rationale, target path, insert hint, and complete-enough code (not pseudocode). Mock external I/O. Do not brand tests with tool or AI names.


Standalone & optional siblings

This skill must work with zero other skills installed. Handle the full request here using modes + lenses.md.

NeedDo this (always available)If a sibling skill is installed
Deep security on a file/diffRun security lens thoroughly; include patched examples (hard rule 3)May also offer /appsec as an optional deeper pass — never required
Design / “how should we build”Use design-critique; if they need a durable write-up, produce a short Design brief (below) and get explicit approval before implementingMay offer /architecture-review for a multi-persona spec workshop — never required
Record a hard-to-reverse decisionAdd a brief decision note under Residual or write docs/adrs/YYYY-MM-DD-<slug>.md if the user wants a fileMay use an ADR skill if present
Repeated workflow to captureSummarize the procedure in chat; offer to write a skill only if askedMay use a skill-authoring helper if present

Design brief (when design-critique needs a durable artifact)

Write only if the user wants something to approve before build. Keep lean:

# Design brief: <name>
**Status:** Draft — awaiting approval
## Problem & goals
## Non-goals
## Recommendation
## Key contracts / data flow
## Failure modes & operability
## Rollout & verify
## Open questions

Wait for explicit approval before implementing. Do not invent a dependency on another skill to produce this.

Anti-patterns

  • Wall of “consider adding…” with no evidence
  • Failing the gate on hypothetical security theater
  • Ignoring operability (no logs/metrics/rollback) on “green” feature work
  • Rewriting architecture when a one-line guard fixes the finding
  • Duplicate findings across categories for the same root cause — pick the primary lens
  • Implementing large refactors during a review unless asked

Additional resources

  • Category checklists: lenses.md
  • Mode playbooks: modes.md
  • Severity & finding examples: examples.md

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.