Codex Zireael C Code Style for Bitwise Expressions and Constants
Improve readability in Zireael C files through named constants, clear intermediate values, and comments explaining non-obvious behavior.
中文Install in Codex
Codex with a pinned Zireael checkout and its code standards, determinism rules, and libc policy.
- Copy the entire pinned `.codex/skills/zireael-code-style/` directory to `.agents/skills/zireael-code-style/` in the target checkout.
- Open Codex in that checkout and invoke `$zireael-code-style` with the example task and desired output.
Example task
Invoke `$zireael-code-style` on a local terminal-rendering exercise. Split a three-step color-channel operation into named values and check the same RGB fixtures before and after.What to check
The code uses clearer intermediates and focused comments. Fixture results show that the rendering behavior is preserved.
Original SKILL.md on GitHub · Updated
Frequently asked question
Where are comments useful?
Explain public API behavior, non-obvious ordering, and meaningful boundaries. Simple assignments usually explain themselves.