AgentSkillsCN

cpp-engine-core

以正确性、稳定性与性能控制打造并强化C++引擎核心系统。在实现引擎子系统、重构核心运行路径、强化合约边界,或验证引擎核心就绪状态时使用此技能。

SKILL.md
--- frontmatter
name: cpp-engine-core
description: Develop and harden C++ engine core systems with correctness, stability, and performance controls. Use when implementing engine subsystems, refactoring core runtime paths, enforcing contract boundaries, or validating engine-core readiness.

C++ Engine Core

Use this skill to implement robust C++ engine core changes with strict correctness gates.

Workflow

  1. Define scope and constraints.
  • Define subsystem scope, invariants, and API boundaries.
  • Capture objective metrics, bounds, and release blockers.
  1. Design implementation plan.
  • Design module-level changes with safety/performance implications.
  • Keep ownership and dependency boundaries explicit.
  1. Execute and iterate.
  • Implement in small, traceable increments.
  • Record run/build context for reproducibility.
  1. Validate contract integrity.
  • Validate invariants, failure behavior, and benchmark regression gates.
  • Treat contract breaches as blockers.
  1. Prepare handoff.
  • Deliver patch map, risk notes, and verification commands.
  • Include exact commands and acceptance criteria.

Output Contract

Return:

  1. Context: goals, assumptions, constraints.
  2. Validation: pass/fail checks and key deltas.
  3. Changes: concrete file-level updates.
  4. Commands: commands and expected outputs.
  5. Risks: unresolved issues and limits.

References

  • references/workflow.md: detailed execution flow.
  • references/checklist.md: sign-off checklist.

Execution Rules

  • Keep decisions measurable and reversible.
  • Keep validation criteria explicit before iteration.
  • Escalate invariant breaks and regression-risky changes as blockers.