agentleFS
param087param087/saas-ui-skills/skills/onboarding-flows/SKILL.md

onboarding-flows

Skill3 starsChanged 6 months agoMITView on GitHub

Use when building onboarding — multi-step wizards, setup checklists, progressive disclosure, and first-run empty states. Covers step state, progress indication, skip/resume, and getting users to first value fast.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep step state explicit and show progress so users know how much is left:

    line 20
  2. Distinctive:

    Progressive disclosure: Ask for the minimum now; defer the rest to settings.

    line 73
  3. Distinctive:

    Prefill smart defaults: Don't ask what you can infer (timezone, name from email).

    line 76
  4. Distinctive:

    Too many required steps: before any value — cut to the essentials.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Onboarding Flows

Overview

Onboarding's only job is time to first value — get the user to the "aha" moment with the least friction. Two workhorse patterns: a stepper wizard for required setup, and a checklist for optional-but-guided tasks. Always allow skip/resume; never trap users behind a wall of forms.

When to use

  • First-run setup after signup (workspace, profile, invite team).
  • A guided checklist on an otherwise empty dashboard.
  • Any multi-step task that benefits from chunking.

Stepper wizard

Keep step state explicit and show progress so users know how much is left:

const steps = ["Workspace", "Invite team", "Connect data"] as const;
const [step, setStep] = React.useState(0);
const progress = ((step + 1) / steps.length) * 100;

<div className="mx-auto max-w-lg">
  <div className="mb-6">
    <div className="mb-2 flex justify-between text-sm text-muted-foreground">
      <span>Step {step + 1} of {steps.length}</span>
      <span>{steps[step]}</span>
    </div>
    <Progress value={progress} />
  </div>

  {step === 0 && <WorkspaceStep onNext={() => setStep(1)} />}
  {step === 1 && <InviteStep onNext={() => setStep(2)} onBack={() => setStep(0)} />}
  {step === 2 && <ConnectStep onFinish={complete} onBack={() => setStep(1)} />}

  <div className="mt-6 flex justify-between">
    <Button variant="ghost" onClick={() => setStep((s) => Math.max(0, s - 1))} disabled={step === 0}>Back</Button>
    <Button variant="link" onClick={skipOnboarding}>Skip for now</Button>
  </div>
</div>

Persist progress server-side (or in the URL) so a refresh or return visit resumes where they left off.

Setup checklist (progressive)

Great on an empty dashboard — shows value and a clear path, dismissible once done:

<Card>
  <CardHeader><CardTitle>Get started</CardTitle>
    <CardDescription>{done}/{total} complete</CardDescription>
    <Progress value={(done / total) * 100} className="mt-2" />
  </CardHeader>
  <CardContent className="space-y-2">
    {tasks.map((t) => (
      <a key={t.id} href={t.href} className="flex items-center gap-3 rounded-md p-2 hover:bg-muted/50">
        <CheckCircle className={cn("h-5 w-5", t.done ? "text-emerald-500" : "text-muted-foreground/40")} aria-hidden />
        <span className={cn("text-sm", t.done && "text-muted-foreground line-through")}>{t.label}</span>
        {!t.done && <ChevronRight className="ml-auto h-4 w-4 text-muted-foreground" aria-hidden />}
      </a>
    ))}
  </CardContent>
</Card>

Principles

  • Progressive disclosure. Ask for the minimum now; defer the rest to settings.
  • Show progress. A Progress bar or "Step x of n" reduces drop-off.
  • Always skippable. Forced onboarding inflates churn; let users explore.
  • Prefill smart defaults. Don't ask what you can infer (timezone, name from email).
  • Celebrate completion. A success state + a clear next action.

Pitfalls

  • Too many required steps before any value — cut to the essentials.
  • No skip/resume — refresh loses progress and frustrates.
  • Progress not persisted — returning users restart from zero.
  • A 12-field form labeled "Quick setup."
  • Dead end at the end — always point to the next meaningful action.

Hand-off

First-run guidance built from forms-and-validation steps and empty-and-loading-states; completion lands users in dashboard-layout.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.