Skip to content
Back to skills

Quality Gates

ASecurity

Router for UI and code quality gates — study how a reference repo enforces quality, measure a lint rule's noise before enabling it, install lint/test gates (suppression reasons, unreasoned skips, shadcn/Tailwind design-system checks, focus-ring and import boundaries), define a shared UI control that owns its look, capture light/dark state sheets for eye review, and review a UI diff for what lint cannot see. Use when setting up quality checks in a project, adopting a UI preset or registry, add...

  • 12 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
developmentgovuerailscode-reviewapifrontend

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add mxrsv/agents-skills --skill quality-gates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quality Gates?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quality Gates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mxrsv-quality-gates/badge)](https://www.skillsdirectory.com/skills/mxrsv-quality-gates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: quality-gates
description: Router for UI and code quality gates — study how a reference repo enforces quality, measure a lint rule's noise before enabling it, install lint/test gates (suppression reasons, unreasoned skips, shadcn/Tailwind design-system checks, focus-ring and import boundaries), define a shared UI control that owns its look, capture light/dark state sheets for eye review, and review a UI diff for what lint cannot see. Use when setting up quality checks in a project, adopting a UI preset or registry, adding or reshaping a shared control, a feature restyling a shared component with its own class, changing focus or selection styling, or before committing UI changes. Not for building a screen or judging its look (kyant-ui-rules and the owner's eye).
---

# Quality gates

One router, six modules. Modules live in `.modules/<id>/SKILL.md` next to this file: Claude
Code only discovers top-level skill folders and Codex skips hidden ones, so only this router
costs context. Read the chosen module's `SKILL.md` in full and follow it as if it were invoked
directly; paths inside a module (`scripts/…`, `assets/…`, `references/…`) are relative to that
module's folder. Never invoke a module through the Skill tool — it is not registered.

The rules these modules serve: repo controls, no focus ring, interactive states, one scale, little motion and the owner-runtime check in skill
`kyant-ui-rules` (summary in `~/.claude/rules/frontend.md`). Which check
enforces which rule: [`references/rule-map.md`](references/rule-map.md). Traps already measured:
[`references/lessons.md`](references/lessons.md) — read it before configuring anything.

## Modules

| ID | Run it when | It stops at |
| --- | --- | --- |
| `study` | the user wants to learn how another repo keeps UI or code quality | a mapping table: rule → problem → ours → adopt/adapt/skip |
| `probe` | before enabling any lint rule or plugin, or changing its scope | a scope table: hits per rule per path group, plus the allowlist |
| `gates` | a project needs quality gates, or adopts a UI preset/registry | gates wired, whole-tree lint at 0 errors, rules written into `AGENTS.md` |
| `primitive` | a shared control is added or reshaped, or a feature restyles one | the control's contract, specimen and enforcement |
| `states` | focus, hover, selection, disabled or theme styling changes | light/dark before–after sheets for the owner's eye |
| `review` | a UI change (`*.tsx`, `*.jsx`, `*.vue`, `*.svelte`, `*.css`) is about to be committed | findings on changed lines, or `All clear` |

Pick the one module that fits; a request spanning several runs them in the flow order below,
one at a time. Name the chosen module(s) to the user in one line.

## Flows

- **New project or preset adoption:** `study` (optional) → `probe` → `gates`.
- **New or reshaped control:** `primitive` → `states` → `review` → owner's eye (eye approval in `kyant-ui-rules`).
- **A mistake made twice:** skill `write-rule` picks the tier; a lint tier goes `probe` →
  `gates`, and the new check gets a row in `references/rule-map.md`.
- **Before a UI commit:** the repo's lint (installed by `gates`) → `review`.
- **Before a UI push or merge:** eye approval.

## Outside this bundle

`write-rule` (rule tiers, any domain), `scout` (research pipeline `study` reuses), `kyant-ui-rules`
(UI rulebook), `/code-review` (correctness),
`shadcn` (component docs; vendored, never edited).

## Guardrails

- `~/.claude` is public: assets and references hold no project paths, product names or the
  name of a studied repo. A project's own copies may name its paths.
- Copy assets into a project; never import from `~/.claude` at runtime.
- When a module learns something measured, add it to `references/lessons.md` with the date.

Files in this skill

  • .modules/gates/SKILL.md3.8 KB
  • .modules/gates/assets/oxlint-exemptions.test.ts2.1 KB
  • .modules/gates/assets/oxlint-plugin/index.mjs757 B
  • .modules/gates/assets/oxlint-plugin/lint-fixtures.ts2.6 KB
  • .modules/gates/assets/oxlint-plugin/no-outset-state-indicators.mjs4.3 KB
  • .modules/gates/assets/oxlint-plugin/no-outset-state-indicators.test.ts1.9 KB
  • .modules/gates/assets/oxlint-plugin/no-unreasoned-skip.mjs2.9 KB
  • .modules/gates/assets/oxlint-plugin/no-unreasoned-skip.test.ts1.6 KB
  • .modules/gates/assets/oxlint-plugin/require-suppression-reason.mjs2.4 KB
  • .modules/gates/assets/oxlint-plugin/require-suppression-reason.test.ts1.9 KB
  • .modules/gates/references/agents-rules.md2.4 KB
  • .modules/gates/references/eslint.md1.2 KB
  • .modules/gates/references/shadcn-tiers.jsonc3.1 KB
  • .modules/primitive/SKILL.md4.1 KB
  • .modules/probe/SKILL.md2 KB
  • .modules/probe/scripts/probe.mjs2.6 KB
  • .modules/review/SKILL.md3.4 KB
  • .modules/states/SKILL.md2.4 KB
  • .modules/states/scripts/capture-states.mjs2.8 KB
  • .modules/states/scripts/compose-sheet.mjs2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.