hammer-quality-check

Run SDL3 HammerEngine quality checks for compilation warnings, static analysis, coding standards, and threading safety.

14|2|Updated Mar 24, 2025
One-click install
npx skills add https://github.com/Ronin15/SDL3_HammerEngine_Template --skill hammer-quality-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hammer-quality-check
Source: https://github.com/Ronin15/SDL3_HammerEngine_Template/tree/main/.claude/skills/hammer-quality-check
Command: npx skills add https://github.com/Ronin15/SDL3_HammerEngine_Template --skill hammer-quality-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cmake, ninja, cppcheck, git.

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.

Frequently Asked Questions about hammer-quality-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I catch code quality issues before committing changes?

Run comprehensive pre-commit checks that scan for compilation warnings, static analysis violations, coding standard breaches, and threading safety problems. This Skill executes those checks automatically during pre-commit or on-demand to block problematic commits before they reach CI pipelines.

What threading safety patterns does static analysis detect in C++?

Static analysis identifies forbidden patterns like static variables in threaded code and unnecessary shared_ptr copies in hot paths. These detections are critical for game engine stability and performance, catching patterns that could cause race conditions or performance degradation.

Can I enforce architectural compliance and RAII patterns across my codebase?

Yes. This Skill verifies RAII correctness, Logger usage compliance, rendering thread boundaries, and other architectural principles. It ensures the entire codebase adheres to defined quality gates and architectural standards before integration.

How do I prevent copyright compliance and coding standard violations?

Comprehensive code scanning checks for naming conventions, formatting violations, and copyright compliance across the entire codebase. Issues are caught during pre-commit or pull request checks, providing remediation guidance to maintain consistent standards.

Does this work with my existing build pipeline and version control?

Yes. The Skill integrates with git pre-commit hooks and pull request workflows using cppcheck for static analysis and cmake/ninja for compilation checking. It fits into existing CI pipelines as an on-demand or automated quality verification step.

What happens if code fails quality checks?

Commits are blocked and detailed remediation guidance is provided. The Skill enforces a zero-tolerance quality policy by inspecting against defined gates, preventing problematic code from reaching integration until all issues are resolved.