Vois Patterns 标志

Vois Patterns

社区
ommakes
vois-patterns

Structural decision trees for container types, form states, table layouts, and page-level patterns. Use before vois-tokens. Routes to righter skill for all microcopy (labels, errors, buttons, helpers). Use when building pages, forms, features, workflows.

概览

发布者ommakes
代码仓库Skills
技能名称vois-patterns
星标数
21
复刻数
0
附带文件
19
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 19 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Vois Patterns Skill

You are building the structure of pages and containers for a design system. This skill defines the architectural decisions that come before implementation (tokens, components, styling).

Read this skill first. After you determine structure here, read vois-tokens for implementation details (spacing, typography, components, tokens).

This skill routes to righter skill for all microcopy (button labels, error messages, field descriptions, helper text). Don't guess at words—follow the righter skill.


Before You Write Anything

  1. What is the user trying to accomplish? (Dashboard overview? Edit a record? Confirm an action?)

  2. Pick the container type from the decision tree below.

  3. Read the matching reference file for full template rules.

  4. If a vois_record_pattern_choice tool is available in your environment, call it once you have picked a path, before writing any code. If it isn't available, this step is optional telemetry, not a gate — proceed to the next step.

    Tool: vois_record_pattern_choice
    Arguments:
      skillVersion: <this skill's version, from SKILL.md frontmatter>
      pathId: <one of the path IDs listed in the decision tree below, e.g. "PATH-A" or "PATH-C-MEDIUM">
      userGoal: <plain-English description of the user goal this path addresses>
      thresholdInputs: <key decision inputs used to walk the tree, e.g. { "sectionCount": 3, "reversible": false }>
      microcopyUsed: <optional array of contextKeys for any righter microcopy consulted while applying this pattern>

    There is no confidence argument on the real tool — decide fit using the thresholds in the decision tree itself. If no path fits well and a vois_report_pattern_gap tool is available, call it instead of forcing a match:

    Tool: vois_report_pattern_gap
    Arguments:
      skillVersion: <this skill's version, from SKILL.md frontmatter>
      userGoal: <plain-English description of the goal that didn't fit>
      attemptedFallback: <closest path ID used as a fallback, even though it doesn't fit>
      reasoning: <why the available decision tree didn't fit this goal>

    If neither tool is available, just proceed with your best-fit path and note the low confidence in your own output.

  5. For every word that appears in UI, check righter skill. See references/microcopy-routing.md for the full list of what counts as copy.

  6. Then read vois-tokens for implementation (tokens, spacing, components).


Decision Tree: What Container Type Should I Build?

START: What is the user trying to accomplish?

├─ PATH A: Manage settings or account preferences
│  └─ → read references/settings-pages.md, then references/settings-interactions.md
│     ├─ IF: 2–3 sections only      → [PATH-A-DEPTH-SHALLOW]
│     └─ IF: 4+ sections            → [PATH-A-DEPTH-DEEP]
│
├─ PATH B: View, filter, and act on a list of items
│  └─ → read references/table-list.md, then references/table-interactions.md   [PATH-B]
│
├─ PATH C: Create a new item OR edit an existing item
│  └─ → read references/forms.md, then references/form-field-groups.md
│     ├─ IF: 1–6 fields             → [PATH-C-SIMPLE]
│     ├─ IF: 7–15 fields            → [PATH-C-MEDIUM]
│     └─ IF: 15+ fields / complex   → [PATH-C-COMPLEX]
│
├─ PATH D: Quick input, confirmation, or selection
│  └─ → read references/dialogs-and-action-sheets.md         [PATH-D]
│
├─ PATH E: View details of a single item (read-only or view state)
│  └─ → read references/detail-pages.md                      [PATH-E]
│
├─ PATH F: Show what it costs and help someone choose a plan
│  └─ → read references/pricing-pages.md
│     ├─ IF: flat, one plan                    → [PATH-F-FLAT-1]
│     ├─ IF: seat-based, 1 / 2-3 / 4 plans     → [PATH-F-SEAT-1] / [PATH-F-SEAT-3] / [PATH-F-SEAT-4]
│     ├─ IF: usage-based, 1 plan / tiered / PAYG → [PATH-F-USAGE-1] / [PATH-F-USAGE-TIERED] / [PATH-F-USAGE-PAYG]
│     ├─ IF: seat fee + included usage         → [PATH-F-HYBRID]
│     └─ IF: consumer subscription             → [PATH-F-CONSUMER-WEB] / [PATH-F-CONSUMER-PAYWALL]
│
└─ PATH G: Show what a product or business offers to people not yet using it (landing page, homepage)
   └─ → read references/marketing-pages.md                   [PATH-G]

