Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a29f4b0
The changelog tool: entry files, the freeze, the records and every ou…
bmjcoding Nov 23, 2026
8196c52
React: VersionLink, ReleaseNotes and ReleaseIndex (DECISIONS 320, 1.2…
bmjcoding Nov 23, 2026
096422b
HTML skill: the release module and the version link (DECISIONS 320, 2…
bmjcoding Nov 23, 2026
1018277
Words: the release-words skill, and versions and release notes in AGE…
bmjcoding Nov 23, 2026
749f4e9
Contrast: the release page's pairs (DECISIONS 320, 6.3), and the size…
bmjcoding Nov 23, 2026
8f58387
Review round 68: versions, changelogs and release notes; fixes from l…
bmjcoding Nov 23, 2026
0b69758
Fix round: the code review's eleven findings and the header rule (rou…
bmjcoding Nov 23, 2026
8f72362
Round 68 rebuilt for Fable's pixel review: the owner's-eye pictures, …
bmjcoding Nov 23, 2026
14f4564
Fix round: the lazy modules' exceptions in the load tests, measured l…
bmjcoding Nov 24, 2026
34004d6
Spacing sweep, round 68: each box hugs what it shows (DECISIONS 326)
bmjcoding Nov 24, 2026
27533d3
Round 68: the owner's-eye pictures re-cropped from the swept build
bmjcoding Nov 24, 2026
e01a5b9
Where a release ends (DECISIONS 331): the last change's padding, the …
bmjcoding Nov 24, 2026
b892247
Round 68: the owner's-eye pictures re-cut from the build of DECISIONS…
bmjcoding Nov 24, 2026
eac4ebb
Changelog freeze: finish a partly consumed freeze, and one freeze at …
bmjcoding Nov 24, 2026
b418596
Changelog history check: a backport's record brought to the default b…
bmjcoding Nov 24, 2026
caf9739
Changelog ids: an entry cannot take an id the page itself uses (reche…
bmjcoding Nov 24, 2026
15d1fa3
Changelog Markdown: keep a product's summary when every change needs …
bmjcoding Nov 24, 2026
ad67e77
Release tests: the overlap measurement compares like with like (reche…
bmjcoding Nov 24, 2026
5dff251
HTML skill Sources panel: Tab follows Safari's own rule, as React's d…
bmjcoding Nov 24, 2026
839851e
Release header plate and Sources on touch (recheck-pixels 3, 4)
bmjcoding Nov 24, 2026
85bf5d7
Release source lines: one line beside the words, the words give way (…
bmjcoding Nov 24, 2026
a080611
Round 68 walkthrough: the owner's-eye step draws all thirteen items (…
bmjcoding Nov 24, 2026
de2d24c
Merge origin/main (#127, stages and DECISIONS 328) into claude/versio…
bmjcoding Nov 24, 2026
89a71c7
SKILL.md back within 12,800: shorter wording, no rule dropped
bmjcoding Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .agent/skills/basalt-html/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Standalone HTML that looks and behaves like Basalt: one file, no network, dark a

## Use it

1. Pick the modules from the index below, then print their usage in one call, always with core: `node .agent/skills/basalt-html/compose.mjs --usage core table status callout`. Core is the layout, type, panel and button classes every page uses. Each usage also names the modules it needs and the classes, attributes and tags that bring it in. `--usage` alone prints the index.
2. Write the **body** to a file such as `report.body.html`: the HTML that goes inside `<body>`, with the classes the usage names. The same file may carry `<title>` (else the first `<h1>` is the title), your own `<style>`, and head tags: `<meta name="description">`, `og:`/`twitter:` meta, `<link rel="icon" href="data:…">` or `canonical` (any other meta or link is refused); the script adds `Basalt.init()` unless your own `<script>` calls it.
3. Run `node .agent/skills/basalt-html/compose.mjs report.body.html` (writes `report.html`; `--out <page.html>` names it). It wraps the body in the doctype, meta and theme bootstrap, inlines Geist, and adds the core CSS and script plus only the modules your classes, attributes and tags use, and the icons you name in quotes. It prints what it added, and one warning line for each module added. `--no-fonts` skips Geist (only for a file a tool reads, never a file a person opens), `--lang fr` sets the language, `--all` adds every module.
1. Pick modules from the index below and print their usage in one call, always with core: `node .agent/skills/basalt-html/compose.mjs --usage core table status callout`. Core is the layout, type, panel and button classes every page uses. Each usage also names the modules it needs and the classes, attributes and tags that add it. `--usage` alone prints the index.
2. Write the **body** to a file such as `report.body.html`: the HTML inside `<body>`, with the classes the usage names. It may also carry `<title>` (else the first `<h1>` is the title), your own `<style>`, and head tags: `<meta name="description">`, `og:`/`twitter:` meta, `<link rel="icon" href="data:…">` or `canonical` (any other meta or link is refused); the script adds `Basalt.init()` unless your own `<script>` calls it.
3. Run `node .agent/skills/basalt-html/compose.mjs report.body.html` (writes `report.html`; `--out <page.html>` names it). It wraps the body in the doctype, meta and theme bootstrap, inlines Geist and adds the core CSS and script, only the modules your classes, attributes and tags use, and the icons you name in quotes. It prints what it added, and one warning line for each module added. `--no-fonts` skips Geist (only for a file a tool reads, never a file a person opens), `--lang fr` sets the language, `--all` adds every module.
4. Open the page in both themes at 1440 and 390 wide before you hand it over. It follows the system theme; the toggle or `Basalt.toggleTheme()` switches it.

`examples/static.body.html`, `sales.body.html` (reports) and `interactive.body.html` (inputs, tabs, a palette) are bodies to copy. Never open or paste `parts/`: it is minified output.
Expand All @@ -20,9 +20,9 @@ Standalone HTML that looks and behaves like Basalt: one file, no network, dark a

Markup built only at run time (a `.row` your script writes) won't be seen: add `<!-- basalt:use rows -->` to the body.

- **core** `.page`, `.stack`, `.panel`, `.card`, `.btn`: always in; print its usage with your modules.
- **core** `.page`, `.stack`, `.panel`, `.card`, `.btn`: always in; print its usage too.
- **glyph** `data-glyph`: Basalt's own glyph by name, never drawn by hand; filled inside `aria-current`.
- **topbar** `.topbar`, `.site-footer`: once per page; never restyle it; no danger button; no second blurred layer.
- **topbar** `.topbar`, `.site-footer`, `.version-link`: once per page; never restyle it; no danger button or second blur.
- **kbd** `data-kbd`, `.kbd`: only a real shortcut the page binds, never on the primary fill; `data-doc` for keys in prose.
- **segment** `.segment`: `button[aria-pressed]`, one true; a click doesn't switch it, your script does.
- **forms** `.field`, `.input`, `<input>`, `<select>`, `<textarea>`: wrap a select in `.select`; errors are `aria-invalid`.
Expand Down Expand Up @@ -88,21 +88,22 @@ Markup built only at run time (a `.row` your script writes) won't be seen: add `
- **topbar-nav** `.topbar-links`: five links at most, one `.topbar-action`; the script builds the narrow menu, never write it.
- **app-shell** `.app-shell`: the document scrolls; one smoked bar; every sidebar item has a glyph.
- **pane** `.pane-layout`: page first, pane after.
- **release** `.release`: only from `tools/changelog/skill-body.mjs`; never `hidden` on a fold.
- **tab-bar** `.tab-bar`: three to five links, glyph over label; with more, four and a More sheet.

Your own CSS goes in a `<style>` in the body (moved to the head, after Basalt's), using `--basalt-*` tokens only. Element selectors (`a`, `button`, `table`, `h1`) go inside `@layer reset { }`, so they can never beat a Basalt class; class rules can sit unlayered. Basalt's classes are in `@layer basalt`, so any unlayered rule of yours wins without `!important`. Never restyle a Basalt class from an element rule.
Your own CSS goes in a `<style>` in the body (moved to the head, after Basalt's), using `--basalt-*` tokens only. Element selectors (`a`, `button`, `table`, `h1`) go in `@layer reset { }`, so they never beat a Basalt class; class rules can sit unlayered. Basalt's classes are in `@layer basalt`, so any unlayered rule of yours wins without `!important`. Never restyle a Basalt class from an element rule.

## Rules

- **Monochrome.** Colour only in named roles: status (a dot or icon beside its word), a product's accent, syntax inside code. Never decorative, never the only carrier of meaning.
- **Monochrome.** Colour only in named roles: status (a dot or icon beside its word), a product's accent, syntax in code. Never decorative, never the only carrier of meaning.
- **Type:** Geist and Geist Mono, weights 400, 500 and 600 only. Mono for identifiers, code, numbers in logs.
- **Levels, rim, nesting.** A panel (`.panel`, `.card`, `.callout`, `.code`, `.table-wrap`) is one level above what holds it, capped at 3, with a 1px rim and no shadow. Level is position, not importance: a hero is still level 1. Group with space and dividers first; a panel is for a distinct object; at most one panel deep. Only things that leave the flow (menu, popover, dialog) take `.float` and a shadow.
- **Levels, rim, nesting.** A panel (`.panel`, `.card`, `.callout`, `.code`, `.table-wrap`) is one level above what holds it, capped at 3, with a 1px rim and no shadow. Level is position, not importance: a hero is level 1. Group with space and dividers first; a panel is for a distinct object; at most one panel deep. Only things that leave the flow (menu, popover, dialog) take `.float` and a shadow.
- **Keys.** No single-character shortcuts on the page (WCAG 2.1.4): a shortcut needs ⌘, ⌃ or ⌥.
- **Selected** is a shape or weight, never a wash alone: a segment or tab label at 600 (400 at rest) on its pill or underline, a row's filled background, a checked box. No vertical bar; an outline never marks a state.
- **Both themes, always.** WCAG 2.2 AA: 4.5:1 text, 3:1 boundaries, focus and icons (the tokens pass; do not invent colours).
- **Motion** from the tokens only; entries ease out, nothing bounces or overshoots; under reduced motion, opacity only. A press is a colour step; only `.btn` scales (`--usage core`).
- **390px wide** must work: no sideways scroll, touch targets at least 44px (standalone links too: `--usage core`), inputs 16px (the CSS does this on coarse pointers). Don't hide a column to make a table fit.
- **390px wide** must work: no sideways scroll, touch targets at least 44px (standalone links too: `--usage core`), inputs 16px (the CSS does it on coarse pointers). Don't hide a column to make a table fit.
- **No** CDN, framework, web font request, glow, gradient, dot grid, outer frame around the page, bounce, press scale beyond `.btn`'s .98, red fill, or decorative colour. Danger is red text with a red hairline.
- **Brand SVG file** (from `brand/`): paste it with `data-brand` on its `<svg>`; compose hides it and drops its title. The link round it needs `aria-label`.
- **A dot between words** is `.dot-sep`, never an `aria-hidden` dot with a hidden comma; a value and its unit need a space between them (`--usage core`).
- **A dot between words** is `.dot-sep`, never an `aria-hidden` dot with a hidden comma; a value and its unit need a space (`--usage core`).
- Icons: Phosphor Bold via `<i data-icon="Name"></i>`, 16px (`data-size="20"` beside 18 to 24px text). Available: Command, Option, Control, Sun, Moon, Info, Warning, ArrowRight, ArrowLeft, ArrowUp, ArrowDown, CaretUpDown, Trash, Download, ArrowClockwise, CheckCircle, XCircle, MinusCircle, Prohibit, GithubLogo, XLogo, LinkedinLogo, InstagramLogo, YoutubeLogo, EnvelopeSimple, TerminalWindow. Check, close, chevrons, copy, plus, minus, search: core glyphs (`data-glyph`), not icons. A script that names one writes it as a quoted string (`icon: 'Trash'`). Need another icon? Add its name to tools/html-skill/src/icons.json and rebuild. Never draw one, never use an emoji.
2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/parts/app-shell.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .agent/skills/basalt-html/parts/app-shell.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 79 additions & 13 deletions .agent/skills/basalt-html/parts/manifest.json

Large diffs are not rendered by default.

Loading
Loading