Html theme
Produce standalone dark minimal HTML for the user to open in a browser — one page or a small multi-page site that links together. Use only when the user wants HTML instead of markdown (e.g. "HTML page", "standalone report", "openable page", "HTML artifact", multi-page briefing). Do not use for normal chat answers or simple markdown files.From its SKILL.md
npx -y skills add lucas-carvajal/agent-skills --skill html-themeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it
Standalone HTML pages
Self-contained .html the user can open locally. Theme is fixed — copy the template; do not invent a new look. Content is a briefing: answer first, prove it, act—visuals only when they earn space.
When
Yes: multi-section briefing, status report, decision write-up, runbook, comparison, or a small multi-page site when one scroll would be too long.
No: ordinary Q&A, short answers, repo docs that should stay .md, app UI, emails.
If unsure, ask once — or default to markdown.
One page vs many
| Choose | When |
|---|---|
| Single file | Fits a short skim (~one sitting). Default. |
| Multi-page folder | Complex topic, distinct audiences, or clear chapters (overview / detail / runbook). |
Prefer 2–5 pages. Each still skims in ~2 minutes. No mini-app (no router, no build). Plain files + relative links.
Map pages to who uses them when useful: owner → verdict/ask; operator → steps/rollback; peer → evidence/tradeoffs. Don’t repeat the same essay on every page—hub summarizes; depth links back.
Cross-page links
No fixed chrome. Place links where the journey fits (hub map, inline, .page-turn, optional .site-nav, footer, or a mix). Don’t default to a top tab bar. Mark current page with aria-current="page" on repeated nav.
How
- Resolve this skill’s directory (folder with this
SKILL.md). - Before filling content: who is this for, and what should they decide or do after ~2 minutes?
- Copy template (keep CSS/JS):
User-named path wins; else# single cp "<skill-dir>/assets/template.html" "./<slug>.html" # multi: folder + one copy per page (index.html + siblings)./<slug>.htmlor./<slug>/(kebab-case from title). - Fill content (below). Replace every
{{…}}and stub. Identical CSS/JS on every multi-page file. - Report full output path (and
index.htmlfor multi-page).
Samples: copy template only. Open assets/sample.html or sample-site/ only if you need a layout reference for one component—never load all demos by default.
Content
Answer first
- Lede / first screen = conclusion + why it matters + what to do. Not background.
- Shape: [Verdict]. [Stakes in one clause]. [Next step].
- Each section’s first sentence is that section’s point; detail follows.
- Prefer live sources (repo, metrics, docs,
gh) over memory. Non-obvious claims need a hook (number, path, quote, link) or mark unknown / inferred. - Separate facts (tables, metrics) from judgment (callouts). End with Notes / sources when anything was looked up—or state gaps honestly.
- End with actions (who / what / when if known) or a clear link to the page that has them.
Page shape (pick one primary)
| Pattern | Spine |
|---|---|
| Status | State → drivers → actions |
| Decision | Options → criteria → pick → risks |
| Diagnosis | Symptom → evidence → cause → fix → prevent |
| Runbook | Goal → prechecks → steps → verify → rollback |
| Comparison | Axes → matrix → winner → caveats |
Default section order when unsure: title/lede/meta → summary → body → next steps → notes. Drop empties. ~2–3 short sections → skip on-page TOC links.
Readable
- One idea per short paragraph; lists for 3+ parallel items.
- Headings that say the point (
Authz dominates p95), notOverview. - Numbers always with context (vs target, vs prior, window).
- Expand acronyms once; define jargon only if needed.
- Cut filler. If a section is a prose wall, split the page or delete it.
Visuals (only if they earn it)
Add a chart/diagram only if it shows structure, comparison, change over time, or a fail-safe procedure better than a sentence. Skip decoration and second visuals that retell the first.
Every visual needs a one-line takeaway (caption or sentence above). Prefer:
| Need | Prefer |
|---|---|
| Contribution / rank | Bars or table |
| Process / order | Steps, timeline, sequence |
| Topology | Flow / layers SVG |
| Decision | Matrix + recommendation callout |
| Exact values | Table |
Familiar encodings over clever ones. Readable gaps; labels outside nodes; color only on the hot path. Not a checklist—choose what explains this content; invent on-theme components if needed.
Components (prefer these)
| Pattern | Use |
|---|---|
.metrics / .metric | KPIs |
.callout.ok|warn|bad|info | Judgment / status |
.kv | Facts |
.table-wrap + table | Data (sticky headers) |
.tag | Chips |
.chart / .bar-row | Relative bars |
.spark-grid | Tiny trends |
.timeline / .steps / .checklist | Process |
.endpoint | API surface |
.split / .panel | Side-by-side |
.diagram | SVG + caption |
.code-block + [data-copy] | Code |
.site-nav / .page-turn | Multi-page (optional) |
Invent components only when none fit—same tokens, spacing, borders, semantic color. Extend existing patterns first.
Code block
<div class="code-block">
<div class="code-head">
<div class="code-head-meta">
<span class="code-lang">Shell</span>
<span class="code-label">optional label</span>
</div>
<button type="button" class="code-copy" data-copy>Copy</button>
</div>
<pre><code class="language-bash">echo hello</code></pre>
</div>
ts / js / bash / json / py. Keep samples short.
Theme
- Black/gray/white; system fonts; color only for
ok·warn·bad·info. - Keep template CSS/JS. No CDN, webfonts, or restyled chrome.
- TOC control as-is (hidden by default, fixed gutter, never reflows;
tto open).
Done when
- Path correct; opens offline; no
{{…}}/ stubs / freestyle theme - First screen states the answer a stranger could repeat
- Claims have evidence or are marked unverified; actions are specific enough to act on
- Each visual has a takeaway; no filler sections
- TOC ids match (if used); multi-page links work; complexity matches the topic
What ships with it: 5 files
211.4 KB alongside SKILL.md
assets/
- sample.html47.3 KB
- sample-site/actions.html41.1 KB
- sample-site/detail.html41.5 KB
- sample-site/index.html41.6 KB
- template.html39.9 KB