Skip to content
Back to skills

Ui Quality Gate Auditor

ASecurity

Orchestrates and enforces the comprehensive 9-step Design Quality Loop across UI components. Evaluates Stop Conditions, executes automated defect audits, validates 5-state interactive contracts, verifies APCA/WCAG 2.2 AA contrast, and signs off on authoritative production release certification decisions.

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
ai-agentsjavascriptgojavabashrailsfrontend

Works with

  • cli

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add Harmitx7/tribunal-kit --skill ui-quality-gate-auditor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Quality Gate Auditor?

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

Security grade badge for Ui Quality Gate Auditor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/harmitx7-ui-quality-gate-auditor/badge)](https://www.skillsdirectory.com/skills/harmitx7-ui-quality-gate-auditor)

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: ui-quality-gate-auditor
description: 'Orchestrates and enforces the comprehensive 9-step Design Quality Loop across UI components. Evaluates Stop Conditions, executes automated defect audits, validates 5-state interactive contracts, verifies APCA/WCAG 2.2 AA contrast, and signs off on authoritative production release certification decisions.'
version: 1.0.0
last-updated: 2026-10-30
skills:
  - tribunal-ui
  - critique
  - web-accessibility-auditor
tools: Read, Grep, Glob, Bash, Edit, Write
scripts-binding:
  - .agent/scripts/lint_runner.js
  - .agent/scripts/verify_all.js
inputs:
  componentArtifacts: 'object'
  auditEvidence: 'object'
  strictMode: 'boolean'
outputs:
  qualityGateDecision: 'string'
  certificationReport: 'object'
  benchmarkScore: 'number'
trigger:
  - 'quality-gate-auditor'
  - 'tribunal-ui-gate'
  - 'ui-certification'
  - 'evaluate-quality-gate'
---

# UI Quality Gate Auditor — Design Quality Loop & Production Certification

## Mandatory Pre-Flight Context Inspection

Before issuing a quality gate decision or signing a release certification, inspect these 5 critical parameters:

1. **9-Step Loop Execution Proof**: Verify all 9 phases of the Design Quality Loop (_Understand -> Specify -> Plan -> Implement -> Render -> Inspect -> Correct -> Retest -> Certify_) have produced verifiable evidence.
2. **Defect-Free Clearance**: Ensure zero critical visual defects remain (`analyzeVisualDefects()` must return 0 critical violations).
3. **5-State Contract Conformance**: Every interactive button, link, and input must be certified compliant by `auditInteractiveStates()`.
4. **Contrast Compliance Floor**: Verify all text-to-surface contrast meets $\Delta L \ge 0.45$ via `isWcagAaCompliant()`.
5. **No Release Masking**: Enforce the Non-Masking Safety Invariant ($\Delta\text{Critical} = 0$). Never certify code with known regressions.

## Activation Boundaries

- **Activate when:** Conducting pre-merge UI sign-offs, executing the final certification step in the Design Quality Loop, or validating release readiness.
- **DO NOT activate when:** Writing draft exploratory components or formulating initial art direction.

## 🔁 Multi-Pass Quality Gate Protocol

| Pass       | Phase                          | Core Action                                                                                           | Observable Target       |
| :--------- | :----------------------------- | :---------------------------------------------------------------------------------------------------- | :---------------------- |
| **Pass 1** | **DDR & Artifact Intake**      | Verify presence of Design Decision Record and target component files.                                 | Artifact Verification   |
| **Pass 2** | **Static Defect Verification** | Execute static AST defect scanner across all candidate frontend files.                                | 0 Critical Violations   |
| **Pass 3** | **Interactive State Audit**    | Audit interactive targets for hover, focus-visible, and active press states.                          | State Contract PASS     |
| **Pass 4** | **Accessibility & APCA Pass**  | Evaluate color contrast, focus outlines, and screen reader landmarks.                                 | A11y Verification PASS  |
| **Pass 5** | **Certification Verdict**      | Issue final decision (`CERTIFIED_FOR_PRODUCTION_RELEASE` vs `REJECTED`) and write certification JSON. | Signed Release Artifact |

---

## 🛠️ Technical Architecture & Quality Gate Recipes

### 1. Programmatic Quality Gate Evaluation

```javascript
const { executeDesignQualityLoop } = require('../../src/design_intelligence');

async function certifyComponent() {
  const result = await executeDesignQualityLoop({
    productCategory: 'DEV_TOOL',
    codeSnippet:
      '<button className="px-3 py-1.5 hover:bg-surface-1 focus-visible:outline-2 active:scale-[0.98] disabled:opacity-50">Save</button>',
    buttonClasses:
      'px-3 py-1.5 hover:bg-surface-1 focus-visible:outline-2 active:scale-[0.98] disabled:opacity-50',
    dryRun: false,
  });

  if (result.success && result.benchmarkResult.tier === 'EXEMPLARY') {
    console.log('✔ COMPONENT CERTIFIED FOR PRODUCTION');
  } else {
    console.error('✖ CERTIFICATION REJECTED:', result.error || 'Score below threshold');
  }
}
```

### 2. Stop Condition Matrix

A release is **immediately halted** if any of the following occur:

- ❌ Any unaddressed `CRITICAL` visual defect (e.g., suppressed outline without custom ring).
- ❌ Missing `:active` press scale feedback on primary clickable elements.
- ❌ Text contrast falling below $\Delta L = 0.45$ in dark or light mode.
- ❌ Unmitigated horizontal overflow at 320px viewport width.

---

## 🏛️ Tribunal Verification & Guardrails

### 🛑 Verification-Before-Completion (VBC) Protocol

1. Quality gate must execute `executeDesignQualityLoop()` and record passing status.
2. Machine-readable certification JSON must be written to `benchmarks/artifacts/`.
3. The overall verdict must strictly require 100% pass across all mandatory release gates.

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 ai-agents →

Comments

Loading comments…

Newsletter

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