ux-flow-plan
できること
このスキルは、ユーザーが何をするか、システムがどう応答するかから始まる計画をAIに書かせます。コードを変更する前に明確な計画を求める製品チームや開発チームに向けたものです。
使う場面
- ✓機能を追加しようとしており、コードを書く前にユーザーの手順を整理したいとき。
- ✓現在の流れと、あるべき流れを比較したいとき。
- ✓作り始める前に、設計上の判断と未解決の質問を簡潔にまとめたいとき。
スキルのリンク
https://github.com/trycompai/crm/blob/release/.agents/skills/ux-flow-plan/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
Restate the feature goal in product terms, using the user's language.
Build the current-state UX flow as a tree:
User action └─ System behavior └─ Existing architectural layer └─ Relevant function/file anchorBuild the desired-state UX flow as a second tree:
User action └─ System behavior └─ New or changed architectural layer └─ Relevant function/file anchorIdentify 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
Attach implementation anchors after the trees, not before:
- Function names
- File paths
- Existing abstractions to reuse
- Tests that should cover the flow
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
コメント
- …
このリポジトリの他のスキル
ai-elements
12kエージェントが、会話、メッセージ、ツールの表示、プロンプト入力のための既成のコンポーネントを使って、AIチャットの画面を作れるよう支援します。
ai-sdk
12kエージェントが、テキスト生成、ストリーミング、ツール呼び出し、エージェントを含め、Vercel AI SDKでAI機能を作れるよう支援します。
better-accessibility
12kエージェントが、フォーカス、ラベル、ARIA、フォームを含め、キーボードとスクリーンリーダーで使えるインターフェースを作れるよう支援します。
better-auth-best-practices
12kエージェントが、Better Authの文書の手順に従い、TypeScriptのアプリでログイン、セッション、OAuth、プラグインのための設定を行えるよう支援します。