code-style
Write C/C++ in the Xenolith/Stappler monorepo the way the codebase is written. Use BEFORE creating or editing sources in runtime/, stappler/, xenolith/, tests/ or utils/ — new file, new header, new class, new platform branch, new allocation. Covers .cpp SCU vs .cc subunits, license/include-guard/namespace layout, SP_PUBLIC and SPRT_API, naming (_member, handleXxx, Rc<T>::create), #if SPRT_WINDOWS platform guards, pool vs malloc ownership rules (AllocPool, sprt::__delete, new (pool) T), independent pools that move between threads (PoolRef, SharedRef<T>, PoolObject), threads and dispatch (Looper, Task, Handle), the scene graph (Node geometry, and using System/Component instead of subclassing Node), strings (StringView lifetime, mem_std vs mem_pool, CallbackStream, reader API), Unicode text (compareCodepoints vs compareFolded vs collate, case mapping strings not characters, IDN, and the rules for generated Unicode tables), error handling with no exceptions (Status, Result<T>, slog(), asserts), weakly-typed data
Informations de source
- Dépôt
- XenolithEngine/xenolith-engine
- Dernière activité de la source
- 17 août 2026 à 12:29
- Langue détectée de SKILL.md
- anglais
- Étoiles
- 4
- Forks
- 0
Options d'installation
Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.
Vérifiez les fichiers source
Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.