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-plugin 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
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.
development
Audits website accessibility for WCAG 2.1 AA compliance, generating findings and code fixes. Use when reviewing accessibility, keyboard navigation, screen reader compatibility, or inclusive design.
development
Writes tests following TDD (using vitest and @testing-library/react) best practices. Use when writing unit tests, integration tests, or component tests in TypeScript.