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.5 $0.00015 $0.00196
Sonnet 5.5 $0.00007 $0.00098
Haiku 4.5 $0.00004 $0.00049

Measured 1mo ago against content hash a26ff95f0717, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo ago Changed · -4 lines a26ff95f0717
  2. 2mo 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 (50 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 490 once invoked, about $0.0001 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

enforce-design-ci compared with skills from other repositories

enforce-design-ci next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
enforce-design-cimemi-design/memiSkill502d agoMITA37Claude Code
extract-designManavarya09/design-extractSkill4.8kyesterdayMITA140Claude Code
designlang-tokensManavarya09/design-extractSkill4.8kyesterdayMITA30Claude Code
omd-applykwakseongjae/oh-my-designSkill567yesterdayMITA129Claude Code, Codex
elementsNVIDIA/elementsSkill113todayApache-2.0A59Claude Code, Codex
authoring-patternsNVIDIA/elementsSkill113todayApache-2.0A106Claude Code, Codex
audit-accessibilityNVIDIA/elementsSkill113todayApache-2.0A98Claude Code