Skip to content

docs(mosaic): document Flow for moving between screens on one surface - #10584

Merged
alexcarpenter merged 1 commit into
mainfrom
carp/mosaic-flow-skill
Nov 2, 2026
Merged

alexcarpenter merged 1 commit into
mainfrom
carp/mosaic-flow-skill

Conversation

@alexcarpenter

Copy link
Copy Markdown
Member

Description

Agent docs for Mosaic never mentioned the Flow component, and the skill only used "flow" to mean the model/controller/view split. Nothing pointed to the component when one screen replaces another on the same card or dialog. #10502 hit this: OrganizationList opens create-organization with an early return, so the screen pops in.

  • The mosaic skill now explains both meanings of "flow".
  • packages/mosaic/AGENTS.md adds a reuse-table row and a warning sign for conditional screen swaps.
  • packages/mosaic/docs/views.md adds a section on using Flow: the card sits outside it, a step renders only its contents, and how nesting, direction and focus work. Loading, error and skeleton states can stay conditionals.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 2, 2026 6:37pm UTC
swingset Ready Ready Preview Nov 2, 2026 6:37pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 35de167

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 0905976 and 35de167.

Files selected for processing: 4
  • .changeset/mosaic-flow-component-guidance.md
  • .claude/skills/mosaic/SKILL.md
  • packages/mosaic/AGENTS.md
  • packages/mosaic/docs/views.md
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

Walkthrough

The Views guide adds instructions and an example for using Flow when screens replace one another on the same card or dialog. The mosaic skill and agent instructions add related guidance. An empty changeset file was added.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: ephem, austincalvelage

Merge Risk: Minimal · up to 35de1

The documentation-only change matches the existing Flow API and repository conventions, with no merge-blocking risk identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main documentation change: documenting the Flow component for screen transitions on one surface.
Description check Passed The description is directly related to the documentation changes and explains the updates to the Mosaic skill, agent guidance, and views documentation.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Linked repositories: Some configured repositories could not be included in this review. Cross-repository analysis may be incomplete. Please check linked-repository access and settings.

@pkg-pr-new

pkg-pr-new Bot commented Nov 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10584

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10584

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10584

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10584

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10584

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10584

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10584

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10584

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10584

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10584

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@10584

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10584

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10584

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10584

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10584

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10584

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10584

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10584

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10584

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10584

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10584

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10584

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10584

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10584

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10584

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10584

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10584

commit: 35de167

@alexcarpenter
alexcarpenter merged commit fe6175f into main Nov 2, 2026
56 checks passed
@alexcarpenter
alexcarpenter deleted the carp/mosaic-flow-skill branch November 2, 2026 19:02

This branch was successfully deployed

2 active deployments
Preview – swingset — 35de167a Deployed Nov 2, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 35de167a Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants