Ux Scenarios 标志

Ux Scenarios

组织
ssheleg
ux-scenarios

用于启动新功能、改变面向用户的行为,或将代码库迁移到场景驱动开发模式(docs/ux/scenarios.md)。触发词:“ux scenarios”/“сценарии использования”(使用场景)、“новая фича”(新功能)。不适用于空项目(应先明确愿景)。拒绝短语:“no scenarios”/«без сценариев»(不要场景)。

Add to TypingMind

概览

发布者ssheleg
代码仓库super-ux
技能名称ux-scenarios
星标数
6
复刻数
0
附带文件
14
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 14 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

ux-scenarios — Maintain the Scenario Base

Part of super-ux — see system-map.md for the whole pipeline and the four sync rules. After changes, run the linter (python3 docs/ux/lint.py).

AI-generated interfaces go bad when UI is built without a model of user behavior. This skill keeps one: docs/ux/scenarios.md in the target project is the source of truth for everything the user can do, see, and hit — every feature, every button, every state, every error, every result.

Format contract: scenario-format.md (ux-contract v4). Read it before writing or editing scenarios. Never deviate from its field names, ID rules, statuses, or checklists.

The WHY and HOW layers: when docs/ux/foundation.md exists (personas, JTBD, journeys, stories — ux-foundation skill) and/or docs/ux/flows.md (task analysis, user flows — ux-flows skill), scenarios are derived FROM them: one scenario set per flow, covering the happy path, every error edge, and every alt branch of the flow diagram; Traces: filled with story + flow IDs; traceability rules enforced (every must/should story covered; every flow node/edge covered; every scenario serves a story or job — a scenario serving nothing is a candidate for deletion, not implementation). Steps are written use-case style: user action -> observable system response. If the upper layers are missing on a non-trivial product, recommend ux-foundation → ux-flows first; proceed in v1 mode (no Traces) only for tiny projects or on explicit user choice.

Design taste: apply ux-design-principles.md — states per screen, error recovery, primary-action rules — when writing Expected results and Errors & recovery.

Triggers

The phrases that route to this skill, in English and Russian. The description keeps only the strongest of them so the skill listing stays inside its budget (2026-10-20); the family routing hook matches this list.

"ux scenarios" / "сценарии использования", "use cases", "new feature" / "новая фича", new feature or project planning, UI changes.

The hard rule

  1. Scenarios come BEFORE interface. A new feature or project starts with drafting scenarios and validating them against the existing base — conflicts, overlaps, gaps — and getting them approved. Only then design and build UI.
  2. Any change touching user-facing behavior updates docs/ux/scenarios.md in the SAME change. New behavior with no scenario is a blocker, not a warning.

The opt-out is spoken, never assumed: the operator declines this route by saying "no scenarios" / «без сценариев» — proceed without the base and say so in the delivery, rather than skipping it silently.

Best practices: when drafting or reviewing scenarios, consult best-practices.md — filter by tags matching the feature/journey stage (onboarding, paywall, retention, …) and the product domain. Apply a practice only when it serves a traced job/story; note applied practice IDs (BP-NNN) in the scenario's design rationale. The catalog is living — new proven practices get appended per its "How to add" rules.

Choosing a workflow

SituationWorkflow
No docs/ux/scenarios.md, little or no codeInit (greenfield)
No docs/ux/scenarios.md, existing product codeInit (existing code)
Base exists; behavior is being added/changedUpdate
Base exists; consistency questioned, or a new feature idea arrivesValidate

