Skills Plugins MCP Prompt Model 博客 我的中心
コンテンツ制作 #design #writing #ai

google-cpp-style

Google C++ Style Guide rules for writing clean, maintainable C++ code. Use when writing C++, reviewing code, discussing naming conventions, formatting, class design, or any C++ best practices. Covers headers, scoping, classes, functions, naming, comments, and formatting.

DeepseekModel キュレーション済みスキル 品質 優秀 · 78 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=clickhouse-pg-stat-ch-claude-skills-google-cpp-style-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name google-cpp-style description Google C++ Style Guide rules for writing clean, maintainable C++ code. Use when writing C++, reviewing code, discussing naming conventions, formatting, class design, or any C++ best practices. Covers headers, scoping, classes, functions, naming, comments, and formatting. Google C++ Style Guide This skill provides the complete Google C++ Style Guide for C++20. Apply these rules when writing or reviewing C++ code. Quick Reference Topic Key Rules Naming Types: PascalCase , functions: PascalCase , variables: snake_case , constants: kPascalCase , macros: UPPER_CASE Formatting 80 char lines, 2-space indent, spaces (not tabs), { on same line Headers Self-contained, #define guards, include what you use Classes Prefer composition over inheritance, explicit constructors, private data members Core Principles Optimize for the reader - Code is read more than written Be consistent - Follow existing patterns in the codebase Avoid surprising constructs - Prefer clear over clever Target Version Code should target C++20 . Do not use C++23 features or non-standard extensions. Detailed References For complete rules on specific topics: Header Files - Include guards, ordering, forward declarations Scoping - Namespaces, linkage, static/global variables Classes - Constructors, inheritance, operator overloading Functions - Parameters, overloading, default arguments C++ Features - Smart pointers, exceptions, RTTI, lambdas Naming - All naming conventions with examples Comments - Documentation style and requirements Formatting - Whitespace, braces, line length Common Patterns Header File Template # ifndef PROJECT_PATH_FILE_H_ # define PROJECT_PATH_FILE_H_ # include "project/public/header.h" # include <sys/types.h> # include <string> # include <vector> # include "other/library.h" # include "project/internal.h" namespace project { class MyClass { public : MyClass (); explicit MyClass ( int value) ; void DoSomething () ; int count () const { return count_; } void set_count ( int count) { count_ = count; } private : int count_; }; } // namespace project # endif // PROJECT_PATH_FILE_H_ Class Declaration Order class MyClass { public : // Types and type aliases using ValueType = int ; // Static constants static constexpr int kMaxSize = 100 ; // Constructors and assignment MyClass (); MyClass ( const MyClass&) = default ; MyClass& operator =( const MyClass&) = default ; // Destructor ~ MyClass (); // All other methods void Process () ; protected : // Protected members (if needed) private : // Private methods void InternalHelper () ; // Data members int value_; }; Function Comments // Returns an iterator positioned at the first entry >= `start_word`. // Returns nullptr if no such entry exists. // The client must not use the iterator after the table is destroyed. std::unique_ptr<Iterator> GetIterator (absl::string_view start_word) const ; Critical Rules Summary Always Do Use #define guards in all headers Make single-argument constructors explicit Use nullptr (not NULL or 0 ) for pointers Use override or final for virtual function overrides Declare data members private Initialize variables at declaration Never Do Use using namespace directives Use C-style casts (use static_cast , etc.) Use exceptions (in Google code) Use non-standard extensions Define macros in headers (when possible) Use std::auto_ptr (use std::unique_ptr )
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。