Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates AI-friendly project navigation with AGENTS.md, module INDEX.md files, and file intent headers for codebases.
5% 36%+32 ptsof test cases passed
Passed 8 of 22 test cases with the skill, and 1 of 22 without it.
3 of 3 safety checks passed
Not used yet
The 4-level index and design principles are universal. Below is how they map to specific language ecosystems.
| Aspect | Convention |
|---|---|
| Directory layout | include/ + src/ + tests/ (compiled); or flat lib/ (header-only) |
| File naming | snake_case.h / snake_case.cpp (or .hpp/.cc per project) |
| Module boundary | Namespace + directory; public API = public headers in include/ (or entry header for header-only) |
| Build system | CMake (CMakeLists.txt), MSBuild (.sln/.vcxproj), Makefile, or Meson |
| Package manager | vcpkg, Conan, or FetchContent |
| L0 Build commands | CMake: cmake -B build && cmake --build build && ctest --test-dir build; MSBuild: msbuild project.sln /p:Configuration=Release /p:Platform=x64 |
| L2 Contract annotations | Doxygen @pre, @post, @throws, @threadsafe |
| Include order | system → third-party → project (with blank line separators) |
| Header guards | #pragma once (or #ifndef PROJECT_MODULE_FILE_H) |
| Naming | snake_case functions, PascalCase classes, kCamelCase or SCREAMING_SNAKE constants |
Header-only libraries: All code lives in headers (no .cpp files). The "public API" is the entry header (e.g., library.hpp) that includes everything. There is no build step for the library itself — consumers include the header and link required system libraries. Tests and examples typically live in separate projects or sibling directories. When indexing, treat the main header directory as a single module with logical sub-groups in INDEX.md.
| Aspect | Convention |
|---|---|
| Directory layout | src/ flat or by domain; tests co-located as *.test.ts |
| File naming | kebab-case.ts |
| Module boundary | Directory + barrel index.ts (thin, < 20 lines) |
| Build system | tsc, esbuild, Vite |
| Package manager | npm, pnpm, bun |
| L2 Contract annotations | JSDoc @pre, @post, @throws, @sideeffect |
| Import order | builtins → packages → internal absolute → relative |
| Naming | camelCase functions, PascalCase classes, SCREAMING_SNAKE constants |
| Aspect | Convention |
|---|---|
| Directory layout | src/[package]/ + tests/; __init__.py for packages |
| File naming | snake_case.py |
Next to this one in the catalogue, plus more from the same author.