design-system

design-system is a skill for Claude Code from maludb-ed/htmx-php-builder. It costs 78 tokens per session (2,076 once invoked), scanned A, original, MIT.

A required visual design guide for applications created with the HTMX and PHP builder. It defines the Bootstrap 5.3 admin layout, reusable interface components, page structures, assets, and mobile-first behavior.

In plain words
What is it for?
Use it before creating or editing application screens, forms, tables, detail pages, authentication pages, layouts, or other HTML interface parts.
Why use it?
It keeps pages consistent with the application's chosen template and gives developers approved markup patterns to follow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the htmx-php-builder plugin — 9 skills shipped together

Good fit Use it before creating or editing application screens, forms, tables, detail pages, authentication pages, layouts, or other HTML interface parts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maludb-ed/htmx-php-builder/design-system
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add maludb-ed/htmx-php-builder --skill design-system
Clone the repo
git clone --depth 1 https://github.com/maludb-ed/htmx-php-builder

Made for: Claude Code.

Or install htmx-php-builder, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/maludb-ed/htmx-php-builder/design-system/github.svg)](https://agentmods.dev/skills/maludb-ed/htmx-php-builder/design-system)
Your own site
<a href="https://agentmods.dev/skills/maludb-ed/htmx-php-builder/design-system"><img src="https://agentmods.dev/badge/skills/maludb-ed/htmx-php-builder/design-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/maludb-ed/htmx-php-builder/design-system"><img src="https://agentmods.dev/badge/skills/maludb-ed/htmx-php-builder/design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,076 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02076
Opus 5.5 $0.00031 $0.00830
Sonnet 5.5 $0.00016 $0.00415
Haiku 4.5 $0.00008 $0.00208

Measured 15d ago against content hash f12efe8a2016, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (examples/assets/js/common-init.min.js, examples/assets/js/theme-customizer-init.min.js, examples/assets/vendors/js/dataTables.bs5.min.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/design-system/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design System

Every screen in every application must look like it came from the same template, because it did. The single source of truth is the reference set in this skill — extracted from the licensed Bootstrap 5.3 admin template the applications are built on.

References (read the one you need before writing markup)

  • references/design-decisions.md — read first; overrides everything else where they conflict. The locked, project-independent design choices (canonical table = the "Traffic Reports" pattern with server-rendered pagination, interaction defaults, and the running list of pinned decisions).
  • references/layout-skeleton.html — the canonical app-shell page: head/CSS includes, sidebar navigation (nxl-navigation), header (nxl-header), the main content container HTMX swaps into (marked MAIN CONTENT TARGET), footer, script includes.
  • references/components.md — canonical markup for page headers, cards, list/table pages, create/edit forms, detail pages, buttons, badges, avatars, tabs.
  • references/auth-layout.html — the auth-page skeleton (login/register/reset use this, minimal style).
  • references/assets.md — which CSS/JS files each page includes and in what order.
  • examples/ — a working, trimmed example application: the shell (index.html), HTMX partials for the list/form/view screens, the auth page, and the actual theme CSS/JS/font assets. Copy examples/assets/ into every new application verbatim — this is what guarantees pixel-identical styling. Use the example pages as the starting point for Phase 2's shell and for each screen type.

Non-negotiable rules

  1. Copy, don't compose. Take the exact markup structure and class names from the references. Do not substitute generic Bootstrap markup where the template has its own pattern (nxl-* classes are load-bearing — the theme CSS/JS depends on the exact nesting).
  2. No modal forms or display surfaces. No .modal for anything that shows or collects data — create/edit/detail are dedicated full pages; quick edits swap inline via HTMX; offcanvas drawers only for filters/quick views, full-width on mobile. Confirmations are exempt: hx-confirm (the browser confirm dialog) is the standard guard on destructive actions.
  3. Mobile first. Every screen works at 375px: no horizontal page scroll, tables inside .table-responsive, action toolbars stack vertically, touch targets ≥ 44px. Check this before declaring any screen done.
  4. No new styling — except app-overrides.css. No inline style=, no ad-hoc CSS files, no overriding theme variables without explicit user approval. The single sanctioned override file is assets/css/app-overrides.css (ships in examples/assets/), loaded after theme.min.css on every page — plugin-level corrections to the theme live there and nowhere else. If a component pattern is missing from components.md, add it there (from the original template) first, then use it.
  5. Assets are fixed. Include exactly the CSS/JS listed in assets.md, in that order. Page-specific init scripts follow the template's naming convention and are loaded only on their page. When content arrives via HTMX swap, re-run the page-specific init in the htmx:afterSwap handler — theme JS bound at load time does not see swapped-in DOM.
  6. HTMX is the interactivity layer. Server-rendered partials swapped into the main content target; hx-push-url for navigable screens; no SPA frameworks, no jQuery beyond what the theme itself ships.
  7. Every meaningful element gets a unique, stable, kebab-case id per the naming scheme in design-decisions.md (left-sidenav, customers-list-table, customer-form-field-email, customer-row-{id}). IDs are the change-request vocabulary: never rename one once shipped, prefix screen-level ids with the screen name, and interpolate record keys into loop-generated ids.
  8. Scrollbars must be visible. The theme ships 5px scrollbars with a near-invisible thumb (and hides some entirely), which makes scrollable panels unusable. app-overrides.css forces clearly visible, grabbable scrollbars everywhere (12px, contrasting thumb, light and dark variants) — never remove or override those rules, never use scrollbar-width: none or ::-webkit-scrollbar { display: none }, and never overflow: hidden on a content panel. Any fixed-height panel gets overflow-y: auto and must show its scrollbar when content overflows.
  9. Cards are as tall as their content. Use plain class="card" (plus modifiers like border-top-0); never the theme's stretch / stretch-full / stretch-half height classes, which force height: 100% and leave forms and summaries with large empty space. Cards side by side may differ in height — that is expected.

Read the full file on GitHub · 45 lines

Files

What ships with it

45 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago Changed · +2 lines f12efe8a2016
  2. 1mo ago First seen · 43 lines · 78 tokens per session scan A 1dba334fa603

Subscribe to this mod's changes

design-system is a skill published in the GitHub repository maludb-ed/htmx-php-builder (9 stars, last pushed 14d ago), licensed MIT. It adds 78 tokens to every session and 2,076 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens