How funboy322/avoid-ai-design works
Purpose and Distribution
avoid-ai-design is a portable Agent Skills specification for auditing and rewriting existing frontend UI that exhibits recognizable AI-generated design patterns. It is content-driven rather than an executable application: no build, runtime service, dependencies, API keys, or deployment infrastructure are required.
Primary installation/agent entry point: SKILL.md. Repository overview and user-facing installation guidance: README.md.
Invocation and Operating Modes
An AI coding client that supports the agentskills.io format loads SKILL.md and applies it when the user asks to audit, de-slop, or redesign existing frontend code.
Two control paths are defined:
• rewrite (default): audit, choose and confirm a visual direction, edit target UI files, then re-audit.
• detect: audit and score only; do not modify files.
The skill is intended for Claude Code, Cursor, Codex CLI, GitHub Copilot, and compatible skill consumers; compatibility is based on the plain skill-file format, not a repository-specific runtime.
Paths: SKILL.md, README.md.
Workflow Orchestrator
SKILL.md defines the agent workflow and behavioral constraints: establish scope and stack, inspect source and optionally rendered output, identify design tells, select a direction, calibrate intervention depth, rewrite, and re-audit.
The workflow preserves application-level boundaries: functionality, props, state, routing, accessibility, copy meaning, and existing design-system tokens should remain intact. New dependencies must be disclosed rather than silently introduced.
Path: SKILL.md.
Audit and Severity Model
The audit stage classifies issues by category and severity:
• P0: visually dominant AI signals requiring priority remediation.
• P1: obvious generic/default component and copy choices.
• P2: secondary spacing and motion issues.
Findings are expected to include source location, category, severity, rationale, and confidence. Rendering/screenshot inspection is optional; visual-only conclusions are lower confidence without it. Re-audit seeks to eliminate P0 findings.
Canonical detection signals and framework-specific remediation guidance live in references/ai-tells-catalog.md; workflow/output expectations are in SKILL.md.
Design-Direction Decision Boundary
Before rewrite mode edits source, the agent commits to one concrete aesthetic direction described through several defining moves. This is a confirmation boundary between diagnosis and mutation, preventing unprincipled restyling.
Intervention is calibrated by artifact context: existing design-system components receive surgical changes, while standalone pages or marketing artifacts may receive a more comprehensive visual rebuild.
Direction options and commitment guidance: references/aesthetic-directions.md. Decision procedure: SKILL.md.
Knowledge Base and Framework Coverage
The catalog is the primary domain knowledge source. It maps typography, color, layout, component, spacing, motion, icon, copy, and imagery tells to detection criteria and fixes for both plain HTML/CSS and React/Tailwind/shadcn contexts.
This allows the skill to operate across target repositories without embedding framework code or taking dependencies.
Paths: references/ai-tells-catalog.md, references/aesthetic-directions.md.
Demonstration and Maintainer Assets
A concrete before/after artifact validates the intended transformation: a generic SaaS landing page and a refined version retaining product content while changing presentation. Its audit documents discovered tells, selected direction, and changes.
Paths: examples/demo/slop.html, examples/demo/refined.html, examples/demo/AUDIT.md.
Launch/discoverability material is separated from the skill’s runtime behavior: docs/LAUNCH.md, docs/SEO.md.
Main entry points: SKILL.md Skill entry point · README.md Repository overview · ai-tells-catalog.md AI tells catalog · AUDIT.md Demo audit
Components 16
Skill Consumers
- Compatible AI coding client · Claude Code, Cursor, Codex CLI, Copilot, or another agentskills.io client.
- Audit or redesign request
Skill Specification
- Skill entry point · Defines workflow, modes, constraints, and output expectations.
SKILL.md - Mode selection · Routes work to default rewrite or non-mutating detect mode.
SKILL.md - UI audit & scoring · Finds categorized signals with severity, rationale, location, and confidence.
SKILL.md - Direction confirmation · Commits to a concrete aesthetic direction before source edits.
SKILL.md - Constrained UI rewrite · Changes presentation while preserving application behavior and existing boundaries.
SKILL.md - Re-audit · Verifies P0 signals are eliminated after rewrite.
SKILL.md
Reference Knowledge
- AI tells catalog · Canonical signals and remediation guidance for HTML/CSS and React/Tailwind/shadcn.
references/ai-tells-catalog.md - Aesthetic directions · Direction options and commitment guidance.
references/aesthetic-directions.md
Examples & Maintainer Assets
- Repository overview · User-facing installation and usage guidance.
README.md - Generic SaaS demo
examples/demo/slop.html - Refined SaaS demo
examples/demo/refined.html - Demo audit · Documents tells, selected direction, and presentation changes.
examples/demo/AUDIT.md - Launch & SEO material · Discoverability material outside runtime behavior.
docs/LAUNCH.md - SEO guidance · Discoverability material outside runtime behavior.
docs/SEO.md
Connections 16
- Audit or redesign request → Compatible AI coding client: submitted to
- Compatible AI coding client → Skill entry point: loads
- Repository overview → Skill entry point: points users to
- Skill entry point → Mode selection: defines
- Mode selection → UI audit & scoring: detect and rewrite
- AI tells catalog → UI audit & scoring: detection criteria
- UI audit & scoring → Direction confirmation: rewrite mode only
- Aesthetic directions → Direction confirmation: options
- Direction confirmation → Constrained UI rewrite: confirmed direction
- Constrained UI rewrite → Re-audit: verify changes
- AI tells catalog → Re-audit: P0 verification
- Generic SaaS demo → Refined SaaS demo: presentation transformed
- Demo audit → Generic SaaS demo: documents findings
- Demo audit → Refined SaaS demo: documents changes
- Launch & SEO material → Repository overview: supports launch
- SEO guidance → Repository overview: supports discovery