commenting-c-and-python
Installation
SKILL.md
Commenting C and Python Files
This skill describes the commenting conventions used across the bocpy project.
Follow these patterns when adding or editing comments so the codebase stays
consistent.
C Files (_core.c, _math.c)
Function-Level Documentation — Doxygen /// Style
Every non-trivial function gets a Doxygen doc-comment block immediately above
its signature. Use triple-slash /// lines with @ tags in this order:
@brief— one-line summary (sentence case, no trailing period)@details— optional longer explanation@note— optional caveats or side-effects@param— one per parameter (description starts uppercase)@return— what the function returns