Cursor · PluginsLenguajes
C
Safe C: memory, buffers and errors.
by Prompt Studio
c
License: MITView original
Contents
Where it goes: .cursor/rules/c.mdc
---
description: Convenciones y buenas prácticas de C
globs: **/*.c,**/*.h
alwaysApply: false
---
# C
- Comprueba cada `malloc` y cada código de retorno
- Usa `snprintf` y tamaños explícitos, nunca `gets` ni `strcpy`
- Libera en un único punto de salida por función
- Compila con `-Wall -Wextra -Werror` y ASan en pruebas
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.