AGENT SKILL

cpp-review

Unified C++ review for QKD/defense systems with three lenses: --realtime (concurrency, latency, RAII), --security (crypto hygiene, ETSI, threat model), --full (both). Replaces separate realtime and security reviewer skills. Part of C++ QKD Toolkit plugin. Use when reviewing C++ for race conditions, thread safety, QKD security, or production correctness.

License 许可
MIT
所属仓库
dasobral/skills
最近更新
2026-08-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
cpp-review
description
Unified C++ review for QKD/defense systems with three lenses: --realtime (concurrency, latency, RAII), --security (crypto hygiene, ETSI, threat model), --full (both). Replaces separate realtime and security reviewer skills. Part of C++ QKD Toolkit plugin. Use when reviewing C++ for race conditions, thread safety, QKD security, or production correctness.

02 资源文件 10

03 SKILL.md 正文

C++ Review

Structured review of C++ for real-time, cryptographic, and secure-networked systems (QKD, QRNG, satellite-ground links).

Step 1 — Resolve Scope & Lens

Scope: path argument → attached files → pasted code → **/*.{cpp,hpp,h} glob.

Lens (from user request or default):

  • --realtime — concurrency, hot-path latency, RAII
  • --security — QKD/crypto hygiene, ETSI, threat model
  • --full — all domains

Announce: Reviewing scope: <path> | Lens: <lens>

Step 2 — Load Checklist

Read references/unified-checklist.md and lens-specific references:

  • Realtime: references/review-checklist.md, references/severity-guide.md
  • Security: references/etsi-standards.md

Step 3 — Threat Model (security/full lenses)

Before findings, state:

  1. Assets (keys, credentials, auth tokens)
  2. Trust boundaries
  3. Adversary capabilities

Step 4 — Analyze

Work through applicable domains from unified checklist. Per finding: severity, domain tag, file:line, bad code quote, fix snippet.

Step 5 — Report

Use templates/review-report.md. Examples in examples/ and qkd-examples/.

For >3 files, parallelize with cpp-realtime-reviewer and cpp-security-reviewer subagents, then synthesize.

Rules

  • Read-only unless user asks for fixes
  • Key material in logs is always CRITICAL
  • Never skip threat model for security lens

04 同仓库更多 Skills

dasobral
dasobral/skills

fixture-skill

Fixture skill used to prove trust inventory coverage.

Skill与智能体开发
★ 0
dasobral
dasobral/skills

write-conformant-code

Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.

开发工程师内容创作者写作与文案
★ 0
dasobral
dasobral/skills

test-crypto-interoperability

Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.

测试与质量
★ 0
dasobral
dasobral/skills

scientific-platform-architect

Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust/PyTorch/Python), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.

设计师代码审查视觉设计
★ 0
dasobral
dasobral/skills

rust-systems

Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio/Axum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.

视觉设计
★ 0
dasobral
dasobral/skills

run-agent-attack-replay

Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.

Skill与智能体开发
★ 0