Enforce design ci
Use when a repository needs deterministic pull-request checks for new accessibility, design-token, component-structure, responsive, and UI-state regressions with file-level evidence.From its SKILL.md
npx -y skills add sarveshsea/enforce-design-ciAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 28 days oldThe repository was created 28 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, 345 tokens by cl100k_base, as published. Nobody here has run it
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.
Initialize
Inspect the worktree first. When the task authorizes setup, run:
npx -y @memi-design/[email protected] init --team --kit universal --json
Review the generated policy and baseline before committing them. Existing debt remains visible but does not block unrelated pull requests.
Verify Locally
npx -y @memi-design/[email protected] 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: sarveshsea/memi@v2
with:
version: "2.5.0"
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.
What ships with it: 4 files
2.5 KB alongside SKILL.md
- LICENSE1.1 KB
- package.json482 B
- README.md638 B
- SOURCE.json310 B