design-system
/design-system
Stosuje wizualny system Digital Stoic v0.5 dla artefaktów Claude i stron HTML: tokeny, typografię, klasy, wykresy SVG i osadzanie czcionek.
- Autor
- digital-stoic-org ↗
- Repozytorium
- agent-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 23
- Skrypty
- 3
- Komentarze HTML
- 2
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
- SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.
Skrypty: artifact-build.mjs, check-demos.mjs, export-fonts.mjs
Co robi i kiedy
Stosuje wizualny system Digital Stoic v0.5 dla artefaktów Claude i stron HTML: tokeny, typografię, klasy, wykresy SVG i osadzanie czcionek.
Wyzwalacze z opisu
Oryginalny opis (EN)
Digital Stoic visual system v0.5 "Tablette" for every Claude artifact and HTML page: tokens, type, classes, inline-SVG charts, and an assembler that injects the base CSS and base64 fonts so they never pass through context. Overrides artifact-design defaults. Use when: build an artifact, HTML page, report page, dashboard, mini-app, chart, plot, data viz, gallery, standalone page, design tokens, Digital Stoic style.
Jak działa
- Route
- Build
- Non-negotiables (violating any = wrong output)
- Settled — do not reopen
Podgląd SKILL.md
--- name: design-system description: 'Digital Stoic visual system v0.5 "Tablette" for every Claude artifact and HTML page: tokens, type, classes, inline-SVG charts, and an assembler that injects the base CSS and base64 fonts so they never pass through context. Overrides artifact-design defaults. Use when: build an artifact, HTML page, report page, dashboard, mini-app, chart, plot, data viz, gallery, standalone page, design tokens, Digital Stoic style.' user-invocable: true --- # Digital Stoic design system — index version: 0.6.1 | palette: tablette | updated: 2026-11-08 Entry point. Read this first, then open ONLY the files the routing table sends you to. Paths are relative to this skill's directory. This file duplicates the hard facts of `reference.md` on purpose. Their `version:` lines must match — if they differ, this index is stale and `reference.md` wins. ## Route | task | read | then | |---|---|---| | build any artifact / HTML page | `reference.md` | mandatory, full | | pick a class before inventing one | `templates/gallery.html` | living spec, grep it | | start a document-shaped page | `templates/identity.html` | copy as skeleton | | see a full screen of a given type | `demo/0N-<type>.html`, simple to complex: `01-document` `02-landing` `03-charts` · tool mode `04-dashboard` `05-decision` `06-mini-app` | copy the closest one, grep it | | consume the system on a static site or another page (fonts as files, base.css copy, theme-color, reserved class names, landing CTA, Greek) | §Consumers of `reference.md` | | | any chart, plot, dashboard tile | load skill `dataviz` FIRST, then §Data viz of `reference.md` | skill owns form, system owns params | Never read `fonts/*.css` (base64 blobs) or built output. The assembler injects them; they must not pass through context. ## Build ``` bun <skill-dir>/artifact-build.mjs [--standalone] <src.html> <out.html> ``` Runs from any cwd; src/out are cwd-relative. Static site without a build: `bun <skill-dir>/export-fonts.mjs <outdir>` writes the faces as woff2 + `fonts.css`. Default = fragment (artifact engine supplies head). `--standalone` = complete self-hostable document, zero outbound request. Source markers: `/* @base */` · `/* @font: <slug> */` · `<!-- @title: ... -->` · `<!-- @body: mode-outil -->` (standalone `<body>` class; also set it on the outer wrapper for fragments) Font slugs: `ebgaramond-400` `ebgaramond-400i` `hanken-400` `hanken-600` `jetbrains-400` Output goes to the calling project's `build/` folder — never `/tmp/`. ## Non-negotiables (violating any = wrong output) 1. Never hardcode a color. Tokens only. Palette declared 4× so `data-theme` beats the media query both ways. 2. `--accent` (blueprint blue, machine) = actionable · `--voice` (terracotta, human) = first-person conviction ONLY · `--ok`/`--warn`/`--no` (+ their `-weak` grounds) = state only, `--no` = refusal, never the voice · `--cat-*` = series identity only. 3. Series palette: 6 slots, order frozen. Cap 6 (bar/line/area/stacked), cap 3 (scatter/bubble/small multiples). No 7th hue. Changing a hex means re-running `validate_palette.js` (dataviz skill) in both modes. 4. No component kit (shadcn, Tailwind, Radix), no chart library. CSP blocks external assets, there is no bundler, and their default look is what the guardrails ban. Use native elements. 5. Charts = hand-authored inline SVG, drawn at the container's real width and redrawn on resize (`fit()` in `demo/03-charts.html`), so chart text stays 12 px. Mermaid for flows/schemas only, never quantitative data. Chart marks use `.mk`, never `.bar`. 6. Rules, not cards. Never centered by default. No gradients, shadows, glows. Emoji only as meaningful markers (state, section type, count, action), never decorative, the word kept beside them. 7. Focus never removed — `:focus-visible` is global in the base, do not override per component. 8. Type by role, set by the base, never per component: EB Garamond reads (headings, prose, editorial labels in small caps), `font-size-adjust:.5` on body; Hanken operates and compares (buttons, chips, table headers and cells, inputs, hints, errors, KPI figures, legends, chart text, dashboard rail); JetBrains Mono only for what gets copied verbatim (hex, ids, sources, code, document rail values). Tool pages: `<body class="mode-outil">` (marker `@body`) also switches editorial labels to Hanken. Editorial labels use `--label-*` tokens, never a hardcoded family. Sizes are tokens, never a raw rem or px: reading `--t-sm --t-body --t-lede --t-h2 --t-h1 --t-h1-sm`, interface `--u-xs` (12 px floor) `--u-sm --u-md`; spacing `--s0…--s6`. 9. Real content, never lorem. Project-level brand constraints (the caller's CLAUDE.md) apply on top. 10. `artifact-build.mjs` + `export-fonts.mjs` + `artifact-base.css` + `fonts/` move as one block or not at all. Never reuse a base class name for another meaning in a consumer. 11. Render it and look at it before claiming it works. 12. Any change to `artifact-base.css`, `fonts/` or the `version:` line → run `bun <skill-dir>/check-demos.mjs` (rebuilds into `demo/build/`) and fix every FAIL before calling the change done. Demos must stay a true picture of the system. ## Settled — do not reopen Identity v0.2 Tablette (parchment, terracotta voice `#9A3B1A`/`#E28D65`, blueprint accent `#1F3F8F`/`#94B0F0`) · dark versant "Ardoise" (slate `#161A1F`/`#1E232A`), 2026-11-07 · type by role (Garamond reads, Hanken operates/compares, mono copied), 2026-11-07 · `font-size-adjust:.5` on the serif · `.reg-conv` keeps its full `--voice-weak` background · series palette · emoji as meaningful markers, 2026-11-08 · inline-SVG chart engine. Rationale in §Settled of `reference.md`.
Pliki w paczce (23)
- SKILL.md 6 KB
- artifact-base.css 25 KB
- artifact-build.mjs 5 KB
- check-demos.mjs 6 KB
- export-fonts.mjs 2 KB
- reference.md 21 KB
- demo/.gitignore 1 KB
- demo/01-document.html 8 KB
- demo/02-landing.html 6 KB
- demo/03-charts.html 28 KB
- demo/04-dashboard.html 21 KB
- demo/05-decision.html 7 KB
- demo/06-mini-app.html 8 KB
- fonts/OFL-ebgaramond.txt 4 KB
- fonts/OFL-hanken.txt 4 KB
- fonts/OFL-jetbrainsmono.txt 4 KB
- fonts/ebgaramond-400.css 79 KB
- fonts/ebgaramond-400i.css 33 KB
- fonts/hanken-400.css 18 KB
- fonts/hanken-600.css 18 KB
- fonts/jetbrains-400.css 28 KB
- templates/gallery.html 33 KB
- templates/identity.html 9 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · digital-stoic-org/agent-skills | 100 | MIT |
| frontic/ui | 100 | MIT |
| akillness/jeo-skills | 100 | MIT |
| langwatch/langwatch | 100 | Apache-2.0 |
| borghei/Claude-Skills | 100 | MIT |
| alirezarezvani/claude-skills | 100 | MIT |
| sallaumen/elixir-agent-kit | 100 | MIT |
| davidelarocca/swift-harness | 100 | MIT |
| nextlevelbuilder/ui-ux-pro-max-skill | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 6655e92fea91 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100design-build
Wdraża i poprawia wizualny projekt frontendu: CSS, układ, typografię, tokeny kolorów i stany komponentów. - 90landing-pages
Pilnuje zasad struktury, konwersji, typografii i kodu dla stron lądowania w czystym HTML, CSS i JS. - 100design-language
Projektuje i buduje własny, wielokrotnego użytku język wizualny jako trwałe pliki: tokeny (tokens.css i design-tokens.json), kontrakt DESIGN_LANGUAGE.md i wielostronicowy styleguide. - 100generative-ui
Dostarcza system projektowy i szablony interaktywnych wizualizacji HTML i SVG w Claude i Codex: wykresy, dashboardy, diagramy, makiety i interaktywne wyjaśnienia. - 100artifact-design
Projektuje stronę, plakat, landing page lub prototyp HTML: kompozycję, typografię, role kolorów i interakcje, a potem sprawdza wynik. - 100skillshare-ui-website-style
Podpowiada tokeny, klasy i wzorce systemu projektowego dla dashboardu React oraz strony Docusaurus skillshare.