The Userflow Suggestion Skill looks at a working Userflow.js installation and recommends how to get more out of it: which user and company attributes to send, how to make flow targeting survive UI changes, and which Userflow.js functions fit the way your app is built.
Everything it recommends is drawn from your actual codebase — fields that exist on your models, the router you actually use, the components your flows will point at. It reports first and changes code only for the suggestions you pick.
Download
Before you start
You'll need:
A working Userflow.js installation. If you haven't installed yet, start with Install with AI; if you're unsure it's correct, run Verify with AI first
An AI coding agent with access to your project files — Claude Code, Cursor, GitHub Copilot, Codex, Windsurf, and others all work
No Userflow MCP server required
Step 1: Add the suggestion skill
Quickest route—paste this into your agent's chat. Nothing to install:
Suggest improvements to Userflow.js in this project.
Use the Userflow suggestion skill:
Read https://raw.githubusercontent.com/userflow/ai-skills-library/refs/heads/main/skills/suggest-with-ai/SKILL.md and suggest improvements to my Userflow setup.To add it permanently with the Claude Code plugin or skills.sh, see Add Userflow coding skills to your agent. If you already added the Claude Code plugin for Install with AI, you have this skill too—run /userflow:suggest-with-ai.
Step 2: Run the skill
Open your coding agent with access to your project and ask it to suggest improvements to your Userflow setup.
The skill reads your codebase — your user and company models, your router, and the components your flows will point at — then evaluates it against the areas below and produces a report. It does not edit anything at this stage.
What the skill recommends
1. Attributes worth sending
It reads your user model and, if you have one, your company or organization model, then recommends attributes that would be useful for targeting and personalizing flows — role, plan, lifecycle dates, counters, feature flags. Each recommendation names the field in your code it came from, so nothing is invented.
It also covers the parts teams usually discover late: attribute operations such as counters that increment rather than being recalculated, and membership attributes, where a user's role belongs on their membership of a company rather than on the user or the company alone.
2. Reliable flow targeting
If your app uses generated class names — CSS-in-JS, CSS modules, utility frameworks — flows that target those elements break whenever the styling changes. The skill audits the elements your flows would point at and recommends a dedicated targeting attribute for them, along with the one-line configuration that makes Userflow recognize it.
It also flags custom input components, such as comboboxes and rich selects, whose values flow conditions can't read without extra registration.
3. Userflow.js functions that fit your app
Rather than listing everything available, the skill looks for signals in your code and recommends only what matches — for example a client-side router means in-flow page jumps should use your router instead of a full page load, and sensitive values in URLs mean they should be filtered before Userflow receives them.
If your codebase shows no signal for a function, it won't suggest it. An empty section here is a valid result.
Step 3: Read the report
You get a short report with three sections, each item citing the evidence it came from, a one-line benefit, and a rough effort estimate. Items are ranked by value against effort, so the top of the list is where to start.
Step 4: Implement the suggestions you pick
Nothing is applied until you choose. You pick which items to implement, and the skill wires up only those, matching your existing code style, then confirms each one landed.
What it won't do
It won't increase your MAU count. Suggestions extend the identification calls you already have. The skill never proposes identifying anonymous visitors or adding identification to new pages.
It won't suggest sending sensitive data. Passwords, tokens, payment and health data are excluded, and it prefers a coarse attribute over raw personal data where either would work.
It won't invent fields. If an attribute would be useful but your app doesn't have the data, it isn't recommended.
Troubleshooting
The report is short, or a section is empty
That's by design. The skill only recommends what your codebase gives it a reason to recommend, and padding the report with functions your app has no use for would make it less useful.
It recommends running Verify first
That happens when the installation itself looks wrong — a duplicate initialization, or identification on public pages. Fix the foundation before building on it.
Still stuck
Browse the Userflow documentation, ask your coding agent to explain a specific recommendation, or contact Userflow support.
FAQ
Will it change my code?
Only the items you select. The report comes first, and nothing is implemented until you choose.
Will sending more attributes affect my bill?
No. Your Monthly Active User count is based on the users you identify, not on how many attributes each one carries.
Do company attributes work on my plan?
Groups are plan-gated, so the skill presents group and membership suggestions as conditional. Check your plan before implementing them.
Can I run it again later?
Yes. It's worth re-running after you add features or models, since new fields often make new targeting possible.
Can I see what the skill actually does?
Yes. Read the full suggest-with-ai skill on GitHub.
Review any changes before merging. The skill implements only what you approve, but those are real code changes. Human oversight is recommended.