docs-build

docs-build is a skill for Claude Code, Codex from unoplatform/uno. It costs 97 tokens per session (2,109 once invoked), scanned A, original, Apache-2.0.

A set of tools for building and checking the Uno documentation website with DocFX, a documentation-site generator. It also uses a real browser to inspect rendered pages and checks updates to imported external documentation.

In plain words
What is it for?
Use it to build and preview the documentation site, review DocFX errors and warnings, test rendered pages, confirm output files, and validate external-document version updates.
Why use it?
It helps distinguish genuine documentation errors from expected build noise. This catches broken content and rendering problems before a change is submitted.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/unoplatform/uno/docs-build
Any agent
npx skills add unoplatform/uno --skill docs-build
Clone the repo
git clone --depth 1 https://github.com/unoplatform/uno

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docs-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/unoplatform/uno/docs-build.svg)](https://agentmods.dev/skills/unoplatform/uno/docs-build)
Your own site
<a href="https://agentmods.dev/skills/unoplatform/uno/docs-build"><img src="https://agentmods.dev/badge/skills/unoplatform/uno/docs-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,109 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00097 $0.02109
Opus 5 $0.00048 $0.01055
Sonnet 5 $0.00019 $0.00422
Haiku 4.5 $0.00010 $0.00211

Measured 4d ago against content hash f6c34043672b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/docs-build/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docs build & validation (DocFX)

Validate that the documentation is correct after a change: surface DocFX errors/warnings, drive the rendered site in a real browser, and tell real content problems apart from expected noise. Everything is under doc/ and is independent of the Uno.UI build — no crosstargeting_override.props needed.

TL;DR validation loop

cd doc
docfx --version                                   # MUST match build/Uno.UI.Build.csproj <DocfxVersion>; see Gotchas
pwsh -NoProfile -Command "./import_external_docs.ps1"   # only if you changed external pins
docfx docfx.json 2>&1 | sed -E 's/\x1b\[[0-9;]*m//g' > /tmp/docfx.log   # capture clean (no color) log
grep -iE "error|warning" /tmp/docfx.log | sort | uniq -c | sort -rn      # triage

Then filter to the part you changed (§2), drive the rendered pages in a browser (§3), and confirm they exist in _site.

1. The error/warning taxonomy — what each one means

DocFX prints error and warning lines. The ones that indicate a real content problem you must fix (and that block/break a page):

Signal Meaning How to fix
InvalidFileLink: Invalid file link:(~/…) A relative link to a .md/image/path that doesn't exist Fix the link target or add the missing file. Watch for links to .html that should point to .md, and links missing an extension.
UidNotFound: … invalid cross reference(s) "X" An xref:X / @X / <xref> points to a UID no page defines Fix the UID, or ensure the page defining it is included in the build. Common after renaming a uid: or removing a page.
InvalidTocInclude: Referenced TOC file … does not exist A toc.yml href: includes another toc.yml that isn't there Fix the path, or import the external repo that provides it. (articles/implemented/toc.yml missing is expected locally — see §4.)
DuplicateUids: Uid(X) has already been defined in … Two pages declare the same uid: Make UIDs unique; frequent when copying templates across workshops module variants.
invalid-tab-group: Tab group with different tab id set Inconsistent # [Tab](#tab/…) ids within one group Align the tab ids across the tab group.
Build does not reach Build succeeded / non-zero exit A fatal error aborted the build Read the last error in the log; fix before anything else.

Read the full file on GitHub · 131 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 131 lines · 97 tokens per session scan A f6c34043672b

Subscribe to this mod's changes

docs-build is a skill published in the GitHub repository unoplatform/uno (10,032 stars, last pushed today), licensed Apache-2.0. It adds 97 tokens to every session and 2,109 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

upgrade-browser

Upgrade browser versions (Chrome or Firefox) in the Flutter Web Engine and/or Framework tests. Use when asked to roll or upgrade Chrome or Firefox to a newer version.

flutter/flutter · 36 tokens

argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…

software-mansion/argent · 104 tokens

sceneview-web

Build 3D and WebXR (AR/VR) experiences in the browser with SceneView for Web — Filament.js (WebGL2/WASM) wrapped in a Kotlin/JS DSL and a plain-JavaScript API on window.sceneview. Use whenever the user asks for "3D in the browser", "a web model viewer", "WebXR AR/VR", or any browser 3D/AR app where the dependency is…

sceneview/sceneview · 147 tokens

web-preview

Flutter Web版をビルド → サーバー起動 → Playwright でアクセス確認 → URLをユーザーに案内する。.

K9i-0/ccpocket · 32 tokens

quality-engineering-playwright-cli

Standardizes token-efficient browser automation via playwright-cli. Use for web verification, navigation, and capturing snapshots/logs.

HoangNguyen0403/agent-skills-standard · 30 tokens

web-ui-review

Frontend code quality checklist and review automation scripts for PRs touching UI, components, styles, and browser interactions.

ev-flow/quark-engine · 25 tokens