Unprompted 标志

Unprompted

社区
mocasus
unprompted

面向 AI 编程智能体的核心反劣质设计规则手册和交付门槛,旨在避免千篇一律的 AI 式 UI 和文案、无障碍问题、移动端重排故障,以及模板化代码注释。始终将其作为基础筛选规则加载。

概览

发布者mocasus
代码仓库unprompted
技能名称unprompted
星标数
504
复刻数
4
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 mocasus 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Unprompted AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mocasus/unprompted/tree/main/skills/unprompted
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mocasus/unprompted.git /tmp/unprompted
mkdir -p .claude/skills
cp -r /tmp/unprompted/skills/unprompted .claude/skills/unprompted
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Unprompted,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Unprompted。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Unprompted 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

unprompted — Core Rulebook & Delivery Gate

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):

  1. If DESIGN.md or an existing design system exists in the repository, obey it strictly.
  2. If 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.

Usage Modes (During vs. After)

Check .unpromptedrc.json or ~/.unprompted/settings.json for "mode". If unset ("ask"), ask once at session start which mode applies:

  1. during (Build Mode): Apply rules while generating new UI, copy, or code. Close every substantive UI/copy/code turn with the Delivery Gate Report.
  2. 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.

The 40 Core Rules (Three Tiers)

Specialized skills (unprompted-ui, unprompted-direction, unprompted-copywriting, unprompted-a11y, unprompted-mobile, unprompted-code) deepen these rules by ID and never contradict them.

Tier 1 — Hard Blockers (Immediate 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", "user@example.com", 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)).

Tier 2 — Structural & Craft Defects (Must fix before 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.

Tier 3 — Liveliness & Polish (Elevates good work to human-directed craft)

  • 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.

Mandatory Delivery Gate Report

At the end of every UI, copywriting, or frontend code delivery, output this compact verification block:

text
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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Unprompted AI 技能有什么作用?

面向 AI 编程智能体的核心反劣质设计规则手册和交付门槛,旨在避免千篇一律的 AI 式 UI 和文案、无障碍问题、移动端重排故障,以及模板化代码注释。始终将其作为基础筛选规则加载。

为什么在 TypingMind 中使用 Unprompted?

因为您只需安装一次,就能搭配任何模型使用。Unprompted 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Unprompted?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mocasus/unprompted/tree/main/skills/unprompted。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Unprompted?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Unprompted 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Unprompted 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Unprompted AI 技能免费吗?

是的。mocasus 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