Cpp ecosystem

From jordanhubbard/literate-ai · View interactive version

Cpp ecosystem is an AI agent skill from the GitHub repository jordanhubbard/literate-ai. Conventional C++ public-header and private-source layout.

How to use this skill

Skill file

C++ ecosystem layout

Keep public headers under include/<project>/, private implementation under src/,

tests under tests/, and optional hosted tools under tools/. Generated headers

belong in OBJ_DIR or another disposable projection, never next to authored public

headers. Package metadata stays build-system-neutral so Make, CMake, or Bazel can

compose without rewriting include roots.

Treat object files, static/shared libraries, compiler caches, and Conan/vcpkg

install trees as derived state under OBJ_DIR. Do not commit them as generated

source. Public headers that form a Component interface stay in admitted source;

preprocessed or configure-time headers do not.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.