跳到正文
Skillpedia
任务与项目12k · #11528

ux-flow-plan

它能做什么

这个技能让你的 AI 编写一份规划,从用户做什么以及系统如何响应开始。适合希望在修改代码前有清晰规划的产品和开发团队。

适用场景

  • ✓你即将添加功能,想在编写代码前先梳理用户步骤的时候。
  • ✓你想比较流程目前的运作方式与应有的运作方式的时候。
  • ✓在开始构建前,你需要一份简短的设计决策和未决问题清单的时候。

技能链接

https://github.com/trycompai/crm/blob/release/.agents/skills/ux-flow-plan/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/trycompai/crm/blob/release/.agents/skills/ux-flow-plan/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在我们修改任何代码之前,请从用户点击的第一步开始,规划新邀请流程应如何为用户运作。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能把当前和期望的流程绘制为简单的树状图,然后添加对应的代码文件和函数,最后以简短的决策清单结束。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

UX Flow Plan

Create a high-level architecture plan that starts from the user experience and only then maps to code-level anchors.

Steps

  1. Restate the feature goal in product terms, using the user's language.

  2. Build the current-state UX flow as a tree:

    User action
    └─ System behavior
       └─ Existing architectural layer
          └─ Relevant function/file anchor
    
  3. Build the desired-state UX flow as a second tree:

    User action
    └─ System behavior
       └─ New or changed architectural layer
          └─ Relevant function/file anchor
    
  4. Identify the architectural boundary decisions:

    • Which layer detects the condition
    • Which layer owns side effects
    • Which layer updates UI/status
    • Which layer persists or mutates state
  5. Attach implementation anchors after the trees, not before:

    • Function names
    • File paths
    • Existing abstractions to reuse
    • Tests that should cover the flow
  6. End with a small decision list:

    • Recommended architecture
    • Alternatives rejected
    • Open questions or assumptions

Rules

  • Start with UX and system flow, not line numbers or code edits.
  • Use tree diagrams for flows whenever possible.
  • Keep function names and file paths attached as anchors, not as the main narrative.
  • Do not over-specify implementation details before the architectural boundary is clear.
  • Separate "current flow" from "desired flow".
  • Call out whether a feature is coupled to an existing concept or intentionally independent from it.
  • Prefer plain product and architecture language over framework-specific jargon unless the jargon names a real boundary.
常见问题

规划中包括代码细节吗?

只在接近结尾的部分包括。这个技能先构建用户流程,之后再添加函数名和文件路径。

最终清单包含什么?

它列出推荐的方案、被否决的替代方案,以及任何未决问题或假设。

规划中会列出测试吗?

会。这个技能将应覆盖该流程的测试列为实施的锚点之一。

详情

作者的原始描述

Create UX-first plans as flow trees, then attach concrete function names, files, and implementation anchors after the high-level flow is clear.

repo: trycompai/crm

热度

GitHub 星标
12k
排名
#11528
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能