ux-flow-plan
What it does
This skill has your AI write a plan that starts with what the user does and how the system responds. It is for product and development teams who want a clear plan before code is changed.
When to use it
- βWhen you are about to add a feature and want to map the user's steps before writing code.
- βWhen you want to compare how a flow works today with how it should work.
- βWhen you need a short list of design decisions and open questions before a build starts.
Skill link
https://github.com/trycompai/crm/blob/release/.agents/skills/ux-flow-plan/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βPlan how the new invite flow should work for users, starting from what they click, before we touch any code.β
5 new skills a week. 1 minute to read.
How it works
The skill draws the current and desired flows as simple tree diagrams, then adds the matching code files and functions, and ends with a short decision list.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Does the plan include code details?
Only near the end. The skill builds the user flow first and adds function names and file paths afterward.
What does the final list contain?
It lists the recommended approach, the alternatives rejected, and any open questions or assumptions.
Does the plan name tests?
Yes. The skill lists the tests that should cover the flow as one of the implementation anchors.
Details
Original description by the author
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
Popularity
- GitHub stars
- 12k
- Ranking position
- #11528
- License
- MIT
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
ai-elements
12kHelps your agent build AI chat interfaces with ready-made components for conversations, messages, tool displays and prompt inputs.
ai-sdk
12kHelps your agent build AI features with the Vercel AI SDK, including text generation, streaming, tool calling and agents.
better-accessibility
12kHelps your agent make interfaces usable with a keyboard and screen readers, covering focus, labels, ARIA and forms.
better-auth-best-practices
12kHelps your agent set up Better Auth for login, sessions, OAuth and plugins in a TypeScript app, following its documented steps.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.