hammer-quality-check
CommunityEnforce code quality, block bad commits.
Software Engineering#code quality#architecture#static analysis#coding standards#pre-commit#C++#threading safety
AuthorRonin15
Version1.0.0
Installs0
System Documentation
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_ptrcopies 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.
Dependency Matrix
Required Modules
cmakeninjacppcheckgit
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hammer-quality-check Download link: https://github.com/Ronin15/SDL3_HammerEngine_Template/archive/main.zip#hammer-quality-check Please download this .zip file, extract it, and install it in the .claude/skills/ directory.