cpp

审查 · 63
已收录

Design, implement, and review modern C++ APIs and native implementation code. Use when working on .cpp, .hpp, CMake, RAII ownership, std::variant, callbacks, async work, platform bridges, or C++-backed React Native Nitro Module implementations.

Verified installs0
Stars161
版本1.0.0
质量63/100 · 有潜力
信任63/100 · 仅限沙盒
审计75/100 · 需审查

供给资产档案

编程与开发 Agent

代码审查、仓库分析、测试、CI、GitHub、DevOps 与开发工作流 Skill。

浏览赛道

场景

GitHub automation

I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.

适配 Agent

Claude Code + CLI + Codex

适用于 Codex、Claude Code、Cursor、CLI 或自定义 Agent。

安装

就绪

npx skills add margelo/react-native-skills --skill cpp

维护状态

新鲜

距上次推送 1 天

风险

需审查

许可证不清晰

GitHub 质量

161

63/100 质量 · 71/100 信任

覆盖标签

编程GitHub automation设计与创意agent-skill

审查说明

许可证不清晰 · License not detected in repository (GitHub reports 'Unknown').

Agent 采用评分卡

一眼查看信任、审计与安装准备度

这些分数综合公开仓库元数据、OpenAgentSkill 审查信号、维护新鲜度与安装准备度。它用于候选筛选,不替代人工审查。

质量

有潜力
63

有用的候选项,但采用前应与替代方案比较。

信任

仅限沙盒
63

有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。

审计

需审查
75

对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。

OpenAgentSkill 信任评分 v5

安装前需人工审查

仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

161 个 GitHub Stars

仓库活跃度

161 个 Star,7 个 Fork

维护状态

距上次推送 1 天

许可证

未知

安装

npx skills add margelo/react-native-skills --skill cpp

安装安全性

标准软件包或运行时安装路径

权限范围

filesystem or document access, network or browser access

Agent 结果

暂未有 Agent 结果数据

文档

Usable metadata, review docs

风险摘要

生产前审查

  • License not detected in repository (GitHub reports 'Unknown').
  • 许可证不清晰
  • Quality score needs review
  • Stars/forks activity: 161 stars, 7 forks; issue activity unavailable in current metadata

安装准备度

安装路径可用

  • 安装路径可用
  • 仓库证据可用
  • 许可证不清晰
  • 暂无 Agent 验证结果证据

Agent 可读元数据

这个 Skill 的机器可读决策数据。

使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。

打开 JSON

适用任务

  • 工作流自动化 工作流
  • Claude Code 团队
  • builders willing to evaluate younger projects
  • Move data between tools

适用 Agent

CodexClaude CodeCursorOpenAgentSkill CLICLI

安装决策

命令
npx skills add margelo/react-native-skills --skill cpp
策略
审查
人工审查

信任与风险

信任
63/100
审计
75/100
风险级别
需审查

结果闭环

端点
/api/agent/outcome
事件 ID
resolve
结果
5

安装命令

npx skills add margelo/react-native-skills --skill cpp

不适用场景

  • 需要厂商支持 SLA 的团队
  • production agents without a repository review
  • License not detected in repository (GitHub reports 'Unknown').
  • 许可证不清晰
  • Quality score needs review

Agent 安全 v2

59/100 · 安装前审查

已审查并附权限说明审查

可用候选,但 Agent 在安装前应展示权限与审计说明。

在真实工作区安装前需要人工批准。

通过 API 解析

网络访问

Skill 可能访问远程页面、API、仓库或外部服务。

文件系统访问

Skill 可能读取或写入项目文件、文档、生成产物或本地工作区状态。

  • 许可证不清晰

安装目标

在你的 Agent 工作流中安装此 Skill

通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install margelo-cpp

Agent 解析计划

让 Agent 在安装前验证匹配度。

Resolve API 返回首选 Skill、替代方案、安全策略、审计说明、安装目标和可直接执行的提示词,无需抓取此页面。

打开文本计划

Agent 应检查

  • 从 Resolve API 检查任务匹配与替代方案。
  • 检查审计评分、信任评分和安全策略警告。
  • 检查 Codex、Claude Code、Cursor 或 CLI 的安装目标兼容性。

复制提示词

Task: Use cpp in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cpp%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/margelo-cpp/install
Install command: npx skills add margelo/react-native-skills --skill cpp
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent 交接

把安装路径交给 Agent,而不是再给一个目录页。

通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。

打开安装 API

Agent 提示词

Use cpp for this task. Review https://www.openagentskill.com/api/skills/margelo-cpp/install, then install with: npx skills add margelo/react-native-skills --skill cpp

Registry 元数据

用于自动选择 Skill 的 Agent 可读档案。

本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。

打开 Manifest

适配 Agent

62/100

工作流自动化

平台

Claude Code

审计报告

需审查 · 75/100

对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。

查看审计报告查看评估报告

Agent 决策面板

Fallback candidate for Workflow automation

先用此 Skill 做原型验证,并保留备选方案。

62
就绪度
原型验证
阶段

栈中角色

