dev-llm-docgen

Generate Doxygen docblocks for C, C++, and CUDA functions.

3|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/VMAFx/vmafx --skill dev-llm-docgen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-llm-docgen
Source: https://github.com/VMAFx/vmafx/tree/main/.claude/skills/dev-llm-docgen
Command: npx skills add https://github.com/VMAFx/vmafx --skill dev-llm-docgen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of writing first-pass Doxygen documentation for C, C++, and CUDA functions by generating a structured comment draft from a symbol name.

Core Features & Use Cases

  • Docblock Drafting: Produces a Doxygen-style block with @brief, @param, and @return content for a named function.
  • Local LLM Workflow: Uses a local Ollama-backed toolchain to generate documentation without sending code to an external service.
  • Safe Review Loop: Verifies the target symbol exists, shows the draft to the user, and lets the user choose whether to insert, copy, or regenerate it.
  • CUDA-Aware Guidance: Adjusts parameter wording for GPU code so descriptions better fit device and host memory concepts.
  • Use Case: A developer has an undocumented kernel or helper function and wants a polished docblock draft before committing it to the codebase.

Quick Start

Ask the skill to generate a Doxygen docblock for the named function in your C, C++, or CUDA file and then choose whether to insert, copy, or regenerate the draft.

Frequently Asked Questions about dev-llm-docgen

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

FAQPage Schema
How do I generate Doxygen docblocks for C or C++ functions automatically?

To generate Doxygen docblocks for C or C++ functions, you can use a local LLM workflow that drafts structured comments with @brief, @param, and @return tags from a named symbol. This provides a first-pass docblock for review, insertion, or manual copy.

Can I use a local LLM to write CUDA kernel documentation without sending code externally?

Yes, you can use a local LLM to write CUDA kernel documentation without external services by utilizing an Ollama-backed toolchain. This approach generates Doxygen drafts locally, adjusting parameter wording to fit device and host memory concepts.

What is the best way to document undocumented C and CUDA helper functions before committing?

The best way to document undocumented C and CUDA helper functions is generating a structured Doxygen comment draft from the symbol name. This verifies the target exists, produces a polished block, and lets you choose to insert, copy, or regenerate it before committing.

Does the generated Doxygen documentation include specific tags for function parameters and return values?

Yes, the generated Doxygen documentation includes specific tags for function parameters and return values. The drafted docblock contains structured @brief, @param, and @return content tailored to the named function in your source file.

What happens if the target function symbol does not exist in my source file?

If the target function symbol does not exist in your source file, the documentation generation process halts. The workflow requires symbol verification to ensure the function is present before drafting and showing the Doxygen block for insertion or copy.