| 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
- Define scope and constraints.
- Define subsystem scope, invariants, and API boundaries.
- Capture objective metrics, bounds, and release blockers.
- Design implementation plan.
- Design module-level changes with safety/performance implications.
- Keep ownership and dependency boundaries explicit.
- Execute and iterate.
- Implement in small, traceable increments.
- Record run/build context for reproducibility.
- Validate contract integrity.
- Validate invariants, failure behavior, and benchmark regression gates.
- Treat contract breaches as blockers.
- Prepare handoff.
- Deliver patch map, risk notes, and verification commands.
- Include exact commands and acceptance criteria.
Output Contract
Return:
Context: goals, assumptions, constraints.
Validation: pass/fail checks and key deltas.
Changes: concrete file-level updates.
Commands: commands and expected outputs.
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.