备选候选

主要匹配

工作流自动化

信任标签

先做原型验证

安装路径

命令已就绪

适用场景

  • 工作流自动化 工作流
  • Claude Code 团队
  • builders willing to evaluate younger projects

证据

  • 仓库近期活跃
  • 已提供安装命令或 GitHub 仓库
  • 63/100 质量档案
  • 1 个 OpenAgentSkill 交互事件

先审查

  • License not detected in repository (GitHub reports 'Unknown').

实施路径

  1. 1在沙盒 Agent 中安装它,并端到端完成一次工作流自动化任务。
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

信任档案

仅限沙盒

有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。

63
OpenAgentSkill 信任评分

GitHub 采用度

信息

161 个 GitHub Stars

Star/Fork 活跃度

检查

161 个 Star,7 个 Fork; 当前元数据中没有议题活跃度信息

近期维护

通过

距上次推送 1 天

许可证清晰度

检查

未知

积极信号

  • AI 审查已通过
  • 安装路径可用
  • 仓库证据可用
  • 近期维护的仓库
  • 安装命令未发现明显高风险模式
  • 结果闭环已就绪,但需要首次真实 Agent 运行

安装前审查

  • License not detected in repository (GitHub reports 'Unknown').
  • 许可证不清晰
  • Quality score needs review
  • Stars/forks activity: 161 stars, 7 forks; issue activity unavailable in current metadata
  • License clarity: Unknown
  • 暂未有真实 Agent 结果报告
  • 无人值守安装前需要人工审查

建议操作

仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。

质量档案

有潜力 适用于 Agent 工作流的候选

有用的候选项,但采用前应与替代方案比较。

63
GitHub Stars
161
新鲜度
1 天前
安装就绪
许可证
未知
安装前审查: License not detected in repository (GitHub reports 'Unknown').

工作流匹配

在这些场景使用此 Skill

工作流匹配

加入完整工作流

替代方案短名单

安装前对比

可能适合该任务的相近 Skill。

对比全部

概览

--- name: cpp description: Design, implement, and review modern C++ APIs and native implementation code. Use when working on .cpp, .hpp, CMake, RAII ownership, std::variant, callbacks, async work, platform bridges, or C++-backed React Native Nitro Module implementations. ---

# C++

Use this skill for C++ code that needs clear ownership, strong type modeling, maintainable file boundaries, and predictable native integration. When the code is part of a Nitro Module, pair this with `build-nitro-modules` for generated specs, Promise mapping, CMake, and HybridObject constraints.

## Workflow

1. Read the generated headers, public API shape, and local ownership patterns before editing. 2. Model valid states with types before implementing behavior. 3. Keep headers small and stable; push implementation details into `.cpp` files. 4. Split helpers by responsibility instead of growing a primary implementation file. 5. Make ownership, lifetime, threading, and async boundaries explicit.

## Type-Safe API Design

- Represent state variants with `std::variant`, inheritance, or separate concrete types. Do not encode variants as one struct with many `std::optional` fields. - Keep related values nonoptional on the variant where they are valid. If `barcode` and `barcodeType` must exist together, put both on `ScannedBarcode`. - Use `std::optional` for real domain absence inside one state, not for "maybe this object is a different kind of thing". - Prefer compile-time flow over caller-side optional probing.

## File Organization

- Treat a filename as a scope contract. `HybridDataScanner.cpp` should implement `HybridDataScanner`; it should not also define unrelated geometry conversions, UI helpers, platform adapters, or extension-style utilities. - Keep one primary class, struct family, or cohesive algorithm per file by default. Split delegates, adapters, converters, platform shims, and reusable helpers into named files such as `GeometryConversions.cpp`, `DataScannerDelegate.cpp`, or `PlatformViewController.cpp`. - Put private helpers in an anonymous namespace only when they are small and only serve the file's primary type. Move reusable or bulky helpers to a separate file under a `detail` namespace or an internal folder. - Use line count as a review signal: files below roughly 300 lines are usually fine; files above that need a clear reason tied to one cohesive responsibility. Size caused by unrelated helpers, conversions, or platform glue is a design issue. - Do not hide large implementation bodies in headers. Use headers for declarations, templates that must be visible, and small inline functions only. - Put conversions on the element type or as a named converter function for one element when the conversion only reads one element. The one-element converter may still return multiple values; compose callers with standard loops, `std::transform`, insertion into a set, or `std::accumulate`. - Add collection-level helpers only when the collection has real domain behavior, such as validation across elements, deduplication, ordering, batching, caching, nonempty checks, or error aggregation.

## Ownership and Async

