RP

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

    by Nate Freed

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    RP

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

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

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

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    registry.npmjs.org
    localhost
    127.0.0.1

    File Scopes

    Frontend
    source
    of
    the
    user's
    project
    (for
    example
    src/)
    to
    add
    data-tour
    attributes
    tour
    folder
    and
    wiring
    Backend
    server
    prisma
    folders
    guard
    demo
    routes
    schema
    fields
    seed
    e2e
    tests
    for
    Playwright
    spec
    CI
    configuration
    only
    after
    user
    approves

    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.

    Listed6 days ago

    What's inside

    Creator

    N

    Nate Freed

    24 skills on Agensi

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.