← ClaudeAtlas

cpp-classlisted

Generate C++ (C++20) .hpp/.cpp files and class architectures in Tsukini's style (Xartania header, indented include guards, INCLUDE/CLASS sections, Pre-Function/Function/Operator/Constructor/Destructor blocks, libutils attributes or standard [[...]]), with empty bodies only (never the logic), then register the .cpp in the CMakeLists.txt. Also creates the main.cpp entry point in the same style. Use whenever the user asks to create, scaffold or add a C++ class, a main / entry point, interface (I*), abstract class (A*), template, struct/Type or Define header, module or set of .hpp/.cpp files.
TsukiNi22/ai-utils · ★ 1 · Data & Documents · score 77
Install: claude install-skill TsukiNi22/ai-utils
# C++ files in Tsukini's style `<name>` (a skill) = the folder of that skill: `~/.claude/skills/<name>` (setup.sh) or `${CLAUDE_SKILL_DIR}/../../*/<name>` (plugin of the marketplace). Read before writing the first file: - `reference/layout.md`: file/class layout, header, includes, attributes, **empty bodies rule**; - the `cpp-style` skill (`SKILL_DIR/../cpp-style/SKILL.md`): naming, formatting, spacing; - the `cpp-comments` skill (`SKILL_DIR/../cpp-comments/SKILL.md`): comments. The files of `examples/` (real libutils code) are the ground truth for the layout. `SKILL_DIR` below = the directory of this file. ## libutils freshness First, once per conversation: the freshness check of the `libutils` skill (`bash <libutils skill>/scripts/check.sh`, section "Freshness check" of `libutils/SKILL.md`). Outdated -> reuse the answer already given in this conversation, else ask once (continue / update the installed libutils with `libutils-install` / the project's requirement with `libutils-setup` / the skills reference) and remember it. > **Architecture only: never write the content/logic of a function.** Every body is > `/* Nothing */` (+ the minimal `return {};` when non-void), even if the user describes the > behavior: it goes in a trailing comment of the declaration. The user writes the logic. > Allowed: `= default`/`= delete`/`= 0`, init lists forwarding the parameters, one-member > accessors, a public wrapper forwarding to its `name_` implementation. Details in `reference/layou