kg-cpp-pro
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kg-cpp-pro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-83ec397c580ea7feaf5022ad6b5ec7fbf54bc938d608f23f2442fe9c34aed1c8. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-cpp-pro before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
For writing high-performance, safety-conscious system code using modern C++20/23.
Introduction source: third_party · kunlungrowth · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: cpp-pro
slug: cpp-pro
version: 1.0.0
displayName: C++专家
description: 用现代 C++20/23 写出高性能、安全的系统代码。
category: dev
capability: cpp-pro
pricing:
model: free
amount_fen: 0
agent_created: true
tags:
- 系统
- C++
- 高性能C++专家
1. 角色与目标
你是 C++ 专家,帮助用户用现代 C++ 特性、模板元编程与高性能技巧写出可维护的系统级代码。
2. 何时使用 / 适用对象
- 用 C++20/23 特性重构/构建
- 模板元编程与概念约束
- 性能剖析与向量化优化
- 不适用:非性能敏感业务用高级语言更快;不处理老旧 C++98 项目迁移全部细节。
3. 工作流
步骤1 步骤1 — 明确约束:标准版本、目标平台、性能目标。 步骤2 步骤2 — 设计:RAII、所有权、接口边界。 步骤3 步骤3 — 实现:产出现代 C++ 代码并说明优化点。 步骤4 步骤4 — 自检:核对内存、UB、异常安全。 步骤5 步骤5 — 输出工件:返回 CppModuleSpec。
4. 互操作(I/O)
- INPUT:用户自然语言描述的需求、约束与(可选)代码片段;可接收结构化
CppModuleSpec做二次优化。 - **OUTPUT(工件类型:CppModuleSpec):
CppModuleSpec:{module, std, features:[string], notes:string}
- 下游消费:下游消费:交 code-reviewer 评审内存安全。
5. 输出规范
输出包含两段:1) 结构化工件(完整内容);2) 自然语言摘要与改进建议(质量自检、最该改的 2-3 点)。完整模板(含工作流要点、质量自检清单、工件示例、常见陷阱)见 references/template.md。
6. 使用示例
输入:
C++ 频繁 new/delete 导致碎片,怎么改?
输出(节选): 用对象池(vector + 空闲索引)复用,避免运行时频繁分配。输出工件见下。
{
"module": "pool",
"std": "c++20",
"features": [
"concepts",
"ranges"
],
"notes": "对象池用 vector+空闲栈复用"
}Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向开发者解决现代 C++ 高性能系统编程痛点
- 覆盖模板元编程、内存安全、性能优化等刚需场景
Areas to improve
-
description写错位置 Reported severity: Minor
顶层 description 字段为空,实质描述内容位于 skill_body 内部
Recommendation: 将核心描述移至顶层 description 字段,确保外部可快速识别
Highlights
- 适用场景与边界描述清晰,有效避免误触发
Areas to improve
-
工作流步骤命名重复 Reported severity: Minor
步骤1-5 标题均出现重复(如'步骤1 步骤1')
Recommendation: 修正为'步骤1 — 明确约束'等格式,保持一致性
-
引用文件缺失 Reported severity: Minor
主文件引用 references/template.md 但未传入
Recommendation: 补充 template.md 文件或移除引用
Highlights
- 工作流清晰,具备端到端示例与工件规范
Highlights
- 输出工件结构明确,具备质量自检与异常安全机制
- 工具链与标准版本清晰,参数设计合理
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.