Skip to content

skharbi/anti-vibecoding-ui

v0.2.0MIT

Review and generate production-quality UI with anti-vibecoding, accessibility, security, responsive, reliability, and verification guidance.

anti-vibecoding-ui

A production UI engineering Agent Skill for reviewing and generating interfaces without generic AI-made patterns — while also checking accessibility, responsive behavior, interaction states, frontend security/privacy, reliability, performance-sensitive UI decisions, browser/platform behavior, and evidence quality.

Current package version: 0.2.0
Status: v0.2.0 release validation complete under the repository's documented package, two-agent behavioral, and Chromium execution gates.

Quick start

Choose one path. You do not need to understand the packaging first.

I want to...Use this
Try the skill now from a phone or normal AI chatOpen PASTE-TO-INSTALL.md and copy the instruction block
Install the full reusable skill in a client that supports Agent SkillsUse the folder skills/anti-vibecoding-ui/
Package it as a Codex/OpenAI pluginUse the repository root

If you are unsure, start with PASTE-TO-INSTALL.md. It requires no terminal and no setup.

See INSTALL.md for step-by-step instructions.

What it does

Review mode

Reviews real frontend code and rendered behavior using evidence-based findings:

  • must-fix — security/privacy exposure, blocked tasks, serious accessibility/responsive failures, data-loss or unsafe high-impact behavior;
  • should-fix — confusing hierarchy, weak states, design-system drift, generic visual patterns, non-critical usability issues;
  • judgment call — valid product/brand/design tradeoffs.

Generation mode

Uses the same rules as design constraints before writing UI:

  • information hierarchy before decoration;
  • product-specific visual language;
  • semantic HTML and accessible interaction behavior;
  • realistic loading/empty/error/success states;
  • responsive/mobile strategy;
  • security/privacy and trust-boundary awareness;
  • design-system consistency;
  • restrained motion and credible copy;
  • final verification rather than “looks good” approval.

Coverage

The current checklist contains 38 review areas, covering:

  • product fit and information architecture;
  • visual style, typography, copy, layout and navigation;
  • buttons, links, icons, imagery and semantic HTML;
  • keyboard/focus, forms, validation and state completeness;
  • loading, empty, error and async feedback;
  • responsive/mobile behavior and accessibility;
  • dialogs, drawers, popovers, menus, tabs and accordions;
  • tables, filters, bulk actions and data visualization;
  • destructive actions, authentication and permissions;
  • internationalization, localization and RTL;
  • performance and perceived performance;
  • component-library/design-system discipline;
  • motion restraint;
  • portfolio and AI-product credibility;
  • cybersecurity and trust boundaries;
  • privacy and data minimization;
  • reliability, recovery and exceptional conditions;
  • testing/verification discipline;
  • observability and diagnosability;
  • browser compatibility and progressive enhancement;
  • public-site discoverability/metadata;
  • API consumption/frontend-backend contracts;
  • rendering, hydration, caching and concurrency;
  • final anti-vibecoding review.

Package structure

anti-vibecoding-ui/
├── plugin.json
├── .codex-plugin/
│   └── plugin.json
├── README.md
├── INSTALL.md
├── SECURITY.md
├── CONTRIBUTING.md
├── CHANGELOG.md
├── RELEASE.md
├── AGENTS.md
├── HANDOVER.md
├── LICENSE
├── PASTE-TO-INSTALL.md
├── .github/
│   └── PULL_REQUEST_TEMPLATE.md
├── evals/
│   ├── README.md
│   ├── cases.md
│   ├── EXECUTION-GATE.md
│   ├── SECOND-AGENT-RUN.md
│   ├── runtime-fixtures/
│   │   ├── README.md
│   │   ├── r3-responsive.html
│   │   ├── r9-rtl.html
│   │   ├── g1-dashboard.html
│   │   ├── g2-portfolio.html
│   │   ├── g3-mobile-form.html
│   │   └── p1-browser-feature.html
│   └── results/
├── scripts/
│   └── validate_skill.py
└── skills/
    └── anti-vibecoding-ui/
        ├── SKILL.md
        ├── agents/
        │   └── openai.yaml
        └── references/
            ├── checklist.md
            ├── review-protocol.md
            ├── component-behavior.md
            ├── security.md
            ├── best-practices-matrix.md
            └── sources.md

Validation

Validation has three layers.

1. Package/repository validation

Run:

python scripts/validate_skill.py

The validator checks package structure, manifest/version consistency, OpenAI metadata constraints, skill-description length, self-contained references, evaluation counts, documentation consistency, relative links, and common secret patterns.

2. Behavioral evaluation

evals/cases.md contains 42 regression scenarios covering triggering, review quality, generation, false positives, security/trust, cross-domain best practices, and platform/delivery behavior.

3. Execution gates

evals/EXECUTION-GATE.md defines the cases that require real rendered/browser/device/native-language evidence rather than static inspection. evals/runtime-fixtures/ provides reproducible HTML inputs, and evals/SECOND-AGENT-RUN.md defines the independent-model protocol.

Standards and best-practice sources

The skill's primary references include:

  • W3C WCAG 2.2 and WAI-ARIA/APG;
  • OWASP Top 10:2025, ASVS 5.0.0, WSTG 4.2, Cheat Sheet Series, and API Security Top 10 2023;
  • NIST SP 800-218 SSDF 1.1 and NIST Privacy Framework;
  • MDN Baseline/progressive enhancement;
  • Google Search Essentials;
  • current OpenAI Agent Skills / Agent Plugins packaging guidance.

See skills/anti-vibecoding-ui/references/sources.md.

Current validation status

Implemented

  • portable Agent Plugins manifest;
  • Codex compatibility manifest;
  • self-contained Agent Skill bundle;
  • 38-area production UI checklist;
  • security/trust, component behavior, and best-practice references;
  • 42 regression scenarios;
  • deterministic validator;
  • installation/security/contribution/release documentation;
  • recorded same-model structural/scenario self-test;
  • recorded Chromium runtime validation with 6/6 execution-gated cases passing.

Release validation completed

  • author-model scored run: 100%;
  • independent Claude full-suite run: 95.6% with 0 critical failures;
  • post-hardening targeted Claude regression run: 97.1%, 0 critical failures, 0 new false positives;
  • Chromium execution evidence recorded for the documented execution gates.

See evals/results/ for the recorded evaluation evidence and limitations.

Runtime evidence completed

  • rendered desktop/mobile generation checks;
  • RTL/native-language rendering validation in Chromium with ar-SA locale;
  • representative Chromium browser execution for all six execution-gated cases;
  • reduced visual-viewport checks for keyboard occlusion behavior.

The validation claim is limited to the repository's documented release bar. It is not a claim of universal browser compatibility, WCAG conformance, OWASP/ASVS compliance, legal/privacy compliance, or security certification.

Repository policies

License

MIT — use, adapt, and redistribute freely.