enforce-design-ci

enforce-design-ci is a skill for Claude Code from memi-design/memi. It costs 37 tokens per session (490 once invoked), scanned A, original, MIT.

A repository check that enforces repeatable rules for accessibility, design tokens, component structure, responsive layouts, and user-interface states. It runs during pull requests and produces machine-readable and human-readable reports.

In plain words
What is it for?
Use it to create a design policy and baseline, run local checks, generate SARIF and design-health reports, and add the checks to GitHub Actions.
Why use it?
It catches design and interface regressions without relying on an AI reviewer. A baseline keeps existing problems visible without blocking unrelated changes.

Skill for Claude Code

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

Part of the memi plugin — 4 skills shipped together

Good fit Use it to create a design policy and baseline, run local checks, generate SARIF and design-health reports, and add the checks to GitHub Actions.

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

Made for: Claude Code.

Or install memi, the plugin that ships this one along with the rest of its 4 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 enforce-design-ci

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/memi-design/memi/enforce-design-ci"><img src="https://agentmods.dev/badge/skills/memi-design/memi/enforce-design-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 490 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.00490
Opus 5 $0.00018 $0.00245
Sonnet 5 $0.00007 $0.00098
Haiku 4.5 $0.00004 $0.00049

Measured yesterday against content hash a26ff95f0717, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

enforce-design-ci 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 yesterday.

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.

plugins/memi-claude/skills/enforce-design-ci/SKILL.md · 52 lines

What it actually says

Enforce Design CI

Add a reviewable design-quality gate that runs without an LLM. Memi writes a policy, baseline, universal agent skill, SARIF, and human-readable report artifacts.

This workflow targets published beta 2.8.0-beta.2. Use npx -y @memi-design/[email protected] --version to verify the exact package; a local memi must report that same version before these recipes run. The independent stable compatibility baseline is 2.7.9. See current release state and known limitations. npm availability alone does not establish native-binary success.

Existing project setup

Beta initialization is unavailable. Use an existing reviewed policy and baseline; this skill does not invoke legacy setup commands. Review project changes before committing them.

Verify Locally

memi --profile connected --allow project-write --allow source-content-persistence --allow shell ci . --no-scope --report --json

The command may exit nonzero when findings exceed the configured gate. Treat that as a quality result, not a tool crash.

Add GitHub Actions

Use the pinned major action in .github/workflows/design.yml:

name: Design CI
on: [pull_request]
jobs:
  design:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      security-events: write
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: memi-design/memi@v2
        with:
          version: "2.7.9"

Completion Criteria

  • Policy and baseline are reviewed and committed.
  • Local CI produces SARIF and a design-health report.
  • The workflow passes on unchanged accepted debt and fails on a seeded regression.
  • The final handoff names the gate threshold, suppressed baseline count, active findings, and artifact paths.
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. yesterday Changed · -4 lines a26ff95f0717
  2. 10d ago First seen · 56 lines · 37 tokens per session scan A 048fd23f1e1d

Subscribe to this mod's changes

enforce-design-ci is a skill published in the GitHub repository memi-design/memi (41 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 490 once invoked, about $0.0002 per session on Opus 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

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

create-remotion-geist

Create Remotion videos using the Geist design system aesthetic. Use when asked to create videos, animations, or motion graphics that should follow Vercel's visual style - dark theme, spring animations, Geist typography, and the Geist color palette.

Marve10s/Better-Fullstack · 54 tokens

figma-design-handoff

Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…

yonatangross/orchestkit · 76 tokens

design-to-code-check

Check alignment between a specific design specification and its code implementation — a focused, single-component or single-screen comparison. Trigger when someone says: does this match the design, check implementation, design code alignment, what's different between the design and the build, spec check…

murphytrueman/design-system-ops · 95 tokens

design-engineering

Premium design engineering skill for agentic workflows — produces high-end, distinctive UI designs using DESIGN.md as the portable contract across Pencil MCP (in-IDE canvas), Figma MCP (team handoff + design tokens), and Google Stitch (vibe exploration + AI generation). Enforces anti-generic principles, WCAG 2.2 AA…

broomva/skills · 231 tokens

mk:figma

Read-first Figma gateway via Figma MCP: analyze designs, implement Figma-to-code for 1–3 screens, extract design tokens, produce a Figma Evidence Packet for planning handoff, screenshot fallback. Advanced operations (Code Connect, canvas writes, design-system/library patterns) are gated references loaded only on…

ngocsangyem/MeowKit · 99 tokens