cpp

A pair of modern C++ skills for Node.js native add-ons, which are compiled C++ modules loaded by Node.js. One examines proven memory and resource defects; the other reviews build protection and maintainable C++ practices.

In plain words
What is it for?
Use it to investigate use-after-free, leaks, out-of-bounds access, races, and Node-API misuse, or to review node-gyp settings, compiler hardening, sanitizers, static analysis, and CI.
Why use it?
It brings together runtime defect checking and project setup review while keeping those questions separate. Findings are expected to be supported by evidence, such as a sanitizer report for memory problems.

Plugin for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Claude Code
/plugin marketplace add photostructure/coding-skills
agentmods
npx agentmods add plugins/photostructure/coding-skills/cpp
Clone the repo
git clone --depth 1 https://github.com/photostructure/coding-skills

Made for: Claude Code.

Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

cpp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cpp/.claude-plugin/plugin.json · 31 lines

What it actually says

{
  "name": "cpp",
  "version": "1.1.3",
  "description": "Two complementary modern-C++ (C++17) native-addon skills for Claude Code. resource-review traces object and resource lifetimes and reports only proven memory/resource defects (use-after-free, double-free, leaks, out-of-bounds, integer overflow, data races, Node-API handle/reference/threadsafe-function misuse), using a sanitizer stack trace as proof. project-setup assesses cross-platform node-gyp build configuration, per-OS/per-arch compiler hardening, sanitizer/static-analysis/CI wiring, and maintainable modern-C++ conventions (RAII, ownership, rule of five, exception safety across the C ABI) with evidence-backed Met/Gap/Not applicable/Needs verification states.",
  "author": {
    "name": "Matthew McEachen",
    "url": "https://photostructure.com/coding/"
  },
  "homepage": "https://photostructure.com/coding/",
  "license": "CC-BY-SA-4.0",
  "keywords": [
    "claude-code",
    "skills",
    "cpp",
    "c-plus-plus",
    "modern-cpp",
    "memory-safety",
    "resource-management",
    "raii",
    "node-api",
    "node-addon-api",
    "node-gyp",
    "native-addon",
    "sanitizers",
    "addresssanitizer",
    "clang-tidy",
    "compiler-hardening",
    "cross-platform"
  ]
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 31 lines scan A 3137923af6c8

Subscribe to this mod's changes

cpp is a plugin published in the GitHub repository photostructure/coding-skills (3 stars, last pushed 2d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other plugins, from other repositories

decision-records

Creates, supersedes and validates decision records (ADRs) against the convention a collection already follows, instead of against a published spec it may never have adopted. Ships the decision-records skill: a propose-then-write flow that never rewrites an accepted record, and check-decisions.sh, a validator that…

fvadicamo/dev-agent-skills · not measured

privacy-guard

Keeps private infrastructure details out of public repositories. Ships the privacy-guard skill: session rules for what must never cross the public boundary, plus a per-repo pre-commit gate built on a gitignored local denylist and gitleaks. The denylist is never committed, so the hook is a no-op for external…

fvadicamo/dev-agent-skills · not measured

github-workflow

Git commit, PR creation, review, and merge skills following Conventional Commits.

fvadicamo/dev-agent-skills · not measured

skill-authoring

Guide for creating Claude Code skills following Anthropic's best practices.

fvadicamo/dev-agent-skills · not measured

dev-agent-skills

Plugin marketplace listing 5 plugins: github-workflow, skill-authoring, guardrails, privacy-guard, decision-records.

fvadicamo/dev-agent-skills · not measured

guardrails

Safety guardrails for running Claude Code with reduced supervision. The guard-destructive PreToolUse hook matches against a normalized view of each command (heredoc bodies and comments stripped, quoted strings neutralized except interpreter arguments like ssh / sh -c / eval / su / doas), so a command that merely…

fvadicamo/dev-agent-skills · not measured