design-bridge

design-bridge is a skill for Claude Code from OthmanAdi/MDDesign. It costs 80 tokens per session (1,254 once invoked), scanned A, original, Apache-2.0.

A helper that copies the relevant rules from DESIGN.md, a project’s design-guidelines file, into the active findings document when work involves a user interface.

In plain words
What is it for?
Use it while building or changing screens, pages, forms, buttons, navigation, layouts, themes, or other interface elements.
Why use it?
It keeps the agent’s current UI work aligned with the project’s existing colors, spacing, typography, and component rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mddesign plugin — 5 skills, 10 commands, 5 agents, 4 hooks shipped together

Good fit Use it while building or changing screens, pages, forms, buttons, navigation, layouts, themes, or other interface elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/othmanadi/mddesign/design-bridge
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 OthmanAdi/MDDesign --skill design-bridge
Clone the repo
git clone --depth 1 https://github.com/OthmanAdi/MDDesign

Made for: Claude Code.

Or install mddesign, the plugin that ships this one along with the rest of its 5 skills, 10 commands, 5 agents, 4 hooks.

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-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/othmanadi/mddesign/design-bridge/github.svg)](https://agentmods.dev/skills/othmanadi/mddesign/design-bridge)
Your own site
<a href="https://agentmods.dev/skills/othmanadi/mddesign/design-bridge"><img src="https://agentmods.dev/badge/skills/othmanadi/mddesign/design-bridge/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-bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/othmanadi/mddesign/design-bridge"><img src="https://agentmods.dev/badge/skills/othmanadi/mddesign/design-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,254 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.00080 $0.01254
Opus 5.5 $0.00032 $0.00502
Sonnet 5.5 $0.00016 $0.00251
Haiku 4.5 $0.00008 $0.00125

Measured 1mo ago against content hash 8315491dfe69, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-bridge 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 1mo ago.

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.

.clinerules/design-bridge/SKILL.md · 113 lines

How it starts

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

Design Bridge

Runtime companion. Lives between DESIGN.md and findings.md.

When you (Claude) should run this skill

You are running this skill when ANY of the following is true:

  1. The active phase in task_plan.md mentions UI keywords (button, card, modal, layout, color, typography, spacing, dialog, navigation, form, input, page, screen, theme, brand, design, component, header, footer, sidebar, hero, cta).
  2. The user just asked you to build, change, or review a UI element.
  3. The PreToolUse hook fired before a Write or Edit against a file matching *.tsx|*.jsx|*.vue|*.svelte|*.html|*.css|*.scss.
  4. The user explicitly ran /mddesign:inject.

What to do

Step 1: Detect DESIGN.md

  • Glob for DESIGN.md at the project root (CWD).
  • If absent, do nothing. Surface a one-line note ONLY if the user explicitly invoked the skill: "No DESIGN.md found at project root. Run /mddesign:harvest to generate one from your codebase."

Step 2: Detect the relevant token slice

  • Read DESIGN.md once.
  • Identify the token categories the current task touches. Heuristics:
    • "button|cta|link" → components.button, colors.primary, colors.secondary, typography (button), rounded
    • "card|panel|tile" → components.card, colors.surface, rounded, spacing
    • "modal|dialog|overlay" → components.modal, colors.surface, rounded, elevation
    • "form|input|field" → components.input, colors.border, typography (body), rounded
    • "color|theme|palette" → all colors
    • "type|font|heading" → all typography
    • "layout|grid|spacing" → spacing scale, layout section
    • default → colors (primary, secondary), typography (heading, body)

Step 3: Find the existing "## Design Context" block in findings.md

  • Read findings.md.
  • Look for a section header ## Design Context (case-sensitive).
  • If absent, you will append a fresh block.
  • If present, you will replace the block contents.

Step 4: Build the new block

The block format:

## Design Context

> Auto-injected by MDDesign on <ISO timestamp>. Source: DESIGN.md.
> Phase trigger: <phase id or "manual">

### Tokens in scope
<bulleted list of token references with values, format `colors.primary = #3B82F6`>

### Component specs in scope
<for each touched component, copy its spec from DESIGN.md verbatim>

### Do's and Don'ts (relevant excerpt)
<copy the relevant Do/Don't lines from DESIGN.md if any>

> If you stray from these tokens, name the deviation explicitly in findings.md before writing code.

Read the full file on GitHub · 113 lines

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. 1mo ago First seen · 113 lines · 80 tokens per session scan A 8315491dfe69

Subscribe to this mod's changes

design-bridge is a skill published in the GitHub repository OthmanAdi/MDDesign (14 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,254 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-30.

Related

Other skills, from other repositories

suede-site-alchemy

Suede AI conversion-rate optimization for landing, launch, campaign, and product pages. Turns a page into a conversion path: funnel stage, friction inventory, hero, proof, CTA ladder, pricing presentation, mobile task path, and falsifiable A/B hypotheses with a pre-registered experiment ledger, then implements and…

JasonColapietro/suede-creator-skills · 143 tokens

suede-design

Suede AI design skill for interfaces that feel intentional instead of templated: design tokens, color strategy, OKLCH ramps, type scale, fluid type, visual hierarchy, dark mode, spacing, component laws, motion, full surface builds that ship layout and words together, reference-to-target restyles (Suedify), and…

JasonColapietro/suede-creator-skills · 211 tokens

frontend-design-review

Design, review, and visually QA web and app interfaces against explicit design laws so shipped screens look intentional instead of generic AI output.

JasonColapietro/suede-creator-skills · 30 tokens

a11y-validate

Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen reader.

softspark/ai-toolkit · 51 tokens

design-engineering

UI craftsmanship: animation rules, easing, micro-interactions, state polish. Triggers: animation, transition, ease-out, motion, micro-interaction, hover, loading state, UI polish.

softspark/ai-toolkit · 43 tokens

design-system-reviewer

Review selected UI components, tokens, themes, and public component APIs against the project's actual design system, approved design, and consumer contracts.

RaNDoM6913/claude-code-superkit · 32 tokens