React Product Tour on a Read-Only Demo Account (Joyride)
by Nate Freed
Add a multi-page react-joyride onboarding tour. It signs visitors into a seeded demo account that the server keeps read-only, then restores their real session and unsaved drafts, and a CI linter catches stale steps.
$7
React Product Tour on a Read-Only Demo Account (Joyride)
Example session with this skill installed
Our invoicing app is React 18 + Vite + React Router 6 + axios on the front, Express + Prisma on the back. Add a 'Take a tour' button on the login page that walks new visitors through the invoice list, the line items in the invoice editor, the aging tab on Reports and CSV import, using a demo account they can't change. Logged-in users should be able to retake it from the account menu without losing an unsaved invoice draft.
- Read your context and instructions
- Compiled the react product tour
Tour added: 6 stops in one steps file (src/tour/tourSteps.ts)
| id | route | target |
| welcome | /invoices | body (centered) |
| invoice-list | /invoices | [data-tour="invoice-list"] |
| line-items | /invoices/new | [data-tour="invoice-line-items"] |
| reports-aging | /reports | [data-tour="reports-aging"], prepare event opens the Aging tab |
| import | /import | [data-tour="import-dropzone"] |
| finish | /invoices | body (centered) |
Changed: src/tour/* (templates), App.tsx (TourProvider with keys inv_token/inv_user; draft key invoice_draft protected), Login.tsx (Take a tour button), AccountMenu.tsx (Retake the tour item, closes the menu first). Server: mountDemoTour mounted before /api/invoices; GET /invoices/:id/email added to blockGets.
Checks run
- lint_tour_steps.py: first draft had 2 errors ("invoice-line-item", did you mean "invoice-line-items"; route "/invoice/new", did you mean "/invoices/new"). Fixed: 0 errors, 0 warnings.
- tsc on the web app: OK
- local API on 127.0.0.1: demo-login 200 (no password hash returned); demo POST /api/invoices 403 demo_readonly; demo GET /invoices/INV-1001/email 403; owner POST 201; tour-seen with the owner token 200.
- Playwright walk: skipped. The project has no Playwright yet, and adding it needs your OK.
Still needs you: run the migration and demo seed on your shared or production database, add the lint step to CI, try the tour on a real phone, and confirm the other-tab behaviour (default: other open tabs also show the demo account during a tour; writes there are still blocked).
Connects securely to your tools. The creator never sees your data.
About this skill
Give your React app a guided product tour that visitors can start from the login page, a pricing page or the account menu. It signs them into a shared demo account full of realistic sample data, walks them across several routes with react-joyride, and blocks every change on the server, not just in the browser. When the tour ends, their real session and any unsaved draft come back exactly as they were. Your agent surveys the router, auth storage and API client, helps pick 6 to 10 stops, marks targets with data-tour attributes in a single steps file, and wires in tested templates. The frontend side is a tour provider, an overlay that changes routes and waits for targets instead of freezing, a demo banner, entry buttons and write-blocking interceptors. The backend side is a rate-limited demo-login route that needs no password, a fail-closed read-only guard for Express, and an idempotent Prisma seed pattern. A standard-library Python linter checks the steps file against your source tree, so CI catches stale steps after UI changes. A Playwright spec walks both the desktop and the touch-mobile tours. The skill also documents 17 failure modes seen in a real shipped tour.
The backend templates target Express and Prisma. Fastify, Next route handlers and tRPC are covered as written guidance, not code. The session swap assumes token auth in browser storage; apps with httpOnly-cookie-only sessions need a different design, which the skill says rather than forcing it. The default swap design changes localStorage, so other open tabs also see the demo account during a tour; a tab-scoped variant is described but not templated. The linter reads source text: it cannot verify data-tour values built at runtime, and it cannot know whether a target renders in the current UI state (prepare events and the Playwright walk cover that). Route detection covers React Router and TanStack-style createFileRoute; other file-based routers need --route values. The in-memory rate limiter is per process. The templates were typechecked against react-joyride 2.x-style typings; check react-joyride's peer range against your React version before installing.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 days ago
- Accounts
0Token auth kept in browser storage
- Software
- React app with React RouterNode API (Express templates included)Python 3.8+ for the steps linterreact-joyride (installed after asking)
Node.js
- Optional
- Prisma (schema and seed templates)Playwright for the e2e walk-throughA CI runner for the lint step
Permissions
Allowed Hosts
File Scopes
The bundled linter is read-only, uses only the Python standard library and makes no network calls. Network use is limited to package installs the user approves first (react-joyride, and Playwright with its browser download only if the user wants the e2e walk and the project lacks it), done project-locally through the project's own package manager and its configured registry (the default npm registry is listed), plus requests to the local dev server on localhost during verification. Migrations and seeds run against a local database unless the user explicitly approves another target. Secrets (JWT secret, database URL) are read from the environment by the app at runtime and are never printed or written by the agent.
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.