Cursor-rules
PromptBeginner5 minmarkdown
.cursorrules
.llmrules
0
| Rule | Pattern | Description |
Sign in to like and favorite skills
.llmrules
Code Style and Structure
Here are some pieces of information you need to know about this project:
| Rule | Pattern | Description |
|---|---|---|
| Enforce C99 Standards | | Ensure all C code adheres to C99 standards |
| Header Guard Convention | | All headers should use MYRTX_MODULE_FILENAME_H guard pattern |
| Documentation Required | | All public functions must have documentation comments |
| Memory Management | | Use arena allocator where possible, avoid raw malloc/free |
| Error Handling | | Use the context system for error propagation |
| Naming Convention | | Use myrtx_module_function naming pattern for all public functions |
| Test Coverage | | Each source file should have corresponding tests |
| Language | | All comments and documentation must be written in English, even though team communication is in German |
| Indentation | | Use tabs with a tab width of 4 spaces |
| Documentation Maintenance | | Documentation files must always be kept up-to-date with code changes |