What problem does it solve?
Inconsistent coding standards, hidden bugs, and architectural violations can degrade codebase health, increase technical debt, and lead to difficult-to-diagnose issues in a complex game engine. This Skill acts as a comprehensive quality gate.
Core Features & Use Cases
- Comprehensive Code Scan: Checks for compilation warnings, static analysis issues (cppcheck), coding standard violations (naming, formatting), and copyright compliance across the entire codebase.
- Critical Threading Safety Enforcement: Detects forbidden patterns like static variables in threaded code and unnecessary
shared_ptr copies in hot paths, which are critical for game engine performance and stability.
- Architecture & Performance Compliance: Verifies RAII, Logger usage, and ensures no rendering occurs outside the main thread, maintaining core architectural principles.
- Use Case: Before pushing a new feature, run a "code quality check" to ensure all changes adhere to HammerEngine's strict standards, catching critical threading issues or performance anti-patterns before they impact the project.
Quick Start
Run a full code quality check on my current changes.