plugins/cpp-desktop/skills/reviewing-cpp/SKILL.md
Reviews C++ desktop code for memory safety, framework anti-patterns, build system issues, and thread safety. Use when reviewing C++ GUI code quality or when the user asks for code review.
npx skillsauth add qte77/claude-code-utils reviewing-cppInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
git diff --name-only HEAD~1 2>/dev/null || echo "No recent commits"git diff --staged --name-onlyScope: $ARGUMENTS
Delivers focused, streamlined C++ desktop code reviews matching stated task requirements exactly. No over-analysis.
Simple Tasks (single file/widget): Memory safety, framework correctness, requirements match
Complex Tasks (multi-module): Above plus architecture, ownership graph, event flow, thread safety
Always: Check CMakeLists.txt, check for raw pointer leaks
Memory Safety:
new without matching delete (prefer smart pointers)reinterpret_cast without safety justificationat() vs [])Framework Anti-Patterns:
g_object_unref / g_free calls presentdelete on QObject children (parent-child ownership)Build System (CMakeLists.txt):
include_directories(), link_libraries())find_package() with imported targets, not raw variablesThread Safety:
CallAfter, Qt: QMetaObject::invokeMethod, GTK: g_idle_add)Code Quality:
src/ and include/Simple Tasks: CRITICAL issues only, clear approval when requirements met Complex Tasks: CRITICAL/WARNINGS/SUGGESTIONS with specific fixes All reviews: Concise, actionable, no unnecessary complexity analysis
development
Verify an external or AI-generated security report against the actual codebase before acting on it. Use when handed a scanner PDF, automated teardown, audit report, or bug-bounty submission — classifies every finding CONFIRMED / OVERSTATED / FALSE-POSITIVE / FABRICATED and salvages the real work items.
development
Audits a site's SEO and AI-search (GEO) readiness — meta tags, Open Graph/Twitter, JSON-LD, robots/llms conventions — and generates fixes. Use when reviewing search visibility, social previews, structured data, or LLM/AI-crawler discoverability.
development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.