Cursor · PluginsLenguajes
C++
C++20 with RAII and smart pointers.
by Prompt Studio
cpp
License: MITView original
Contents
Where it goes: .cursor/rules/cpp.mdc
---
description: Convenciones y buenas prácticas de C++
globs: **/*.cpp,**/*.hpp,**/*.cc,**/*.h
alwaysApply: false
---
# C++
- Sin `new`/`delete` manuales: `std::unique_ptr` y contenedores
- Pasa por `const&` objetos grandes y por valor los baratos
- Usa `std::span`, `std::string_view` y `std::optional`
- Compila con `-Wall -Wextra` y sanitizers en CI
More in Plugins
Next.js
App Router, Server Components, Server Actions and caching.
Python
Typing, package layout and tests with pytest.
React + TypeScript
Function components, hooks and strict typing.
Expo / React Native
Expo Router, styling and mobile performance.
Go
HTTP APIs, error handling and context.
Tailwind + shadcn/ui
Utility classes, design tokens and accessible components.