Cursor rules for C++ development with programming guidelines integration

Cursor rules for C++ development with programming guidelines integration is a skill for Claude Code, Codex from AmariahAK/atlarix-skills. It costs 10 tokens per session (1,166 once invoked), scanned A, original, Apache-2.0.

A set of Cursor rules for C++ development, covering code structure, naming, documentation, resource management, and safe error handling.

In plain words
What is it for?
Use it when asking Cursor to create, edit, or review C++ and CMake code.
Why use it?
It gives Cursor a consistent standard for C++ changes and helps avoid unclear naming, unsafe resource use, and inconsistent project conventions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

Good fit Use it when asking Cursor to create, edit, or review C++ and CMake code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file
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.

Any agent
npx skills add AmariahAK/atlarix-skills --skill acr-cpp-programming-guidelines-cursorrules-prompt-file
Clone the repo
git clone --depth 1 https://github.com/AmariahAK/atlarix-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Cursor rules for C++ development with programming guidelines integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file/github.svg)](https://agentmods.dev/skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file)
Your own site
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Cursor rules for C++ development with programming guidelines integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-cpp-programming-guidelines-cursorrules-prompt-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.01166
Opus 5.5 $0.00004 $0.00466
Sonnet 5.5 $0.00002 $0.00233
Haiku 4.5 $0.00001 $0.00117

Measured 3mo ago against content hash f837d54f2bb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Cursor rules for C++ development with programming guidelines integration 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 3mo ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/acr-cpp-programming-guidelines-cursorrules-prompt-file/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cursor rules for C++ development with programming guidelines integration

When to use this skill

Cursor rules for C++ development with programming guidelines integration.

Source

Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/cpp-programming-guidelines-cursorrules-prompt-file.mdc.

C++ Programming Guidelines

Basic Principles

  • Use English for all code and documentation.
  • Always declare the type of each variable and function (parameters and return value).
  • Create necessary types and classes.
  • Use Doxygen style comments to document public classes and methods.
  • Don't leave blank lines within a function.
  • Follow the one-definition rule (ODR).

Nomenclature

  • Use PascalCase for classes and structures.
  • Use camelCase for variables, functions, and methods.
  • Use ALL_CAPS for constants and macros.
  • Use snake_case for file and directory names.
  • Use UPPERCASE for environment variables.
  • Avoid magic numbers and define constants.
  • Start each function with a verb.
  • Use verbs for boolean variables. Example: isLoading, hasError, canDelete, etc.
  • Use complete words instead of abbreviations and ensure correct spelling.
    • Except for standard abbreviations like API, URL, etc.
    • Except for well-known abbreviations:
      • i, j, k for loops
      • err for errors
      • ctx for contexts
      • req, res for request/response parameters

Functions

  • Write short functions with a single purpose. Less than 20 instructions.
  • Name functions with a verb and something else.
  • If it returns a boolean, use isX or hasX, canX, etc.
  • If it doesn't return anything (void), use executeX or saveX, etc.
  • Avoid nesting blocks by:
    • Early checks and returns.
    • Extraction to utility functions.
  • Use standard library algorithms (std::for_each, std::transform, std::find, etc.) to avoid function nesting.
  • Use lambda functions for simple operations.
  • Use named functions for non-simple operations.
  • Use default parameter values instead of checking for null or nullptr.
  • Reduce function parameters using structs or classes
    • Use an object to pass multiple parameters.
    • Use an object to return multiple results.
    • Declare necessary types for input arguments and output.
  • Use a single level of abstraction.

Read the full file on GitHub · 146 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 146 lines · 10 tokens per session scan A f837d54f2bb8

Subscribe to this mod's changes

Cursor rules for C++ development with programming guidelines integration is a skill published in the GitHub repository AmariahAK/atlarix-skills (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,166 once invoked, about $0.0000 per session on Opus 5.5. 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

Cursor rules for C++ development with programming guidelines integration compared with skills from other repositories

Cursor rules for C++ development with programming guidelines integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Cursor rules for C++ development with programming guidelines integrationAmariahAK/atlarix-skillsSkill02mo agoApache-2.0A10Claude Code, Codex
cpp-systemsiliaal/ai-skillsSkill462d agoMITA78Claude Code
unreal-cpp-developerIliaMerkurev/ue5-cpp-ai-skillSkill924d agoMITA72Codex
build-compiled-extensionsA-EVO-Lab/a-evolveSkill87024d agononeA34Claude Code, Codex
write-cuda-reduction-kerneltensormux/kernel-skillsSkill935mo agoMITA0Claude Code, Codex
sota-c-cppmartinholovsky/SOTA-skillsSkill31todayCC-BY-4.0A269Claude Code
debug-cuda-kernel-correctnesstensormux/kernel-skillsSkill935mo agoMITA0Claude Code, Codex