In short.
cpp-coding-standards is an AI assistant skill for developers writing and reviewing C++, but its mixed-version guidance and some examples need careful adaptation. Its strongest feature is a broad set of concrete recommendations tied to C++ Core Guidelines rule identifiers. It covers resource ownership, initialization, interfaces, exceptions, locking and templates. The supplied file provides instructions, not an automated checker. Some examples conflict with its own rules, and the Buffer example has a moved-from-state edge case identified by inspection. Nothing was executed or tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to .kiro/skills/cpp-coding-standards at revision d2ef2680594f9a17526a6e1a2e18b3d242c5d17b. The supplied manifest identifies SKILL.md as the complete selected folder content and includes the root LICENSE as a related notice outside that folder. Other ECC resources and the linked C++ Core Guidelines were not assessed. The unchanged captured SKILL.md is eligible for distribution with its license notice. No installation, assistant activation, compilation, code execution or behavioral testing occurred.
The overview
Identity
The resource is the cpp-coding-standards skill from affaan-m/ECC, located at .kiro/skills/cpp-coding-standards/SKILL.md. Its metadata identifies its origin as ECC and describes its purpose as guiding C++ writing, review and refactoring.
The document describes itself as derived from the C++ Core Guidelines and targets modern C++17/20/23. Its location under .kiro identifies the repository layout; the supplied file does not establish compatibility with particular assistant versions. Original folder: [https://github.com/affaan-m/ECC/tree/d2ef2680594f9a17526a6e1a2e18b3d242c5d17b/.kiro/skills/cpp-coding-standards].
Practical assessment
The skill offers a useful starting point for making AI-assisted C++ reviews more specific. Recommendations such as expressing ownership with smart pointers, initializing objects and naming lock guards give reviewers concrete issues to discuss.
Its breadth also requires judgment: naming preferences, architectural advice and safety guidance appear together as rules. It should be reconciled with the project's language standard and conventions. Assistant adherence, compiler compatibility and improvements in defect rates are not established.
Who it suits
It suits C++ developers using an assistant to write new code, review changes, refactor existing code or discuss interfaces and ownership. Beginners get contrasting examples and a checklist; experienced developers get rule identifiers and recommendations across several technical areas.
The source excludes non-C++ projects and legacy C codebases unable to adopt modern features. It explicitly calls for selective adaptation in embedded or bare-metal work where hardware constraints conflict with the guidance.
What it covers
The document covers functions, classes, ownership, initialization, exceptions, immutability, concurrency, templates, standard-library choices, enumerations, headers, naming and performance. Each area combines rule summaries with examples or anti-patterns.
Concrete advice includes returning a struct for multiple outputs, preferring unique ownership when sharing is unnecessary, waiting on condition variables with a predicate, and using concepts to constrain templates. Its final checklist can support a manual or assistant-assisted review; no executable enforcement mechanism is supplied.
Using it
Requirements
Assistant use requires a host that can load the supplied skill instructions. Supported hosts, minimum versions, model requirements and automatic discovery behavior are not specified.
Language requirements vary by example. The document targets C++17/20/23, but its concepts and ranges examples require C++20 features. A C++17 project cannot apply every recommendation unchanged. Several snippets omit surrounding declarations or headers, so they should be treated as illustrations rather than complete programs.
How it works
The skill works through written instructions: metadata describes when to use it, and the body supplies principles, numbered guideline references, examples and a completion checklist. An assistant receiving this material can use it as context when proposing or reviewing C++ changes.
A central principle is RAII, which ties resource cleanup to an object's lifetime. Related instructions favor explicit ownership, immutable values and scoped locks. The supplied file contains no parser, compiler integration or rule engine that verifies compliance.
Setup
The supplied resource is a SKILL.md file at .kiro/skills/cpp-coding-standards/SKILL.md. It includes no installation command, activation walkthrough or host configuration.
Use the intended assistant's documented skill-loading mechanism, then confirm that the file is included in its context. Before applying the guidance, establish the project's C++ standard and resolve relevant exceptions, especially for concepts, exception handling, ownership and naming. These are adoption suggestions; successful loading has not been demonstrated.
Example application
For a parser that returns a token and position through output references, the skill illustrates returning a ParseResult struct containing both values. This puts the outputs into the return type and follows its F.20 and F.21 recommendations.
For code that owns an allocated object, its ownership guidance favors std::unique_ptr and std::make_unique when ownership is exclusive. A raw pointer can represent a non-owning observer. These are applications of the written examples, not observed assistant responses or tested changes.
Assessment & evidence
Limitations and code caveats
The skill does not separate its checklist into language-standard profiles. Requiring constrained templates throughout conflicts with applying the checklist unchanged to a C++17 project. Embedded constraints are acknowledged, but detailed adaptation guidance is absent.
Some examples conflict with other instructions in the file. Sensor has a const data member despite an earlier warning against such members, and PI and MAX_SENSORS use capitals despite the naming rule reserving ALL_CAPS for macros. These inconsistencies need a project-level decision.
Inspection identifies an edge case in Buffer: its defaulted move transfers the owning pointer while leaving the source size_ unchanged. Copying a moved-from, previously nonempty Buffer can therefore pass a null source pointer and a nonzero count to std::copy_n. This is an inference from the shown code, not an executed test.
Why the guidance can help
Rule identifiers make proposed changes easier to explain and trace to the cited guidelines. Ownership advice addresses resource lifetimes, initialization advice addresses indeterminate state, and scoped-lock advice addresses cleanup during control-flow changes.
The document's practical value depends on applying those ideas to the actual program. Its internal inconsistencies and Buffer edge case reinforce the need for developer review and appropriate compiler or analysis checks. No measured safety or performance improvement is established.
Alternatives and complements
The skill directly references the C++ Core Guidelines as its underlying source: [https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines]. That is the named place to consult for original rule context, although its contents and current state are not included in the supplied evidence.
A project-specific coding guide can document local exceptions. Compiler diagnostics and static analysis can complement written guidance with executable checks. No named analyzer integration or comparison with other skills is supplied.
Source evidence
The available source consists of the skill's full SKILL.md and the repository-level LICENSE at revision d2ef2680594f9a17526a6e1a2e18b3d242c5d17b. The selected folder contains one file in the supplied manifest.
The unchanged instruction file is available at [https://raw.githubusercontent.com/affaan-m/ECC/d2ef2680594f9a17526a6e1a2e18b3d242c5d17b/.kiro/skills/cpp-coding-standards/SKILL.md]. Its recorded SHA-256 is 70919980c635f66db649b7eb1e426fb2098754ed6c9db22f1a7eee0935227d35.
The license notice is available at [https://raw.githubusercontent.com/affaan-m/ECC/d2ef2680594f9a17526a6e1a2e18b3d242c5d17b/LICENSE]. No runtime results, compilation results or assistant-session evidence are supplied.
Access & freshness
Costs
The MIT notice grants permission to use and redistribute the material free of charge under its conditions. The skill specifies no subscription or service pricing.
Any cost of the assistant or model used with it is unknown. Token consumption, review time and productivity gains are not measured in the supplied evidence.
Use and redistribution
The repository-level LICENSE is the MIT License, copyright (c) 2026 Affaan Mustafa. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions.
The license disclaims warranties and liability. The skill attributes its guidance to the C++ Core Guidelines; no separate license text for that linked external material is supplied.
Version and freshness
The supplied snapshot was captured on 2026-11-16 at 07:42:15.405 UTC and is pinned to revision d2ef2680594f9a17526a6e1a2e18b3d242c5d17b. The file supplies no separate skill version, release date or last-edit date.
Its C++17/20/23 description states its intended language coverage. It does not establish alignment with the latest C++ Core Guidelines, current assistant compatibility or changes made after the pinned revision.
Before adopting it
Choose the project's C++ standard, reconcile naming and const-member guidance with existing conventions, and adapt the concepts checklist for pre-C++20 code. Confirm how the intended assistant loads the file.
Review the Buffer move-and-copy behavior before reusing that example. Compile adapted snippets and check changes in the real project before relying on them. Preserve the MIT copyright and permission notice when distributing the skill or substantial portions.