- Prefer RAII and explicit ownership with values, `std::unique_ptr`, and `std::shared_ptr` only when shared lifetime is real. - Avoid raw owning pointers. Raw pointers and references should be non-owning and documented by surrounding lifetime. - Use `std::variant`, `std::optional`, and strong structs to express API flow instead of stringly typed states. - Keep quick, deterministic, local work synchronous. Do not introduce executors, promises, or callback plumbing for simple value construction, cached metadata, or pure transforms. - Do not block caller threads for I/O, long CPU work, or platform callbacks. Use the project's async abstraction, an owned executor/thread, or Nitro `Promise<T>` when the operation can wait. - Avoid platform main/UI threads unless the platform API requires them. Keep main-thread blocks small and move parsing, conversion, I/O, session negotiation, and CPU work to an owned executor/thread or async API. - Keep thread-affine state behind a clear owner. Do not mix mutexes, queues, callbacks, and shared ownership without a documented boundary. - Treat repeated executor, queue, thread, or callback hops as an architecture smell. A component should either own the executor/thread it works on, or cross into that owner once at the public async boundary or native callback boundary. - If a workflow bounces between platform, worker, JS/Nitro, and callback threads in multiple nested places, stop and redesign the object/lifecycle/API. Excessive hops hide latency, make ordering harder to reason about, and create future performance problems. - Do not fix races or readiness bugs with `sleep_for`, `usleep`, timers, extra executor hops, or calling the same method twice. Fix ownership, the state machine, lifecycle event, callback contract, or async boundary instead. Retry only for external nondeterminism such as hardware, OS services, remote services, or network, and keep retries bounded, cancellable, and idempotent. - Treat `std::mutex` as last-resort synchronization, not default listener or callback plumbing. Before adding one, identify the exact shared mutable values, concurrent callers, and why one owner thread/queue, immutable snapshots, or message passing is not enough. - Never hold a mutex while invoking callbacks, crossing into JS/Nitro, calling platform APIs with unknown reentrancy, or calling user-provided code. Copy/snapshot the data needed for dispatch, unlock, then call out.

## Nitro Notes

- C++ HybridObjects must inherit from the generated `Hybrid*Spec` class and copy generated signatures exactly. - Use `std::shared_ptr<Promise<T>>` for generated async methods. - Keep generated-spec implementation files focused on the HybridObject. Put conversion helpers, OpenCV utilities, platform adapters, and CMake-only glue in separate files. - Pair JS-facing base HybridObjects with native interfaces or adapter classes when C++ needs to work with Swift/Kotlin-backed platform services.

技术详情

版本
1.0.0
许可证
Unknown
最近更新
2026年8月21日
发布时间
2026年8月21日

决策摘要

备选候选

62
就绪
原型验证
阶段

仓库近期活跃

审计

安装审查

安装与采用审查

75
需审查
安全性
73/100
维护状态
100/100
安装
92/100
打开完整审计查看评估报告

Agent 验证证据

Agent 验证证据

来自解析、审查、安装和一次小范围运行后的结果报告。

0
已验证
Needs first agent run自动安装: 先审查最近: 未知
成功率
近期失败
结果
0
输出质量
失败
0
不相关
0
安装次数
0
风险拦截
0
需要配置
0
生产环境
0

暂时没有 Agent 结果数据。首次 Agent 执行可以通过 /api/agent/outcome 报告成功、需要设置、风险拦截、失败或不相关。

安装

加入 Agent 工作流

免费且开源. 在生产 Agent 中安装前请先审查报告。

增长闭环

分享工具包

X

为 cpp 准备的场景化草稿,可手动发布到 X。

策展说明
cpp: Design, implement, and review modern C++ APIs and native implementation code. Use when workin...

161 stars

https://www.openagentskill.com/skills/margelo-cpp?ref=x
打开 X 草稿
可选:带安装命令的回复
Listing + install path for cpp:
https://www.openagentskill.com/skills/margelo-cpp?ref=x

Install: npx skills add margelo/react-native-skills --skill cpp
打开回复草稿

收录来源

Registry 收录

可认领

此列表来自公开来源,维护者认领获批前不会标记为官方。

创作者
margelo
收录方
OpenAgentSkill 社区索引

归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。

认领此 Skill

所有者认领

认领此 Skill 页面

这条 Registry 收录 列表归属于 margelo,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。

创作者外链工具包

将证据徽章加入你的 README

在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/margelo-cpp?metric=listed&label=Listed)](https://www.openagentskill.com/skills/margelo-cpp)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/margelo-cpp?metric=trust&label=Trust)](https://www.openagentskill.com/skills/margelo-cpp)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/margelo-cpp?metric=audit&label=Audit)](https://www.openagentskill.com/skills/margelo-cpp/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/margelo-cpp?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/margelo-cpp)

作者

M

margelo

@margelo

平台适配

健康信号

GitHub Stars
161
质量评分
38/100
最近 GitHub 推送
2026年8月21日
框架提示
未知
OpenAgentSkill 浏览量
1
复制安装命令
0
跳转点击
0

社区信号

告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。

信任与安全

仅限沙盒

63
  • GitHub 采用度161 个 GitHub Stars信息
  • Star/Fork 活跃度161 个 Star,7 个 Fork; 当前元数据中没有议题活跃度信息检查
  • 近期维护距上次推送 1 天通过
  • 许可证清晰度未知检查
  • README/SKILL.md 完整度公开元数据需要更完整的 README/SKILL.md 上下文信息
  • 依赖与运行时风险network or browser surface通过