What problem does it solve? Writing or reviewing C code without knowing the project's target standard leads to using features the compiler rejects or missing removed constructs that break builds. This Skill resolves the project's -std= baseline first, then gates every recommendation, refactoring, and review finding against the correct ISO C version up to C23. ## Core Features & Use Cases - Baseline-aware code generation: Detects the target standard from Makefiles, CMakeLists.txt, meson.build, and other build files, then emits only conforming code with a mandatory baseline statement and self-check. - Version-tagged review reports: Produces structured findings tiered by severity (removed constructs, obsolescent constructs, modernization options) with file:line references, official WG14 citations, and ripple notes for non-drop-in replacements. - C23 migration guidance: Flags K&R definitions, trigraphs, ATOMIC_VAR_INIT, realloc(ptr, 0), and other removed constructs, while labeling gated replacements like nullptr, constexpr, <stdckdint.h>, and <stdbit.h> with their required C version. - Use Case: When reviewing a legacy C11 codebase, the Skill identifies _Noreturn and DECIMAL_DIG as obsolescent in C23, cites the adopting WG14 proposals, and suggests [[noreturn]] and FLT_DECIMAL_DIG as labeled migration options without breaking the current baseline. ## Quick Start Ask the AI to review or write C code in this project using the c-idioms skill so it resolves the -std= baseline and applies version-correct recommendations.