Paddle Build
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
C++ development best practices. An agent skill from 2SSK/dot-files.
$ npx skills add 2SSK/dot-files --skill cpp-best-practices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install 2SSK/dot-files cpp-best-practices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/2SSK/dot-files.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cpp-best-practices .claude/skills/cpp-best-practices && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cpp-best-practices" agent skill from https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practices into .claude/skills/cpp-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cpp-best-practices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add 2SSK/dot-files --skill cpp-best-practices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install 2SSK/dot-files cpp-best-practices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/2SSK/dot-files.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/cpp-best-practices .agents/skills/cpp-best-practices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cpp-best-practices" agent skill from https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practices into .agents/skills/cpp-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cpp-best-practices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 2SSK/dot-files --skill cpp-best-practices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install 2SSK/dot-files cpp-best-practices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/2SSK/dot-files.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/cpp-best-practices .cursor/skills/cpp-best-practices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cpp-best-practices" agent skill from https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practices into .cursor/skills/cpp-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cpp-best-practices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/2SSK/dot-files.git --path .claude/skills/cpp-best-practices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add 2SSK/dot-files --skill cpp-best-practices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install 2SSK/dot-files cpp-best-practices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/2SSK/dot-files.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/cpp-best-practices .gemini/skills/cpp-best-practices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cpp-best-practices" agent skill from https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practices into .gemini/skills/cpp-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cpp-best-practices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install 2SSK/dot-files cpp-best-practicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add 2SSK/dot-files --skill cpp-best-practices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/2SSK/dot-files.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/cpp-best-practices .github/skills/cpp-best-practices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cpp-best-practices" agent skill from https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practices into .github/skills/cpp-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cpp-best-practices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 2SSK/dot-files --skill cpp-best-practices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install 2SSK/dot-files cpp-best-practices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/2SSK/dot-files.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/cpp-best-practices .opencode/skills/cpp-best-practices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cpp-best-practices" agent skill from https://github.com/2SSK/dot-files/tree/main/.claude/skills/cpp-best-practices into .opencode/skills/cpp-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cpp-best-practices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cpp-best-practicesC++ development best practices. An agent skill from 2SSK/dot-files.
Cpp Best Practices is an agent skill from 2SSK/dot-files. C++ development best practices. Modern C++20/23, RAII, zero-overhead abstractions, safety. Use when writing C++ code.
Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode
It works with C++. The licence is MIT.
Read from SKILL.md and the folder at commit 5cab3b1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
cmakeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
opencode
From compatibility in the SKILL.md frontmatter.
Cpp Best Practices loads about 489 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 64 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from 2SSK/dot-files at commit 5cab3b1, republished under its MIT licence (© 2SSK). 64 words, ~489 tokens.
.claude/skills/cpp-best-practices/SKILL.md (or your agent's skills folder).Modern C++20/23 with zero-overhead abstractions and safety.
// Smart pointers — always
auto ptr = std::make_unique<Resource>();
auto shared = std::make_shared<Cache>();
// No raw new/delete
// std::vector for dynamic arrays
// std::string for strings// Concepts (C++20)
template<typename T>
concept Hashable = requires(T a) {
{ std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
};
// Ranges (C++20)
auto results = range | std::views::filter(pred)
| std::views::transform(func)
| std::views::take(10);
// std::expected (C++23)
std::expected<int, Error> divide(int a, int b) {
if (b == 0) return std::unexpected{DivisionByZero{}};
return a / b;
}// std::jthread for cancellation
std::jthread worker([](stop_token) {
while (!stop_token.stop_requested()) {
// work
}
});// Exceptions for exceptional cases
// noexcept for functions that shouldn't throw
// std::expected for fallible operationscmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address,undefined"
ctest --output-on-failure© 2SSK, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/cpp-best-practices of 2SSK/dot-files.
Open the folder on GitHubat commit 5cab3b1
Cpp Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cpp Best Practices this skill2SSK/dot-files | 247 | — | ~489 | Automated safety check: Pass | MIT | |
| Paddle BuildPaddlePaddle/Paddle | 24k | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Fory Releaseapache/fory | 4.6k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime | 22k | — | ~3.3k | Automated safety check: Pass | MIT | |
| Code Audit3stoneBrother/code-audit | 893 | 1 repos | ~2.7k | Automated safety check: Pass | None | |
| Qt C++ Code Reviewx-tools-author/x-tools | 1.1k | 2 repos | ~4.3k | Automated safety check: Pass | BSD-3-Clause |
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
apache/fory
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.
microsoft/onnxruntime
Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.
3stoneBrother/code-audit
Professional code security audit skill covering 55+ vulnerability types.
x-tools-author/x-tools
Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.
doxygen/doxygen
Keeps all Doxygen and Doxywizard translations up to date across three mechanisms: translator C++ classes (src/translatorxx.h), Qt .ts locale files for the Doxywizard GUI (addon/doxywizard/i18n/)…
2SSK/dot-files
Docker and container best practices. An agent skill from 2SSK/dot-files.
2SSK/dot-files
Go development best practices. An agent skill from 2SSK/dot-files.
2SSK/dot-files
Observability best practices. An agent skill from 2SSK/dot-files.
2SSK/dot-files
React Native development. An agent skill from 2SSK/dot-files.
2SSK/dot-files
A skill your agent uses when the user wants to commit, push, and open a pull request for the current changes.
2SSK/dot-files
Test-Driven Development workflow. An agent skill from 2SSK/dot-files.
Works with
C++ development best practices. An agent skill from 2SSK/dot-files. Cpp Best Practices is an agent skill from 2SSK/dot-files. C++ development best practices.
Cpp Best Practices fits situations like: writing C++ code.
Run `npx skills add 2SSK/dot-files --skill cpp-best-practices -a claude-code`. Or copy the skill folder (.claude/skills/cpp-best-practices in 2SSK/dot-files) into .claude/skills/cpp-best-practices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add 2SSK/dot-files --skill cpp-best-practices -a codex`. Or copy the skill folder (.claude/skills/cpp-best-practices in 2SSK/dot-files) into .agents/skills/cpp-best-practices in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 2SSK/dot-files --skill cpp-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cpp-best-practices, .gemini/skills/cpp-best-practices, .github/skills/cpp-best-practices and .opencode/skills/cpp-best-practices in your project.
Going by SKILL.md and its folder, Cpp Best Practices needs the command-line tools its instructions call (cmake). Compatibility (from SKILL.md): opencode.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cpp Best Practices is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 489 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cpp Best Practices: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 893 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
2SSK (a GitHub user) maintains it in 2SSK/dot-files, which has 247 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on September 12, 2026.
Source: 2SSK/dot-files on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.