doxygen

Enforce Doxygen inline documentation standards for C++ header and source files.

25|7|Updated Mar 4, 2019
One-click install
npx skills add https://github.com/smart-swimmingpool/pool-controller --skill doxygen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doxygen
Source: https://github.com/smart-swimmingpool/pool-controller/tree/main/.opencode/skills/doxygen
Command: npx skills add https://github.com/smart-swimmingpool/pool-controller --skill doxygen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inline documentation standard for the pool-controller C++ codebase using Doxygen. It defines how to annotate files, classes, and methods so the codebase remains well-documented and maintainable across modules.

Core Features & Use Cases

  • Enforces file-level, class/struct, and public member documentation using Doxygen tags like @file, @brief, @param, and @return.
  • Provides guidance for header and source file comments, including private method notes and macro/documentation conventions.
  • Enables consistent, automated API documentation generation for embedded C++ projects.

Quick Start

Generate documentation with Doxygen to produce HTML/XML docs from the codebase.

Frequently Asked Questions about doxygen

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

FAQPage Schema
How do I enforce Doxygen documentation standards across a C++ codebase?

To enforce Doxygen documentation standards across a C++ codebase, apply consistent @file, @brief, @param, and @return tags to header and source files. This ensures file-level, class, struct, and public member annotations remain uniform and maintainable across modules.

What Doxygen tags are required for C++ header and source files?

Required Doxygen tags for C++ header and source files include @file for file headers, @brief for class and struct descriptions, and @param and @return for public methods. Private method comments and macro documentation are optional but recommended for completeness.

Does this Doxygen documentation standard apply to both .hpp and .cpp files?

Yes, this Doxygen documentation standard applies to both .hpp and .cpp files in the repository. It enforces file, class, and member documentation across modules, ensuring consistent inline comments and automated API documentation generation for embedded C++ projects.

How do I generate HTML documentation from C++ inline comments using Doxygen?

To generate HTML documentation from C++ inline comments using Doxygen, run the Doxygen tool against the annotated codebase. It parses the standardized @file, @brief, @param, and @return tags in the .hpp and .cpp files to produce HTML and XML output.

What is the best way to document C++ public methods and macros with Doxygen?

The best way to document C++ public methods and macros with Doxygen is to enforce standardized tags like @brief, @param, and @return for public members, while applying optional specific documentation conventions for macros to maintain code quality and consistency.

Why does my C++ codebase need standardized file-level Doxygen comments?

A C++ codebase needs standardized file-level Doxygen comments to keep the project well-documented and maintainable across modules. Defining how to annotate files, classes, and methods enables consistent, automated API documentation generation for the entire embedded system.