PAGE: The task is a whole page or screen layout, not one container (regions, order, behavior at each width)
   └─ → read references/page-templates.md, then your page's entry in data/page-templates.json   [PATH-PAGE]
      Use it together with the path the template routes to. The routed path wins on content.

Read the reference file for the path you picked. Paths A and C each have a companion file. Read the companion when the work involves it.

If the brief doesn't name a container type directly (it names a product-specific feature instead — "approval queue," "impersonate a user," "bulk edit"), read references/composition.md before assuming it needs new structure. Most of those translate to a direct fit or a combination of two existing paths.

Structured lookup: data/patterns-rules.json holds every tagged [PATH-X]/[PATH-X-Y] node from the tree above as { id, condition, outcome, source_file } (nodes may also carry optional pattern_name, builds_on, basis, basis_note, and evidence) — useful for a quick condition/outcome check by pathId without reading a whole file. It doesn't replace the reference files: worked examples, righter-routing call-outs, and untagged conditional branches (e.g. table-list.md's table-or-list choice) only exist in the .md files.

Source of truth: data/patterns-rules.json is canonical for a path's condition/outcome. references/*.md may restate a path for readability and carries the worked examples JSON doesn't — but if the two ever disagree, the JSON wins. scripts/check-rule-sync.mjs (repo root) checks in CI that every [PATH-*] tag cited in references/*.md resolves to a real entry in patterns-rules.json and vice versa.


Reference Files

FileCoversPath ID(s)
references/settings-pages.mdProfile, workspace, billing, notifications, members sections; view/edit state[PATH-A]
references/settings-interactions.mdSave model, notifications, members, integrations, removal, danger zone, email change with one-time coderules for settings interactions (see data/patterns-rules.json)
references/table-list.mdTable or list, simple vs complex, row open (drawer, full page, dialog), where editing happens, pagination, narrow layout[PATH-B] [PATH-B-SIMPLE] [PATH-B-COMPLEX] [PATH-B-ROW-OPEN] [PATH-B-EDIT] [PATH-B-ROW-ACTIONS] [PATH-B-ROW-ACTIONS-REVEAL] [PATH-B-NARROW]
references/table-interactions.mdSelection and bulk actions, sort, filters, columns, density, saved views, URL state, keyboard, inline edit and save model, loading, empty and error states, partial failuresPATH-TABLE-* rules (see data/patterns-rules.json)
references/forms.mdCreate/edit forms by complexity tier, validation, save behavior[PATH-C]
references/form-field-groups.mdField widths, columns, spacing, name, address, phone, email, one-time code, auto-growing textareas, AI chat inputrules for form field groups (see data/patterns-rules.json)
references/dialogs-and-action-sheets.mdModal vs action sheet by breakpoint, confirmation/selection dialogs[PATH-D] [PATH-D-SIZE]
references/detail-pages.mdRead-only single-record views[PATH-E]
references/pricing-pages.mdPricing pages by billing model (flat, seat, usage, hybrid, consumer) and tier count (1 to 4), calculators, comparison tables, trial timelines[PATH-F] [PATH-PRICE-U1] to [PATH-PRICE-C11]
references/marketing-pages.mdLanding pages and homepages: one idea per section, three blocks max, detail behind a link, image tiles, no dividers, one primary button. Taste rules for marketing surfaces only[PATH-G] [PATH-G-*]
references/permissions-and-conditional-logic.mdHide vs disable by role, personal data (mask, reveal, keep out of URLs), parent/child input dependencies, accordions[PATH-PERM-*] [PATH-COND-*] (cross-cutting)
references/composition.mdA brief doesn't name a container type directly, or seems to need more than one at once[PATH-COMPOSITION-*] (cross-cutting)
references/motion.mdA state change should move: status button, collapse to indicator, label morph, shared element, icon morph, number ticker, typed input, directional, tray, grow-from-trigger, reorder and regroup, chart range change, small state changes. Decision test, morph types, worked examples, frequency and delight tiers, accessibility, anti-patterns, remove-the-motion review. Timing values are in vois-tokens/references/animation.md— (cross-cutting; rules in vois-tokens [DS-MOTION-*] and [DS-ANIMATION-*])
references/page-templates.mdWhole-page skeletons by level (Entry, Hub, Index, Detail, Utility) for consumer and SaaS products: regions, navigation by width, density by width, overlays, button order, view to edit, sort and filter position, onboarding steps. Full entries in data/page-templates.json[PATH-PAGE] [PATH-PAGE-*]
references/content-density.mdDeciding how much breathing room a screen should have — admin grid vs. everyday form vs. onboarding/confirmation moment[PATH-DENSITY-*] (cross-cutting)
references/microcopy-routing.mdFull list of what counts as UI copy and must route to righter— (cross-cutting)

Spacing Rules (Quick Reference)

These are implemented via vois-tokens; listed here for context.

  • 24px vertical: heading ↔ body text
  • 24px horizontal: between two input fields
  • 40px vertical: body content ↔ primary action button
  • 20px horizontal: between primary/secondary buttons (bottom right anchored)
  • Use gap tokens on container div instead of margin-bottom on elements

For exact class/style syntax (Tailwind or StyleX) and token values, see vois-tokens.


Quick Checklist Before Implementation

  • Container type selected (settings / table / form / dialog / detail / pricing) — or, if the brief didn't map directly, checked references/composition.md for a fit or combination before designing new structure
  • If the task is a whole page: template picked from data/page-templates.json, checked at phone, tablet and desktop ([PATH-PAGE-BREAKPOINTS])
  • Content density tier picked deliberately (dense / standard / spacious) — see references/content-density.md, not defaulted to whatever the mid-range spacing tokens produce
  • vois_record_pattern_choice called with skillVersion, pathId, userGoal, and thresholdInputs, if that tool is available
  • Page structure sketched (what sections, what's visible, what's hidden by role)
  • Permissions applied (hide/disable rules — see references/permissions-and-conditional-logic.md)
  • All copy routed to righter skill and reviewed
  • Ready to read vois-tokens for tokens, spacing, components
  • Mobile breakpoint behavior defined (action sheets vs dialogs, sidebar vs hamburger, etc.)

Relationship to Other Skills

This skill ↔ vois-tokens:

  • Read this first (what to build)
  • Then read vois-tokens (how to code it correctly)
  • vois-tokens handles tokens, spacing, components, animation, accessibility
  • This skill handles structural decisions and microcopy routing

This skill ↔ vois-components:

  • After picking a container type here, read vois-components to select specific components
  • vois-components resolves ambiguous pairs — Dialog vs Drawer, Toast vs Banner, Select vs Combobox
  • If a vois_record_component_choice tool is available, call it after selecting; if not, this step is optional telemetry

This skill ↔ vois-dataviz:

  • If the screen is a dashboard, an analytics view, or contains charts, KPI tiles, sparklines or maps, decide the page structure here, then read vois-dataviz for what goes inside it
  • vois-dataviz picks the chart forms, chart colors, filters and data states; it does not decide the page container

This skill ↔ conversion-patterns:

  • PATH-F decides layout and structure of a pricing page
  • Paywall timing, placement, trial-vs-no-trial, and other test-backed conversion questions route to conversion-patterns

This skill ↔ righter skill:

  • Every word in UI comes from righter
  • This skill tells you which container type
  • Righter skill tells you what words go in that container
  • Always check righter for: button labels, error messages, field descriptions, status copy, confirmations

附带文件

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

常见问题

Vois Patterns AI 技能有什么作用?

Structural decision trees for container types, form states, table layouts, and page-level patterns. Use before vois-tokens. Routes to righter skill for all microcopy (labels, errors, buttons, helpers). Use when building pages, forms, features, workflows.

为什么在 TypingMind 中使用 Vois Patterns?

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

如何在 TypingMind 中安装 Vois Patterns?

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

哪些 AI 模型可以使用 Vois Patterns?

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

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

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

Vois Patterns AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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