plugins/cpp-desktop/skills/analyzing-cpp-codebase/SKILL.md
Analyzes C++ desktop codebase architecture, dependency graphs, framework detection, and migration assessment. Use when exploring an unfamiliar C++ project or assessing upgrade paths.
npx skillsauth add qte77/claude-code-utils-plugin analyzing-cpp-codebaseInstall 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.
Target: $ARGUMENTS
Analyzes C++ desktop project structure, dependencies, and architecture. Delivers actionable findings, not exhaustive documentation.
Check these indicators in order:
| Framework | CMake Signal | Include Signal | Other |
|------------|---------------------------------|-------------------------|----------------------|
| Qt | find_package(Qt6) / Qt5 | #include <QWidget> | .pro, .qrc files |
| wxWidgets | find_package(wxWidgets) | #include <wx/wx.h> | — |
| GTK3 | pkg_check_modules(GTK3) | #include <gtk/gtk.h> | .ui (GtkBuilder) |
# List all CMake targets
grep -rn "add_library\|add_executable" CMakeLists.txt */CMakeLists.txt 2>/dev/null
# List external dependencies
grep -rn "find_package\|pkg_check_modules" CMakeLists.txt */CMakeLists.txt 2>/dev/null
# Include graph (most-included headers)
grep -rh '#include "' src/ include/ 2>/dev/null | sort | uniq -c | sort -rn | head -20
Evaluate these dimensions:
Module Boundaries:
src/ vs include/ separation?Coupling:
Build Structure:
When evaluating framework upgrades (e.g., wxWidgets 3.0 to 3.2, Qt5 to Qt6):
## Project Summary
- Framework: [detected]
- C++ standard: [detected from CMake or compiler flags]
- Build system: [CMake version / qmake]
- Modules: [count and names]
## Dependency Graph
[CMake target relationships]
## Architecture Notes
[Key observations about structure and coupling]
## Recommendations
[Prioritized, actionable items]
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.