reactive/data-client / .agents/skills/data-client-performance
data-client-performance
VerifiedFind and make the speedups a React app on @data-client/react may be missing - detail pages from list data, one Entity per server object, lists updated in place, reads that skip fresh data, loaders that don't wait for secondary data, prefetching, expiry, optimistic updates, Query memoization, parallel reads, transitions, stable references and React Compiler. Use for the optional performance pass after a migration, or when asked to make data loading, navigation or mutations faster.
Performance pass
Read references/performance-pass.md; its sections are the checks.
- Measure the flows the app's users run most, as its "Measure first" section says.
- Audit. For every check, search the code and list each finding with its file and line, the change, and what users will see. Report a check with no findings as clean.
- Built-in wins take little code: check each is in place and make any that are missing.
- Changes with tradeoffs: show the list, then make the ones the user wants. A request for a performance pass with no narrower scope covers all of them; the user opts out of any by name. Make one change at a time and run the tests after each; when a test asserts the old behavior the check names (a page-wide spinner, an update that waits for the server), update it and say so. Changes to dependencies or build config, such as React Compiler or a React upgrade, are always offered, never made unasked; see the "React 19 and React Compiler" section.
- Report as the guide's "Report" section says.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |