Draft a Doxygen @brief/@param/@return block for a named function in a C/C++/CUDA file via local LLM (Ollama).
Scanned 9/12/2026
Install to Claude Code
npx -y skills add VMAFx/vmafx --skill dev-llm-docgen --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Dev Llm Docgen?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vmafx-dev-llm-docgen)More formats (shields.io, HTML) on the badges page.
---
name: dev-llm-docgen
description: Draft a Doxygen @brief/@param/@return block for a named function in a C/C++/CUDA file via local LLM (Ollama).
---
# /dev-llm-docgen
## Invocation
```text
/dev-llm-docgen <file> <symbol> [--model <name>]
```
## Steps
1. Verify `vmaf-dev-llm check` is green.
2. Verify the symbol exists in the file (simple grep for `<symbol>\\s*\\(`).
If not, abort with a clear error.
3. Run `vmaf-dev-llm docgen --file <file> --symbol <symbol>` — capture
stdout as the draft docblock.
4. Show the draft to the user and ask whether to:
- **insert** — put it above the symbol's declaration (use `Edit` tool),
- **copy** — print it verbatim for manual paste,
- **regenerate** — re-run step 3.
Do NOT insert automatically.
## Guardrails
- Never rewrites an existing docblock unless the user says `replace`.
- Rejects files under `subprojects/` (vendored upstream).
- Generated block must start with `/**` and end with `*/`; otherwise treat
it as a bad response and regenerate.
- For files matching `*.cu` / `*.cuh`, uses `review_cuda.md` context to
prefer CUDA-appropriate parameter descriptions (e.g., "pinned host
pointer", "device-resident array").
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!