ask-matt
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Core anti-slop rulebook and Delivery Gate for AI coding agents. Stops generic AI-shaped UI, copywriting, accessibility failures, broken mobile reflow, and boilerplate code comments. Always load as the foundation filter.
unprompted is an art-directed web design engine and verification suite for AI coding agents. It eliminates statistical LLM clichés ("slop") across UI, copywriting, accessibility, mobile layout, and code—while equipping agents with six curated, WCAG-verified Design Archetypes (atelier, ledger, press, instrument, nordic, brutalist) when a project does not yet have its own DESIGN.md.
Direction Resolution (U-12):
DESIGN.md or an existing design system exists in the repository, obey it strictly.DESIGN.md is missing on a greenfield UI task, select the best-matching built-in archetype via unprompted-direction (npx github:mocasus/unprompted init-design --archetype <name> --with-tokens) rather than falling back to generic purple SaaS templates or leaving the user with an unstyled page.During vs. After)Check .unpromptedrc.json or ~/.unprompted/settings.json for "mode". If unset ("ask"), ask once at session start which mode applies:
during (Build Mode): Apply rules while generating new UI, copy, or code. Close every substantive UI/copy/code turn with the Delivery Gate Report.after (Audit Mode): Inspect existing files without rewriting unprompted. Return a numbered findings list citing exact rule IDs ([U-xx]) and file:line, wait for user approval on what to change, then apply fixes and print the follow-up Delivery Gate Report.Specialized skills (unprompted-ui, unprompted-direction, unprompted-copywriting, unprompted-a11y, unprompted-mobile, unprompted-code) deepen these rules by ID and never contradict them.
FAIL if violated)U-01 No Default AI Neon Gradients: Never ship indigo/violet/purple/pink default gradients (from-indigo-*, via-purple-*, to-pink-*, #6366f1, #8b5cf6, #a855f7, #ec4899) unless explicitly mandated in DESIGN.md.U-02 No Rainbow Clipped Headings: Never apply gradient-clipped transparent text (bg-clip-text text-transparent) to headings or hero titles.U-03 No Decorative Glow Orbs: Never place floating blur-2xl/blur-3xl colored circles behind heroes, cards, or dark backgrounds.U-04 No Cookie-Cutter Hero or "2nd-Gen Editorial Slop" Templates: Never output [Sparkle Pill] -> [Centered Gradient H1] -> [2 Buttons] -> [3 Icon Cards], AND never substitute it with the 2nd-generation LLM template (UPPERCASE // DOUBLE-SLASH eyebrows, one random accent-colored italic word inside every serif H1, a fake ● LIVE telemetry box beside the hero, and 01 / ALL CAPS three-column blurbs underneath).U-05 No Invented Metrics or Social Proof: Never fabricate user counts ("10,000+ teams"), ratings ("4.9/5"), latency claims ("0.0001ms"), ROI percentages, customer quotes, or logo bars. Use real figures or labeled structural placeholders.U-06 No Banned AI Hype Vocabulary: Never write "Supercharge", "Turbocharge", "Unlock the power", "Unleash", "Seamlessly", "Effortlessly", "Revolutionize", "Game-changing", "Next-generation", "Cutting-edge", "Elevate your", or "All-in-one platform for modern teams".U-07 No Decorative Emoji Crutches: Never prefix badges, headings, bullet lists, or code logs with ✨, 🚀, ⚡, 🔥, 💡, or 🎯.U-08 No Raw Placeholder Leftovers: Never ship "Lorem ipsum", "Acme Corp", "John Doe", "Jane Smith", "[email protected]", or "Feature 1 / Feature 2".U-09 Mandatory Contrast Floor: Body text must meet >= 4.5:1 contrast (>= 3:1 for large text >= 24px or 18.66px bold, and >= 3:1 for interactive borders/icons) against its actual rendered background.U-10 Keyboard & Focus Completeness: Every interactive control must be reachable by Tab, operable via keyboard, and display a visible :focus-visible indicator—never outline: none without an explicit replacement.U-11 Zero Horizontal Viewport Overflow: Pages must render from 320px to 1920px+ with zero unintended horizontal scrollbar on html/body.U-12 Direction Gate (DESIGN.md): Never invent arbitrary brand palettes or decorative flourishes on shippable UI without reading DESIGN.md (or declaring DRAFT (NO DESIGN.MD)).PASS)U-13 Escape the Card Prison: Do not wrap every paragraph, stat, or list item inside rounded-2xl shadow-lg p-6 cards. Separate content using whitespace, 1px hairlines, or tonal surface steps.U-14 Intentional Surface Polarity: Avoid clinical #ffffff + #000000 glare in light mode and muddy #0f172a slate soup in dark mode; use calibrated tinted neutrals (90% neutral, <= 10% accent).U-15 Glassmorphism Restraint: Reserve backdrop-blur strictly for at most one sticky navigation bar or modal overlay per view—never stack translucent cards across content grids.U-16 Optical Display Tracking: Large headings (>= 2.25rem / text-4xl+) require negative tracking (-0.02em to -0.04em) and tight leading (1.0 to 1.12).U-17 Readable Prose Measure: Constrain multi-line body paragraphs between 55ch and 68ch.U-18 Tabular Numerals on Data: Apply font-variant-numeric: tabular-nums (tabular-nums) to prices, metrics, timestamps, counters, and tables.U-19 Explicit Transition Properties: Never use transition: all or transition-all. Explicitly list compositor/paint-safe properties (transform, opacity, background-color, border-color, color).U-20 No Rubbery Card Bounce: Never apply hover:scale-105 or hover:scale-110 to content cards.U-21 Honor Reduced Motion: Guard non-essential animations and transitions with @media (prefers-reduced-motion: reduce).U-22 Explicit Form Labels: Every input, select, and textarea requires a persistent visible <label>—placeholder text is never a label.U-23 Honest Link vs. Button Semantics: Links (<a href>) navigate; <button> triggers actions. Body links must be distinguishable beyond color alone (e.g., underline).U-24 Mobile Touch Target Floor: Interactive tap targets on touch viewports must measure at least 44x44 CSS px (or have equivalent hit padding/spacing).U-25 Responsive Data Reflow: Wide desktop tables, multi-column toolbars, and stat strips must adapt cleanly on < 640px screens (structured stack, priority columns, or bounded scroll container—never clipped text).U-26 Specific Action Microcopy: Replace vague repeated CTAs ("Get Started", "Learn More", "Click Here") with concrete verb-object outcomes ("Download CLI (4.2 MB)", "Read routing spec").U-27 Ban AI Cadence & Sycophancy: Avoid "Not just X, it's Y" antithesis clichés, rule-of-three adjective padding, em-dash overuse, and filler intros in prose and docs.U-28 Ban Slop Code Comments: Delete ASCII section banners (// === HELPERS ===), comments that merely restate the next line of code, and narrated // TODO: implement stubs unless requested.U-29 Focal Anchor Discipline: Every screen needs one clear primary focal point above the fold—never three competing boxes of identical visual weight.U-30 Concentric Nested Radii: When nesting rounded elements, match curvature optically (R_outer = R_inner + padding).U-31 Varied Vertical Cadence: Alternate tight groupings for related proofs with generous breathing room before major narrative shifts—avoid identical py-16 on every section.U-32 Complete UI States: Design empty, loading, error, disabled, hover, and :active (translateY(1px)) states—not just the happy-path populated screen.U-33 Headline Rag Control: Apply text-wrap: balance on headings and text-wrap: pretty on body copy.U-34 Asset Stability (CLS = 0): Declare explicit width/height or aspect-ratio on images, videos, and embeds to prevent layout shift.U-35 Why-Only Code Comments: Keep comments solely for non-obvious invariants, protocol quirks, performance trade-offs, or bug workarounds.U-36 Automated Gate Verification: Run slop-audit.mjs (and contrast-check.mjs when modifying colors) on changed frontend files when Node.js is available.U-37 No AI-Slop Inline SVGs or Tinted-Icon-Box Spam: Never hand-hallucinate multi-path SVG illustrations, never use 4-point AI sparkle stars (<Sparkles />) or gradient-stroked (stroke="url(#...)") decorative SVGs, and never top every grid item with a 36x36 translucent tinted icon square. Prefer zero icons over filler icons; when functional icons are needed, import an established icon package (@phosphor-icons/react, lucide-react, @radix-ui/react-icons) at one consistent stroke weight and currentColor.U-38 Chart & Data-Viz Chromatic Restraint: Never render "candy-shop" multi-hue ring, donut, or bar charts (mixing orange + blue + pink + teal on one card). Use monochrome luminance steps plus at most one deliberate signal hue for threshold anomalies.U-39 Component Density & Negative Space: Do not pad sparse three-word labels inside oversized cards; match container footprint to actual information density.U-40 Authentic Media & Avatar Honesty: Never fabricate stock portrait URLs, fake user avatars, or hand-drawn SVG blobs to fill empty hero columns; use real product captures, live interactive states, or pure typographic composition.At the end of every UI, copywriting, or frontend code delivery, output this compact verification block:
UNPROMPTED DELIVERY GATE
- Direction : DESIGN.md applied | DRAFT (NO DESIGN.MD)
- Tier 1 : PASS | FAIL ([rule IDs])
- Tier 2 : PASS | FAIL ([rule IDs])
- Audit CLI : <score>/100 Grade <A-F> (or N/A if no UI files touched)
- Verdict : PASS | FAIL
Never claim Verdict: PASS while any Tier 1 or Tier 2 violation remains unresolved.
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
OBobra/superpowers331k近 7 天新增 4,772 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star