Good HTML
Produce one .html file that works as a small app or document, not Markdown and not a generic page.
Rules
- One file. Styles in a
<style>block, graphics as inline<svg>, no external CSS frameworks, fonts, or images. - Prefer CSS-only state: hidden radio inputs plus sibling selectors for tabs, native
<details>for collapsible sections. Use<script>only when CSS cannot do it. - Use the palette and system font stacks in references/styles.md. Avoid purple or blue gradients and web fonts.
- Pack information: CSS Grid for side-by-side comparisons, sticky headers or sidebars on long content, semantic severity colors (
.safe,.attention,.critical). - Write the complete file. Do not truncate.
Workflow
New artifact:
- Pick the page type: comparison of options, PR review, code explainer, implementation plan, status or incident report, triage board, concept explainer, slide deck, or SVG diagram.
- Start from assets/boilerplate.html. Page-type examples: assets/pr-review.html, assets/implementation-plan.html, assets/research-explainer.html.
- Copy tabs, diffs, and timelines from references/components.md.
Reviewing existing HTML, fix in this order:
- Remove every external
<link>and<script src>; inline what is needed. - Swap web fonts for system stacks and recolor to the palette.
- Replace a single long column with a grid, and add sticky context for long scrolls.
- Replace JS-driven simple state with the radio or
<details>patterns. - Replace bitmap icons with inline SVG.