Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By oslokommunev0.2.0MIT
Operate an agent-run design system: author and compile a closed JSON spec (tokens, components, one visible override escape hatch) and run its lifecycle loops - expand the spec from demand, contract it toward minimality.
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The source of truth is data, not code: a JSON spec (spec/) describing tokens and
components. A compiler (ds-compile) turns that spec into a consumable Django app.
Nobody hand-writes CSS or templates; you edit the spec and recompile.
claude plugin marketplace add oslokommune/claude-marketplace-experimental
claude plugin install agentic-design-system@dig-experimental
Then add a ds.config.json at your project root pointing the skills at your layout
(see ds.config.json in this repo for the reference shape). The
skills activate on their own when a task touches the spec or the loops.
This repo doubles as the agentic-design-system plugin (.claude-plugin/,
skills/). The plugin teaches agents how to operate a system like this one in any
project:
ds-authoring — day-to-day craft: authoring tokens/components in the closed
spec, using the override escape hatch honestly, compiling, consuming {% ds_* %}
tags in Django.loop-1-expand — the growth loop: mine override telemetry and frontend usage
for recurring needs, promote them into the spec, retire the motivating overrides.loop-2-contract — the compression loop: find dead and duplicate spec nodes,
merge/delete with atomic reference migration, prove the change output-preserving.Projects point the skills at their layout via ds.config.json (spec roots, frontend
directories, compile/verify commands). The design system may be embedded in the
project (this repo's topology) or live in a separate repo that spec.core points at.
The lifecycle philosophy behind the loops is in docs/loops.md.
1. Closed data spec. Every design value in a component spec is a reference to a
token ("{color.action.primary}"), never a literal. Every component reference resolves
to another spec entry. Every CSS property and keyword comes from a closed vocabulary
(spec/vocabulary/css-properties.json). The compiler hard-fails on raw literals
(#ff0000, 12px), dangling references, unknown properties, unknown props, enum
violations and composition cycles - and reports all of them at once with a
machine-readable code + location. Compliance is by construction: if it compiles,
it is compliant.
Literals are legal in exactly two places: inside token files (the boundary where the
outside world enters the system) and inside override nodes.
2. Exactly one escape hatch. The override node type is the only way to express
something the vocabulary cannot. It carries arbitrary CSS/attrs plus a required
reason. Overrides compile - and every one is recorded in overrides-report.json
(id, component, spec file, node path, selector, reason, declarations), tagged in the
markup with a loud ds-override class, and emitted in CSS behind a
/* OVERRIDE <id> - <reason> */ comment. Overrides are telemetry: a queue of
vocabulary gaps for the next growth loop.
3. Agent-operable. One JSON file per component, stable ids, explicit reference
syntax, deterministic byte-identical output (no timestamps) - so machine diffing,
promotion of recurring patterns, consolidation of near-duplicate tokens and deletion of
unused nodes are all just edits to data, verified by ds-compile --check.
spec/
schemas/ meta-schemas: tokens, components, css vocabulary (JSON Schema 2020-12)
vocabulary/ the closed CSS vocabulary (properties -> accepted token types + keywords)
tokens/ W3C DTCG token files ($value/$type, aliases "{group.name}")
components/ one file per component: button, tag, alert (atoms), card (molecule)
src/ds_compiler/ the compiler
loader.py read spec roots
validate.py JSON Schema + reference resolution + closed-value enforcement
tokens.py token graph, alias resolution, CSS variable naming
emit/ css.py, templates.py, app.py
runtime/ ds_runtime.py - copied verbatim into the generated app
cli.py ds-compile
tests/ pytest suite (spec, emission, rendering, overrides, CLI, demo)
demo/ standalone rendered page + the one override example
Compiled output (build/, demo/build/ - both gitignored, always regenerable):
overrides-report.json
ds/spec.py prop/slot metadata used by the tag layer
ds/runtime.py prop validation, slot machinery
ds/templatetags/ds.py one tag per component + {% ds_slot %}
ds/templates/ds/*.html partials generated from anatomy
ds/static/ds/tokens.css tokens as :root custom properties (aliases stay var())
ds/static/ds/components.css BEM-ish classes whose values are only var(--ds-*)
Generated from the plugin's indexed repository (oslokommune/agentic-design-system) — no native marketplace selected
npx claudepluginhub p/oslokommune-agentic-design-systemBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground