BMAD-METHOD/.claude/rules/cpp-programming-guidelines-...
oimiragieo 2c082180cb Build: bmad-spec-kit v1
Merged both the BMAD and Github SPEC frameworks into a single entity to see how Claude Code operates with subagents, and some detailed Claude rules.
2025-09-08 18:06:15 -04:00
..
.cursorrules Build: bmad-spec-kit v1 2025-09-08 18:06:15 -04:00
README.md Build: bmad-spec-kit v1 2025-09-08 18:06:15 -04:00

README.md

C++ Programming Guidelines for Cursor AI

This .cursorrules file provides comprehensive guidelines and best practices for C++ development when using Cursor AI. It helps maintain consistent, high-quality code across C++ projects by standardizing naming conventions, coding patterns, and other important aspects of C++ programming.

File Pattern Matches

This .cursorrules file is designed to work with the following file patterns:

  • *.cpp - C++ source files
  • *.h - C/C++ header files
  • *.hpp - C++ header files (alternative extension)
  • *.cxx - C++ source files (alternative extension)
  • *.cc - C++ source files (alternative extension)
  • *.c - C source files (if the project mixes C and C++)
  • CMakeLists.txt - CMake build configuration files
  • *.cmake - CMake script files
  • Makefile - Make build files

Key Features

  • Comprehensive naming conventions for variables, functions, classes, and files
  • Best practices for function design and implementation
  • Guidelines for class structure and organization
  • Memory management recommendations using modern C++ features
  • Project structure organization
  • Standard library usage guidelines
  • Concurrency and multithreading best practices

Usage

Place this .cursorrules file in the root of your C++ project to ensure Cursor AI generates and modifies C++ code according to these guidelines.