Agf Design Discipline
Anti-AI-slop UI design discipline: Design Read, three dials, AI-tells blacklist, pre-flight
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 21, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · dd463db
Located SKILL.md at .claude/skills/agf-design-discipline/; frontmatter parses with name+description. Spot-checked 3 referenced files via raw fetch — agf-design-precheck.sh, docs/adr/013-design-discipline-layer.md, docs/design/DESIGN.md — all HTTP 200; no security smells (advisory bash script, exit 0, no network/exfil). Built two HTML user-list sections and ran the skill's own precheck: the baseline (my reflexive default) flagged 5 categories (min-h-screen, font-family Inter, from-indigo/to-violet + bg-purple gradient, grid-cols-3 equal cards, emoji icons); the skill-following version flagged 0 and additionally carried a Design Read line, VARIANCE/MOTION/DENSITY=4/2/high dials, token-referenced colors, a divide-y dense list instead of 3 equal cards, lucide icons, and full loading/empty/error states instead of happy-path only.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 8/10
- Docs & honesty 5/5
What Agf Design Discipline does
A design-judgment layer for producing shadcn/ui + Tailwind product UI: it requires a one-line "Design Read" declaration, sets VARIANCE/MOTION/DENSITY dials, and enforces an "AI tells" blacklist (indigo/violet gradients, Inter, pure black/white, three equal cards, emoji icons, fake names, happy-path-only states) with per-rule overrides and a mechanically-checkable pre-flight. Triggers when writing a design spec or static HTML prototype, building UI from a design, or judging whether an interface looks AI-generated. Assumes an AGF-style project with a DESIGN.md token file and shadcn/Tailwind stack.
How to install Agf Design Discipline
git clone --depth 1 https://github.com/pcliangx/AppGenesisForge.git /tmp/agf-design-discipline-src
mkdir -p ~/.claude/skills
cp -R /tmp/agf-design-discipline-src/.claude/skills/agf-design-discipline ~/.claude/skills/agf-design-discipline
# Optional mechanical pre-check script (SKILL.md §5 references it):
# cp /tmp/agf-design-discipline-src/.claude/scripts/agf-design-precheck.sh ~/.claude/scripts/
# usage: bash agf-design-precheck.sh <design-dir-or-file> (advisory, exit 0)
# NOTE: SKILL.md links to project-internal files (docs/design/DESIGN.md token SSOT,
# docs/adr/000 + 013, .claude/agents/uiux-designer.md) that only exist inside AGF.
# The skill works standalone as design guidance but those cross-references will 404
# outside the repo. No external CLI/API/MCP needed to apply the discipline itself.
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Agf Design Discipline
-
/agf-design-disciplineAnti-AI-slop UI design discipline: Design Read, three dials, AI-tells blacklist, pre-flight
It also activates on plain-language prompts like these:
-
Review this design spec against the AI Tells blacklist -
Apply the aesthetic dials to this static prototype -
Run the pre-flight check before building this UI
Frequently asked questions
- Is the Agf Design Discipline skill free?
- Yes. The skill itself is free from pcliangx/AppGenesisForge. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Agf Design Discipline work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 21, 2026. Verdict: Tested · Works. Located SKILL.md at .claude/skills/agf-design-discipline/; frontmatter parses with name+description. Spot-checked 3 referenced files via raw fetch — agf-design-precheck.sh, docs/adr/013-design-discipline-layer.md, docs/design/DESIGN.md — all HTTP 200; no security smells (advisory bash script, exit 0, no network/exfil). Built two HTML user-list sections and ran the skill's own precheck: the baseline (my reflexive default) flagged 5 categories (min-h-screen, font-family Inter, from-indigo/to-violet + bg-purple gradient, grid-cols-3 equal cards, emoji icons); the skill-following version flagged 0 and additionally carried a Design Read line, VARIANCE/MOTION/DENSITY=4/2/high dials, token-referenced colors, a divide-y dense list instead of 3 equal cards, lucide icons, and full loading/empty/error states instead of happy-path only.
- What is the Agf Design Discipline SkillProof Score?
- 9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
- How do I install Agf Design Discipline?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Agf Design Discipline with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.