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
Informações da origem
- Repositório
- XenolithEngine/xenolith-engine
- Última atividade na origem
- 17 de agosto de 2026 às 12:29
- Idioma detectado do SKILL.md
- inglês
- Estrelas
- 4
- Forks
- 0
Opções de instalação
Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.
Revise os arquivos de origem
Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.