resource-review SKILL.md skillA

resource-review from photostructure/coding-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add photostructure/coding-skills/resource-review@git:20260820.d8935aa

Pins git:20260820.d8935aa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
photostructure/coding-skills
Path
plugins/cpp/skills/resource-review/SKILL.md
Versions recorded
4
Latest version
git:20260820.d8935aa, committed Aug 20, 2026
First version recorded
Jul 12, 2026
Size
15,752 bytes
Repository stars
5
License
MIT

Top-level memory- and resource-safety code review for modern C/C++ (C++17), including Node.js native addons (node-addon-api / Node-API). Use when the user asks to "review C++/C for memory safety", "find a memory leak", "why does this segfault", "check for use-after-free / double-free / buffer overflow / data race", "resource/handle/fd leak", "review this native addon", "N-API / node-addon-api review", or to check native code with AddressSanitizer/UBSan/TSan/Valgrind. Reports only defects…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# C/C++ Resource & Memory Review

## Leaf-mode guard

If the task identifies your role as `leaf-reviewer` or sets
`delegation-budget: 0`, read and follow
[`references/validation-pass.md`](./references/validation-pass.md), validate only
the supplied candidates, return the verdicts to the caller, and stop before the
full workflow below.

Identify **provable** memory- and resource-safety defects in modern C/C++ (C++17),
including Node.js native addons built with node-gyp and node-addon-api. Reason about
object lifetimes and resource ownership the way an AddressSanitizer report would — then
report only what you can back with concrete proof. Signal over noise.

This skill finds *defects* (a leak, a use-after-free, a race that actually exists). For
"is this project set up with the right hardening flags, sanitizers, CI, and conventions?"
use the `project-setup` skill, which assesses preventive controls, not exploitable bugs. A
missing hardening flag is not a defect; a heap-buffer-overflow is.

## Scope

**In scope:** C and C++ translation units (`.c/.cc/.cpp/.cxx/.h/.hpp`), especially
Node.js native addons (`Napi::ObjectWrap`, `AsyncWorker`, `ThreadSafeFunction`,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add photostructure/coding-skills/resource-review@sha256:2c0b8c4e67ca1bbd

The line at the top of this page pins the label git:20260820.d8935aa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cyzwdbkoi72cd3f6.svg)](https://markdownregistry.com/a/art_cyzwdbkoi72cd3f6)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jul 12, 2026 and Aug 20, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20260820.d8935aa latest2026-08-20 d8935aa 15,752 BA view · diff
git:20260714.d4fa0422026-07-14 d4fa042 15,694 BA view · diff
git:20260713.1031a772026-07-13 1031a77 14,850 BA view · diff
git:20260712.676a2522026-07-12 676a252 14,905 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15752 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

photostructure/coding-skills · 5 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cyzwdbkoi72cd3f6
GET https://markdownregistry.com/api/v1/resolve?ref=photostructure/coding-skills/resource-review
GET https://markdownregistry.com/api/v1/blob/2c0b8c4e67ca1bbd91970cd1647cba8b0c585d706c792f4c6a7c0e416740b316

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from photostructure/coding-skills

find SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/find/SKILL.md · Find the local coding-agent session that wrote the uncommitted changes in a file, or in a pasted snippet of changed…
git:20260924.5aa427c · audit A · 5 stars
gitplan SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/gitplan/SKILL.md · Plan and execute coherent Conventional Commit groupings for tangled working tree changes — multiple intertwined logical…
git:20261002.03479a6 · audit A · 5 stars
handoff SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/handoff/SKILL.md · Update the active Technical Project Plan for handoff when context is running low or the session is ending, so the next…
git:20261107.c82c884 · audit A · 5 stars
replan SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/replan/SKILL.md · Iterative deep planning with critiques and alternatives. Use when facing complex design decisions requiring thorough…
git:20260820.d8935aa · audit A · 5 stars
review-staged SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/review-staged/SKILL.md · Workflow to review the staged Git diff for verified bugs and then prepare a clean Conventional Commit. Use when the…
git:20261002.03479a6 · audit A · 5 stars
review SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/review/SKILL.md · Code-review workflow for verified issues in specific files, functions, diffs, or code sections. Use whenever a review…
git:20260918.58c004e · audit A · 5 stars
second-opinion SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/second-opinion/SKILL.md · Get second opinions on freshly written code from fresh Codex and Claude reviewers, one small batch at a time, then…
git:20261107.c82c884 · audit A · 5 stars
stage SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/stage/SKILL.md · Use when committing work from the current session to stage ONLY hunks the session touched, not the entire file…
git:20261002.03479a6 · audit A · 5 stars
tpp-orchestrate SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/tpp-orchestrate/SKILL.md · Work through a queue of Technical Project Plans serially — delegate each to a TDD subagent, get a cross-model second…
git:20261107.c82c884 · audit A · 5 stars
tpp SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/tpp/SKILL.md · Work a Technical Project Plan to completion — read the plan, start from its current phase, work through its tasks until…
git:20261107.c82c884 · audit A · 5 stars
write-clearly SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/write-clearly/SKILL.md · Draft and revise prose for clarity, precision, concision, unambiguous execution, and honest emphasis using Orwell's…
git:20261004.6829abd · audit A · 5 stars
project-setup SKILL.md skill
photostructure/coding-skills · plugins/cpp/skills/project-setup/SKILL.md · Setup and hardening review for cross-platform modern-C++ (C++17) native projects, especially Node.js addons built with…
git:20260820.d8935aa · audit A · 5 stars

Every file in photostructure/coding-skills

Browse by kind, by grade A, or by owner.