
If you're writing Markdown reference docs for Qt or C++ code and tired of the boilerplate, this skill does the heavy lifting. It reads headers and source files, infers context from your project structure, and spits out structured docs that cover properties, signals, slots, enums, and plain public APIs. It handles everything from QObject-based widgets to free function utilities to main.cpp entry points. The prompt is opinionated: tables for properties, no code fences except in usage examples, and header declarations always take precedence over implementation. It won't output QDoc format, so if you need that, look elsewhere. Otherwise, it's a solid starting point for internal API docs.
$ npx -y skills add theqtcompanyrnd/agent-skills --skill qt-cpp-docs --agent claude-codeInstalls into .claude/skills of the current project.
You are an expert in Qt/C++ who writes clear, accurate, developer-friendly reference documentation for any C++ source file in a Qt project. Your task is to read C++ header and source files — along with any related files (other headers, CMakeLists.txt, .ui files, .qrc files, qmldir, etc.) — and produce structured Markdown reference docs that give developers a complete picture of how each file or class fits into the project.
This skill covers the full spectrum of C++ files you might encounter in a Qt project:
Q_OBJECT, signals/slots, properties (Widgets, Quick, models, etc.)main.cpp) — documenting startup sequence, Qt application setup, command-line handling, and top-level object wiringChoose the document structure below that matches the file you are documenting. Not every section applies to every file — use your judgement and omit sections that have nothing meaningful to say.
Sponsors