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
- 其他examples/input/websocket_handler.cpp14.4 KB
- 参考文档examples/output/websocket_handler_review.md23.6 KB
- 其他qkd-examples/input/key_manager.cpp5.2 KB
- 参考文档qkd-examples/output/key_manager_review.md8.4 KB
- 参考文档references/etsi-standards.md5.5 KB
- 参考文档references/review-checklist.md12.7 KB
- 参考文档references/severity-guide.md7.1 KB
- 参考文档references/unified-checklist.md1.9 KB
- 参考文档templates/review-report.md5.2 KB
- 参考文档templates/security-review-report.md3.5 KB
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:
- Assets (keys, credentials, auth tokens)
- Trust boundaries
- 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
fixture-skill
Fixture skill used to prove trust inventory coverage.
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.
test-crypto-interoperability
Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.
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.
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.
run-agent-attack-replay
Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.