# React Product Tour on a Read-Only Demo Account (Joyride)

> 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.

React Product Tour on a Read-Only Demo Account (Joyride) is a paid AI agent skill on Agensi by Nate Freed. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Nate Freed](https://www.agensi.io/creators/nate-freed)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/react-product-tour-on-a-read-only-demo-account-joyride
- Tags: frontend-web-apps, apis-backend, testing-debugging

## 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.

## Requires

- React app with React Router
- Token auth kept in browser storage
- Node API (Express templates included)
- Python 3.8+ for the steps linter
- react-joyride (installed after asking)
- Node.js
- Optional: Prisma (schema and seed templates)
- Optional: Playwright for the e2e walk-through
- Optional: A CI runner for the lint step

## Known limitations

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the React Product Tour on a Read-Only Demo Account (Joyride) skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Can tour visitors change the demo data?

No. The Express guard returns 403 demo_readonly for every write by the demo account, and for any GET routes you list as having side effects. If its database check fails, it refuses the request instead of letting it through. The client also blocks writes right away with a single toast.

### What happens to a logged-in user's session and unsaved draft?

Before the swap, the real auth keys and any draft keys you name are copied to sessionStorage. They are restored exactly when the tour finishes, when the user exits or presses Esc, and when the demo token expires mid-tour. Starting the tour twice never overwrites that saved copy.

### My app uses httpOnly cookies for auth. Will this work?

Not as templated. The session swap assumes the token lives in browser storage. The skill tells you this and proposes a different design rather than forcing the templates in.

### Does it support Next.js, Fastify or tRPC?

The React templates work in Vite, CRA and Next client components. The backend code is Express and Prisma. Fastify, Next route handlers and tRPC are covered as written guidance on where the same checks go, not as ready-made code.

### Will it install packages or touch production?

Only after you say yes. It names each package before a project-local install. It runs migrations and the seed against a local database, and asks before any shared or production target, before adding the seed to a deploy command, and before changing CI.

### How does the CI check work?

Copy scripts/lint_tour_steps.py into your repository and run it in CI. It needs Python 3.8+ and only the standard library. It exits non-zero when a step points at a missing data-tour target or route, or when step ids are duplicated or missing.

### Is there a separate phone tour?

Yes. Steps can be limited to mobile or desktop. Mobile means touch plus a narrow screen, or an installed PWA, and you match it to your app's layout rule. The Playwright spec walks the phone tour in a touch-enabled context. Still check gesture-heavy steps on a real phone once.

### Which react-joyride version does it target?

The templates were typechecked against react-joyride 2.x-style typings. The skill checks react-joyride's peer range against your React major before installing, and stops to ask if they do not match.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
