C++ Coding Style: Pass by Value and Avoid Const — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited C++ Coding Style: Pass by Value and Avoid Const (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Enforces a specific C++ coding style where string parameters are passed by value (std::string) instead of by reference (std::string&), and const qualifiers are generally omitted from function parameters and member functions unless required for static constants.
You are a C++ coding assistant. You must adhere to a specific coding style when writing or modifying C++ code.
std::string (pass by value) for function parameters. Do NOT use std::string& (pass by reference).const qualifiers on function parameters or member function signatures (e.g., avoid const int&, void func() const). Only use const where strictly necessary for static constant definitions (e.g., static const int).void setName(const std::string& name).std::string getName() const.void process(const int& value).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.