/cdx:html-reportfrom cdx
Turn a discussion, proposal, investigation, or set of findings into a polished, self-contained HTML report in the Portainer house style (the look of docs/local/advanced-auth.html — DM Sans, the Portainer design-system palette, verdict bands, comparison tables, pros/cons cards, severity findings, CSS diagrams). Invoke this manually when you want a presented HTML document — a design doc, proposal, assessment, or write-up of findings — that is easier to review or share than a markdown dump or chat scrollback.
Ships in cdx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce a single self-contained .html file styling a discussion or set of
findings in the Portainer house style. The output is one file — inline CSS, no
JavaScript, no build step, no image assets (diagrams are pure CSS). The only
external reference is the DM Sans webfont, which degrades gracefully offline.
This style exists because reviewing a proposal in a well-presented document beats reviewing it as chat scrollback — the structure (verdict up top, numbered sections, comparison tables, severity-tagged findings) does the reader's organizing for them. Match it; don't reinvent it.
assets/report-template.html, in this skill's directory (the folder that contains this SKILL.md), is a
self-contained kitchen-sink document: the full palette plus every component, each
demonstrated once and labelled with an HTML comment. Always start from it.
Copy it to the output path, then replace the <main> content with the real
material, deleting the component demos you don't need.
Do not regenerate the CSS from memory and do not hand-tweak colors, fonts, or
spacing — the whole value is that every report looks like it came from the same
hand. The :root tokens are the Portainer design system; leave them alone.
references/components.md, in the same directory, is the index
of what each component is for — read it when you're unsure which component fits
the material in front of you.
The user has been working with you — an investigation, a comparison, a design debate, a code review — and now wants it written up. The substance exists in the scrollback; your job is to select and present it, not to re-derive it.
A long conversation usually contains more than one report's worth of material, and
only the user knows which slice they want to hand to whoever reviews it. So before
writing, use AskUserQuestion to scope it — a few quick choices beat guessing
and rewriting. Good things to pin down:
Skip the questions only when the user has already been explicit ("write up just the auth comparison as a short proposal"). When they have, honor it and go.
The user points you at something (a PR, a subsystem, a question) and wants the report as the deliverable. Do the investigation first, then turn your findings into the document. Here you're the author of the substance, so don't interrogate the user about content they haven't seen yet — make sensible structural choices from what you found and present a complete first draft they can react to. One clarifying question is fine if genuine ambiguity blocks you (scope, audience); more than that stalls a flow whose whole point is "go produce the artifact."
references/components.md). Most
reports open with a masthead, optionally a verdict band, then numbered
sections, and close with a footnote. Let the content pick the components —
a comparison wants a table and pros/cons cards; a review wants findings; a
design wants sections and a diagram or two.<code> for identifiers, env vars, and paths..diagram boxes; don't pull
in mermaid or images (that would break the single-file property). If the thing
is genuinely graph-shaped, prose plus a small table beats forcing boxes.<, >, & in code snippets and
quoted strings (<, >, &), or it renders wrong or breaks layout.Save to docs/local/ if that directory exists (the established home for these in
the portainer-mcp repo); otherwise write to the current working directory. Name
the file from the topic in kebab-case (e.g. oidc-assessment.html). Tell the user
the exact path when you're done, and — since these are made to be looked at —
offer to open it in a browser.
These reports are most useful as a starting point the user reacts to. After writing, give a one-line summary of the structure you chose (sections + key components) so they can redirect quickly — "made it a comparison: verdict band, an axes table, pros/cons cards, and a 5-step recommendation." Then it's easy for them to say "drop the table" or "add a diagram of the request flow" and you adjust the one file.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub deviantony/claude-plugins --plugin cdx9 skills in this plugin
/coderevPre-PR code review of the current branch, run by an independent reviewer subagent in a fresh context; the main agent then triages its findings on its own, fixes what is worth fixing in a separate commit, and reports what it fixed, skipped and needs the user for. Use proactively, without being asked, right before opening a pull request on the user's own branch: before running `gh pr create`, or when the user says "open a PR", "ready for review", "ship it", "push this up for review". Also invoked manually as `/cdx:coderev`./dev-docsGenerate and maintain a `docs/` directory of markdown developer documentation for a project. Scans source code, writes structured docs with YAML frontmatter for git-based drift tracking, and produces clean markdown that renders on GitHub (including mermaid diagrams). Use this skill when the user asks to generate, create, update, or refresh developer documentation, scan their codebase for documentation purposes, or check whether existing docs have drifted from the code. Also trigger on phrases like "dev docs", "documentation builder", "doc generator", "refresh the docs", "check docs for drift", or "document this codebase". Do NOT trigger for implementation plans, architecture decisions, migration plans, general project planning, code reviews, API reference generation from annotations, or any task that isn't specifically about producing or maintaining a hand-written developer documentation set.