Announce which workflow you are running. If docs/ux/ is missing, create it (seed scenarios.md from this skill's own templates/scenarios.md).

Init (greenfield)

Scenarios are designed here, not reverse-engineered.

  1. Interview the user, one question at a time: who are the personas? what job does each hire the product for? what are the core features? what must never happen to the user?
  2. Draft personas, then scenarios feature by feature. For every feature, satisfy the per-feature completeness checklist (happy path, every error path, empty state, visible loading, destructive-action confirmation, returning-user variant) and the per-product checklist (first-run onboarding through multi-entity flows) from the format contract. Only real users and real data decide a persona or a scenario: a synthetic persona, an LLM "digital twin" or a simulated session is a hypothesis to test, never evidence (ux-foundation's research-evidence.md owns the rule).
  3. All entries start as Status: draft, Coverage: none yet, Product: unobserved. The last one is the outcome state and it stays unobserved until a signal from the world arrives — shipping the scenario does not move it, and neither does an audit passing on it.
  4. Present the base to the user section by section for approval. Approved scenarios move to validated.
  5. Only after validation of the scenarios a screen DEPENDS ON may its UI design/implementation begin — pointed at those scenarios. The build state is ux-flows' four-state machine (full / provisional / tooling-degraded / declined): an approved text spec builds even with optional Figma absent (deferred frame sync), a serious unknown blocks only its dependent screens, and approvals recorded here count in every layer without re-running the chain.

Init (existing code)

The base must cover everything that exists, then expose the gaps.

  1. Inventory sweep of the codebase (use available subagents in parallel for large codebases, one area each; without delegation, inspect those areas sequentially with the same coverage): routes and screens; interactive elements (buttons, forms, dialogs, menus); state branches (loading / empty / error / success); error paths and what the user sees; onboarding and first-run logic; settings; multi-entity flows.
  2. Draft scenarios from the inventory, feature by feature, filling Coverage: with the file:line evidence found during the sweep.
  3. Flag both gap directions explicitly in your report to the user:
    • code behavior with no scenario (was invented ad hoc — now captured);
    • checklist items with no code (e.g. no empty state exists at all) — record these as draft scenarios with Coverage: none yet.
  4. Present for validation as in greenfield step 4.

Update

Given a change (a diff, a feature description, a bug fix):

  1. Identify affected scenarios by feature and UI elements. Search the base — don't trust memory.
  2. Apply edits: adjust steps/elements/errors of existing scenarios; add new scenarios for new behavior; retire scenarios that are no longer true (Status: retired + one-line reason — never delete).
  3. Changed scenarios drop back to draft until re-approved; keep the Index table in sync.
  4. If the change introduced user-facing behavior that fits NO scenario even after this pass, stop and say so — that behavior needs a scenario decision before it ships.

Validate

Consistency pass over the base (also run before approving any new feature idea):

  1. Integrity: IDs sequential and unique; Index matches entries; every referenced persona defined; statuses legal.
  2. Coverage: every feature meets the per-feature checklist; the product meets the per-product checklist. List what's missing.
  3. Traceability (when foundation.md exists): every must/should story has ≥1 scenario; every scenario traces to ≥1 story or job; every journey stage with a product touchpoint has ≥1 scenario. Orphans in either direction are findings.
  4. Conflicts: scenarios that contradict each other (same entry point, incompatible outcomes; same element, different behavior). For a new feature idea: validate against the foundation first (which job does it serve? which journey stage?), then against existing scenarios — propose reconciliation before any UI work. An idea serving no job is challenged, not silently accepted.
  5. Report findings as a checklist with per-item fixes; apply approved fixes.

Moderated test tasks from the base (on request)

For a multi-screen journey, recommend a clickable scenario preview alongside the base; when requested, it is a deliverable. Follow interactive-flow-prototypes.md. The preview may refine draft scenarios before production approval: trace each case to screen-states and transitions, include alternative/error/recovery paths, and keep declared coverage separate from observed clickthrough. A simulated success does not change implementation Coverage or Product outcome status.

A scenario is already the shape a usability-test task wants: a situation, a goal, and an observable success condition. Turning one into the other is a rewrite, not a new artifact — so when someone is about to test with users, generate the tasks from the base rather than writing them fresh.

Per scenario in scope:

  • Scenario — the situation in the participant's terms, never the product's: "you have just been handed a project from a colleague", not "open SCN-014".
  • Goal — what they are trying to achieve, stated without naming the UI that achieves it. "Find the settings" is a leading task; "change where notifications are sent" is a task.
  • Success — the observable end state, taken from the scenario's Expected result.

Rules that keep the tasks honest: no verb from the interface in the wording (no "click", "tap", "the X button"), warm-up first and edge cases last, and one task per scenario — a task that needs two goals is two tasks. Where the scenario has alt or error paths, they become the stress tasks.

What comes back is graded against the same base: a task nobody completes is a finding against its scenario, not against the participant. Participants are real people; a model answering as a persona is not one, and its completions are not results.

Definition of done

  • Index, personas, and entries in sync; format contract honored.
  • The user has seen and approved new/changed scenarios (validated).
  • Gaps and conflicts reported honestly — never silently dropped.

What else is in references/. This skill names 5 contract(s) directly; references/ holds 13, because a contract this skill names links others and the whole closure ships inside the skill — the skills CLI installs one directory and a sibling's file would arrive dangling. Open the ones named here; the rest are reached from them, by name, when a contract sends you.

附带文件

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

常见问题

Ux Scenarios AI 技能有什么作用?

用于启动新功能、改变面向用户的行为,或将代码库迁移到场景驱动开发模式(docs/ux/scenarios.md)。触发词:“ux scenarios”/“сценарии использования”(使用场景)、“новая фича”(新功能)。不适用于空项目(应先明确愿景)。拒绝短语:“no scenarios”/«без сценариев»(不要场景)。

为什么在 TypingMind 中使用 Ux Scenarios?

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

如何在 TypingMind 中安装 Ux Scenarios?

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

哪些 AI 模型可以使用 Ux Scenarios?

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

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

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

Ux Scenarios AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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