/flagrare:interaction-polishfrom Flagrare
Polishes UI interactions and animations with tasteful, responsive feedback. Applies CSS-first micro-interactions, springs, and transitions to buttons, modals, toasts, drawers, toggles, menus, and page transitions, respecting prefers-reduced-motion and compositor-only performance.
Ships in Flagrare. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The goal is not "add animations." It is to make an interaction feel considered, responsive, alive, and effortless, the way Emil Kowalski's (sonner, vaul) and Josh Comeau's work feels. Often that means adding one small, well-tuned piece of feedback. Sometimes it means removing animation that's getting in the way. This skill is the taste to tell the difference, plus the concrete technique to execute it well.
"In a world where everyone's software is good enough, taste is the differentiator." (Emil Kowalski)
Game designers have a word for this: juice. The same action can feel dead or alive purely from the feedback layered on top, without changing what the action does or slowing the user down. A button that instantly swaps state feels dead; the same button with a 120ms scale-and-spring-back feels alive. In the anatomy of a micro-interaction (Trigger → Rules → Feedback → Loops), juice lives in the feedback layer.
So the operating principle is: add the smallest feedback that confirms the action, and add flourish only at genuine moments (a success, a completion, a first-time delight). Decoration that doesn't answer "did my action register / what changed / where did it go?" is noise.
The fastest way to make UX worse is to over-animate. Internalize these before touching anything. Most are about restraint, and they're what separate this skill from cargo-cult "add a fade everywhere":
prefers-reduced-motion path
and compositor-only properties by default, not as an afterthought. See
references/accessibility-performance.md./flagrare:ui-reviewWhen the arguments start with called by /flagrare:ui-review, diagnose only, the caller owns the browser session, the report and the fixes. Run steps 1 and 2 of the workflow (read each interaction and its frequency, decide what should and shouldn't animate) for every interaction in the inventory the arguments pass, with three changes:
Read the interaction and its frequency. What is it (button, toggle, modal, drawer,
toast, tabs, list, reveal, page transition)? How often will a real user hit it? What does it
do now? an instant snap? a transition: all? a slow sluggish fade? The frequency decides how
much (or whether) to animate; the current state tells you the highest-leverage fix.
Decide what should animate, and what shouldn't. Sometimes the best change is to remove a gratuitous animation or a layout-thrashing one. Pick the 1-3 changes that will move the feel the most rather than touching everything.
Apply, CSS-first, in the project's idiom. Default to CSS transitions/animations; they run off the main thread and stay smooth under load. Reach for a spring / JS motion library only when the motion is dynamic, interruptible, or gesture-driven (drag, momentum, physical "alive" elements). Match whatever the codebase already uses (vanilla CSS, Tailwind, Framer Motion / Motion, Vue/Svelte transitions); don't introduce a new dependency unless the interaction genuinely needs it.
Make it correct by default. Animate only transform and opacity. Name exact
properties (never transition: all). Add the prefers-reduced-motion variant (keep fades,
drop movement). Gate hover effects behind (hover: hover).
Apply the change AND explain the why. Edit the code, then briefly walk through each change and the principle it serves, so the user gains the taste, not just a diff. Keep explanations tight (a line each). If you removed something, say why that's the improvement.
references/)Easing. ease-out for things entering/exiting (fast start = feels responsive); never
ease-in on UI (it delays the moment the user is watching); ease-in-out for things moving
across the screen; plain ease is fine for hover color changes; linear only for constant
motion (spinners, marquees), never for spatial movement. Built-in curves are weak; prefer a
strong custom one like cubic-bezier(0.23, 1, 0.32, 1). Easing is the single highest-leverage
variable. Full curves, durations, and spring configs are in
references/easing-springs-timing.md.
Duration. Keep UI under 300ms. Button press 100-160ms · tooltip 125-200ms · dropdown 150-250ms · modal/drawer 200-500ms. Make it asymmetric: respond fast to the user, return to rest a touch slower; generally exits faster than enters.
The press. Every pressable element should acknowledge touch: :active { transform: scale(0.97) } with a ~150ms ease-out transition. It's the cheapest possible "the UI is
listening." Subtle range 0.95-0.98.
Springs vs. transitions. Springs shine for drag/momentum and "alive" elements because they keep velocity when interrupted: a CSS keyframe restarts from zero, whereas a spring reverses smoothly mid-gesture. Use CSS transitions (not keyframes) for anything retriggered rapidly (toasts, toggles) so it retargets instead of restarting.
Don't scale from zero. Enter from scale(0.95) + opacity: 0, not scale(0). Real
things don't blink in and out of existence.
Restraint flourishes. The boop (a momentary, self-resetting hover wiggle), particle
bursts, confetti, hit-flashes are powerful precisely because they're rare. Recipes in
references/patterns.md.
Build the interaction from scratch applying everything above. Choose the project's stack if one exists; otherwise default to CSS + a minimal motion approach. Produce real, runnable code, not pseudocode, and still explain the choices.
Read the relevant one when you need depth; don't load all of them for a small tweak.
references/easing-springs-timing.md, the easing decision tree, concrete cubic-beziers,
the duration table, spring configs (Apple-style & physics), and CSS linear() overshoot for
native springs.references/patterns.md, per-component recipes: button, toggle, like/favorite, modal,
drawer/sheet, toast, tabs, accordion, hover/focus, drag-reorder, loading (optimistic /
skeleton), scroll reveal, page transition. Includes the sonner/vaul drag mechanics and Josh's
"boop" and "friendly shadow" techniques.references/accessibility-performance.md, prefers-reduced-motion (what to keep vs.
drop), compositor-only properties, will-change as a scalpel, and the full anti-pattern list.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flagrare/agent-skills --plugin flagrare43 skills in this plugin
/atdd-planProduce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they earn their keep. The skill enters plan mode automatically (via the EnterPlanMode tool), runs /flagrare:codebase-explore to ground the plan in the actual codebase, then produces a plan-mode plan that MUST include both: (1) 3-5 acceptance tests in plain English defining 'done' before any implementation, written behavior-first against the public API only; and (2) any non-trivial structural decisions named as design patterns with a one-line rationale. Plan mode's native approve/edit/reject button UI is the close, ExitPlanMode is how the skill ends. Use whenever the user wants to plan a feature, fix, or refactor, 'how should we implement X', 'plan this', 'let's design X', 'where do we start on Y'. Tests follow Kent Dodds Testing Trophy: behavior over implementation, integration-heavy, public-API-only, refactor-proof. The skill stops at the plan; it does not write implementation code./brag-docGenerate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom). Pulls authored PRs, reviews given, commits, deploys, and linked tickets across GitHub, local git, and configured MCPs, then synthesises a themed narrative, leading with outcomes, quantifying impact, owning the work in first-person past tense, separating IC contributions from amplification, and naming the judgment exercised. Output is designed to drop straight into a developer journal, a personal bragging sheet, or a performance-review packet. Accepts a mode argument, `/flagrare:brag-doc resumancer` renders the output as ready-to-paste Resumancer CLI commands (`resumancer impact "..." --branch ...`) instead of markdown. Use whenever the user says "brag doc", "brag sheet", "what did I do this week", "weekly recap", "monthly recap", "performance review prep", "what should I tell my manager", "summarise my impact", "career log entry", "give me my wins", "biweekly recap", or any variant about looking back over a longer window than a single day's standup. Also trigger near review season ("self-review", "perf packet", "evaluation prep"), and on phrases like "log my wins to resumancer" or "make resumancer entries for this week" (which should pass the `resumancer` mode). For windows longer than about a month, a tenure retrospective, a departure record, or "everything I did at this company", hand off to `/flagrare:impact-timeline` instead; this skill's window tops out at a month./bug-bashProgrammatic bug bashing, ingest a prescribed test plan (Notion, markdown, pasted spec), drive a real running system (browser via Chrome DevTools / Playwright MCP, backend via API tools when relevant), run every prescribed case with evidence, then do exploratory passes (viewports, edge inputs, multi-actor flows, codebase-driven concerns, additional context like meeting transcripts, emails and links checked in the real inbox with a control case, other languages, failures and races) without ever claiming a bug it didn't itself reproduce. Fills free-text fields with tagged, playful test data that also probes something (unicode, HTML, template syntax, length). Lands results in a local MD file by default, optionally writes back to the source (Notion bug DB, test case Eng QA columns, etc.) in the user's voice. Use whenever the user says 'bug bash', 'QA this feature', 'run the test cases', 'go through this test plan', 'verify these scenarios', 'do a bash on X', when they hand over a Notion test case page, or any time programmatic end-to-end verification of a feature against a checklist is needed. Also use it when a smoke test passed but the user wants more cases tested, or asks 'what else should we test' and then 'test it yourself'. Make sure to use this skill even when the user just says 'test this Notion page' or 'check these scenarios', anything that smells like running someone else's prescribed test plan against a live system./careerRun the career skills that are due, in one pass, and return one short combined digest plus an updated board. It reads timestamps and flags to decide: the promotion map's first run when there is none (after asking), a refresh of map sections that are older than 90 days or flagged by a scan, an opportunity scan when the last one is a month old, and an impact scan every time. The digest leads with the initiative the user owns and its next step, then up to 5 threads worth weighing in on, one line on the promotion map (open rubric rows, people who haven't seen the work, when to talk to the manager, the packet deadline), anything that needs the user, and an "all answering, nothing owned" warning when the user keeps replying but owns nothing. A scheduled run (from /loop or a schedule) never asks questions and never posts; it lists what needs the user as pending. Use when the user says "career", "career check", "career digest", "run my career skills", "what should I do for my promotion this week", "daily career scan", or sets up a recurring career run. Also trigger for a scheduled career run./codebase-exploreExplore the codebase to map conventions, reusable utilities, analogous features, and data flows relevant to a planned change. Returns raw findings (file paths, patterns, code snippets), does NOT produce a plan. Used by /flagrare:atdd-plan as its codebase understanding step./communication-setupSet up, change or remove how Claude talks to you: a custom output style with your reply rules, a reminder of those rules on every message, and a Stop hook that quietly nudges Claude when a reply runs a little long and blocks one that runs far past your limit. Use when the user says Claude's replies are too long, exhausting, hard to skim, full of process narration or caveats, 'you make me work for the information', 'talk to me shorter', 'communication setup', 'set up how you talk to me'; when the length check or reply-length hook blocked a reply it shouldn't have, or the user wants a different limit or style; or asks to remove or undo it ('remove communication setup', 'go back to normal replies').Other plugins' skills for the same job