More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Smooth UX: Make Your Web App Feel Responsive

    1

    You click a button and nothing happens for a second.

    Free

    Security scanned
    Smooth UX: Make Your Web App Feel Responsive

    Smooth UX: Make Your Web App Feel Responsive

    Example session with this skill installed

    The dashboard feels dead. When I click Pause on a campaign nothing happens for a second, and switching pages just freezes. Can you fix the UX?

    • Read your context and instructions
    • Compiled the smooth ux
    • Generated the app files

    I audited the front end first (read-only).

    What I found

    • 23 mutation call sites; 17 show nothing until the server answers.
    • Buttons have no :active state, and busy buttons are faded like disabled ones, so they look broken while working.
    • 6 of 9 routes have no loading.tsx, so every navigation to them is a dead click.
    • The existing skeleton is one grey box, and the layout jumps when data lands.
    • "Campaign paused" is toasted even though the status chip already changes on screen.

    Your decisions

    • Build to your existing tokens (no separate design pass).
    • Delete: keep the confirm step, then remove optimistically.
    • Extras: route skeletons, link pending and toasts; no page fade.
    • Scope: product app only.

    Primitives built

    PrimitiveWhat it does
    Motion tokens + .btn:activePress scale .97 at 80ms; busy stays full strength with cursor: progress
    Buttonbusy, done, busyLabel, doneLabel; holds its width while busy
    useAction{run, busy, done}, drops double clicks, done flashes 1.2s
    ToastProviderSuccess auto-hides after 4s; errors stay with Try again
    LinkPendingDot on nav items, thin bar on card links (useLinkStatus)
    SkeletonsCampaignListSkeleton, CampaignDetailSkeleton, reusing the real layout classes

    Applied

    Pause / Resume: optimistic. The chip flips at once; on failure it flips back with "Could not pause the campaign. It is still running."

    • Delete campaign: optimistic after confirm; restored in place on failure.
    • Create campaign: not optimistic. "Creating…" with spinner, then the real result.
    • Routes: loading.tsx with content-shaped skeletons on all 6 missing routes.
    • Removed the duplicate "Campaign paused" toast.

    Verified

    • Typecheck, lint and production build pass.
    • In the browser: every changed control shows pressed, busy and done; forced a 500 on Pause and saw the revert and message; navigated with throttled 3G and saw link pending, then the skeleton; checked 375px width and reduced motion.

    Next steps

    • Marketing pages were out of scope; say the word and I'll run the same pass there.
    • Undo-style delete needs a reversible delete on the server first.

    loading.tsx

    ZIP · project files

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    You click a button and nothing happens for a second. Is it working? Did it break? Users click again, or leave. Most apps feel slow not because they are slow, but because they are silent.

    Smooth UX is a pass your agent runs on a web front end to make every interaction answer. It audits the app, asks you the decisions that are yours, builds a small set of shared primitives, applies them screen by screen, and checks the result in a browser.

    What your users get

    • Every click answers. Buttons press on touch, show a spinner and an "-ing" label while working (at full strength, width held), and confirm when done.
    • Optimistic UI for predictable actions (toggles, pause and resume, delete after confirm, reschedule), with a revert and a clear reason when the server says no. Server-decided actions (create, publish, pay, upload) get a busy state, not a guess.
    • Content-shaped skeletons per screen and per route, so nothing jumps when data lands.
    • Instant route feedback. The clicked link shows it's working, the route skeleton appears, the page fades in.
    • Cheap motion. Transform and opacity only, short durations, reduced motion respected, and no fade on first load (so first paint is never delayed).

    How it works

    1. Audit (read-only). Finds every mutation call site, busy states that look disabled, routes without loading states, and toasts that repeat what the screen shows.
    2. Your decisions. Design the states first or build to existing tokens; confirm-then-delete or Undo; which extras; which parts of the app.
    3. Primitives first. Motion tokens, a Button with busy and done, a useAction hook that drops double clicks, a toast provider, link pending, skeletons and page fade, adapted to your tokens and CSS approach.
    4. Apply per screen using a decision table: what is optimistic, what gets a busy state, where failures are reported.
    5. Verify. Typecheck and build, then click every changed control, force failures to see reverts, throttle the network, and check phone width and reduced motion.

    Built-in performance rules

    No layout-animating transitions, no background-position animations, no animation on scroll, and skeleton sweeps use a translated pseudo-element. If an animation could cost a frame on a slow phone, it's left out.

    Templates target React and Next.js (app router); the process and rules apply to any front end. Open source (MIT): https://github.com/thinhledev/smooth-ux


    New to Agensi? Create your free account through my referral link to use this skill. Disclosure: I earn a commission on skills you buy in your first 6 months; it costs you nothing extra.

    Code templates are written for React and Next.js; other frameworks get the process and rules but need the primitives adapted. Undo-style delete needs a reversible delete on your server. It doesn't add motion that could cost frames, so it won't add decorative animations.

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

    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

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 11 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Browser

    Shell: runs grep for the audit, plus your typecheck, lint and build. Read files: audits components, routes and styles. Write files: adds the shared primitives and updates screens, only after you answer its questions. Browser: opens your app locally to verify the changes.

    Listed11 days ago

    What's inside

    Frequently Asked Questions

    No. It builds to your existing tokens and CSS approach (modules, Tailwind or plain CSS) and never pastes its own colours. If you prefer, it designs the states first for you to approve.

    Only predictable ones: toggles, pause and resume, rename, delete after confirm, cancel or reschedule. Anything the server decides (create, publish, pay, upload, credits) gets a busy state and the real result.

    The process, decision table and performance rules apply to any front end. The code templates are React and Next.js, so other stacks need them adapted.

    They are designed not to: transform and opacity only, short durations, no layout or background-position animation, reduced motion respected, and no fade on first load so first paint is never delayed.

    Typecheck, lint and production build, then a browser pass: every changed control, forced failures for each optimistic action, throttled navigation, phone width and reduced motion.

    Yes. It is free and open source under the MIT license.

    New in Frontend & Web Apps