sota-c-cpp SKILL.md skillA
sota-c-cpp from martinholovsky/sota-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add martinholovsky/sota-skills/sota-c-cpp@git:20261012.ae1b29bPins git:20261012.ae1b29b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- martinholovsky/sota-skills
- Path
skills/sota-c-cpp/SKILL.md- Versions recorded
- 15
- Latest version
- git:20261012.ae1b29b, committed Oct 12, 2026
- First version recorded
- Jun 29, 2026
- Size
- 14,032 bytes
- Repository stars
- 23
- License
- CC-BY-4.0
State-of-the-art C and C++ engineering rules that Claude applies when writing or auditing C/C++. Covers modern idioms (RAII, value semantics, smart pointers, C++23), memory safety (lifetimes, bounds, sanitizers, hardening flags), undefined behavior, security (SEI CERT C/C++, MISRA, integer/buffer/format-string, injection), concurrency (C/C++ memory model, atomics, data races), build/tooling/CI (CMake, clang-tidy, cppcheck, ASan/UBSan/TSan, vcpkg/Conan, supply chain), and performance. Trigger…
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
# SOTA C & C++ (2026) Expert-level rules for producing and auditing production C and C++. C and C++ are *memory-unsafe by default*: the compiler will not stop you from reading freed memory, overrunning a buffer, or invoking undefined behavior (UB) that the optimizer then weaponizes. These rules exist to claw back the safety the language doesn't give you — through RAII, the type system, sanitizers, hardened build flags, and disciplined review. Baseline: C++23 (ISO/IEC 14882:2024) and C17/C23; flag where a control needs a newer toolchain. C++26 is feature-complete (DIS ballot 2026) — contracts, reflection, erroneous behavior for uninitialized reads, and a standardized hardened standard library; the last is usable today via libc++/libstdc++ hardening flags ([`rules/02`](rules/02-memory-safety.md)). Every rule states the *why*; every rules file ends with an audit checklist of grep/clang-tidy/ sanitizer patterns. ## Purpose Two consumers, one source of truth: - **BUILD mode** — generating new C/C++: follow the rules as defaults, not suggestions. Prefer C++ with RAII over raw C idioms unless the target is C. Deviate only with a comment justifying it. …
Read the whole file at its exact version.
How to install
mdr add martinholovsky/sota-skills/sota-c-cpp@sha256:9fc456be513d68b5The line at the top of this page pins the label git:20261012.ae1b29b, 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.
[](https://markdownregistry.com/a/art_23cldplqwvdtikhm)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 15 versions of this file, between Jun 29, 2026 and Oct 12, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.ae1b29b latest | 2026-10-12 | ae1b29b | 14,032 B | A | view · diff |
| git:20260926.e89beb1 | 2026-09-26 | e89beb1 | 13,249 B | A | view · diff |
| git:20260925.0da8106 | 2026-09-25 | 0da8106 | 13,265 B | A | view · diff |
| git:20260925.9af1226 | 2026-09-25 | 9af1226 | 12,872 B | A | view · diff |
| git:20260925.369b521 | 2026-09-25 | 369b521 | 12,630 B | A | view · diff |
| git:20260925.51daf1f | 2026-09-25 | 51daf1f | 12,126 B | A | view · diff |
| git:20260925.22599bd | 2026-09-25 | 22599bd | 11,834 B | A | view · diff |
| git:20260925.0e5a58b | 2026-09-25 | 0e5a58b | 11,769 B | A | view · diff |
| git:20260925.c4870c3 | 2026-09-25 | c4870c3 | 11,718 B | A | view · diff |
| git:20260916.296902d | 2026-09-16 | 296902d | 11,531 B | A | view · diff |
| git:20260914.32094b9 | 2026-09-14 | 32094b9 | 11,381 B | A | view · diff |
| git:20260820.7720f5a | 2026-08-20 | 7720f5a | 10,478 B | A | view · diff |
| git:20260709.6d10583 | 2026-07-09 | 6d10583 | 10,351 B | A | view · diff |
| git:20260701.1c5bd88 | 2026-07-01 | 1c5bd88 | 10,114 B | A | view · diff |
| git:20260629.4652137 | 2026-06-29 | 4652137 | 10,071 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14032 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
martinholovsky/sota-skills · 23 stars · license CC-BY-4.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_23cldplqwvdtikhm GET https://markdownregistry.com/api/v1/resolve?ref=martinholovsky/sota-skills/sota-c-cpp GET https://markdownregistry.com/api/v1/blob/9fc456be513d68b59840cbf4785e306e281f52264f349d111f003e950d6e66be
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.