Cursor-rules
PromptBeginner5 minmarkdown
Repo rules
- This provisioning code is designed to run on Manjaro Linux.
4
| Rule | Pattern | Description |
Loading actions...
- This provisioning code is designed to run on Manjaro Linux.
Project Summary:
This guide outlines the project structure and provides step-by-step instructions for setting up the Geometry Tutor application.
| Rule | Pattern | Description |
|---|---|---|
| Enforce C99 Standards | \.c$|\.h$ | Ensure all C code adheres to C99 standards |
| Header Guard Convention | \.h$ | All headers should use MYRTX_MODULE_FILENAME_H guard pattern |
| Documentation Required | \.c$|\.h$ | All public functions must have documentation comments |
| Memory Management | \.c$ | Use arena allocator where possible, avoid raw malloc/free |
| Error Handling | \.c$ | Use the context system for error propagation |
| Naming Convention | \.c$|\.h$ | Use myrtx_module_function naming pattern for all public functions |
| Test Coverage | src/.*\.c$ | Each source file should have corresponding tests |
| Language | \.c$|\.h$|\.md$|\.rst$ | All comments and documentation must be written in English, even though team communication is in German |
| Indentation | \.c$|\.h$ | Use tabs with a tab width of 4 spaces |
| Documentation Maintenance | \.rst$ | Documentation files must always be kept up-to-date with code changes |