Performance
Systematic performance fixes for Flows apps, from measuring baselines through re-render, query, and pagination changes.
- CCM score
- 58 of 100
- skills.sh installs
- 1.9K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full loop: baseline Lighthouse and React Profiler capture, targeted fixes for re-renders, DMS queries, and CDF fetching, then before-and-after measurement
- Includes grep sweeps for inline object and handler creation, DMS
instances.listcalls, client-side.filter()chains, and unbounded pagination loops - Enforces a hard gate against mapping LLM completions over DMS query rows, with a cap of 5 per run and a ceiling of 50
- Designed for Flows app developers fixing slow renders, heavy queries, or LLM cost in a React and CDF codebase
Install
$ npx -y skills add cognitedata/builder-skills --skill performance -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Performance Fix
Systematically find and fix performance issues in $ARGUMENTS (or the whole app if no argument is given). Always measure first — never optimize blindly.
Step 1 — Measure baseline before touching anything
Run the production build and capture metrics before making any changes:
pnpm run build
pnpm run preview
Open the app in Chrome and capture:
- Lighthouse score (Performance tab → Run audit)
- React Profiler (React DevTools → Profiler → Record an interaction)
- Note the components with the longest render times and highest render counts
Record baseline numbers. Every fix must be measured against these.
Step 2 — Find and fix unnecessary re-renders
Read the component tree (start from src/App.tsx) and search for these patterns:
grep -rn --include="*.tsx" \
-E "value=\{\{|onClick=\{\(\)" src/
For each instance found, apply the fix directly:
Inline object/array creation in JSX → wrap with useMemo:
// BAD — new object on every render causes children to re-render
<Chart options={{ color: "red" }} />
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Frontend & UI Code, Debugging
- First seen
- Jun 3, 2026
Questions
What does the performance skill do for a Flows app?
The performance skill finds and fixes speed problems in a Flows app, including re-renders, inefficient queries, missing pagination, unbounded fetches, large bundles and memory leaks. It measures the production build before and after each change so the gains are verified. Its trigger words include slow, laggy, optimize, bundle size and virtualize.
Which category is the performance skill in, and what leads it?
The performance skill sits in the Frontend & UI Code category on Claude Marketplaces. Vercel React best practices, web design guidelines, design taste frontend, Vercel composition patterns and Lark apps are the other top skills in that category. This skill is the one that targets Flows app speed, render counts and CDF query patterns.
How do I install the performance skill?
Run npx -y skills add cognitedata/builder-skills --skill performance -y in your project. Once it is installed, the agent can read your components, rewrite DMS queries and add memoization where the profiler shows it is needed. The skill also instructs it to run a production build first to capture baseline metrics.
More from cognitedata/builder-skills
All 25- Create Client Tool1.9K
- Pull Changes Resolve Conflicts1.9K
- Use Topbar1.9K
- Migrate App To Flows1.7K
- Integrate Fusion Agent1.7K
- Flows Code Review1.6K
- Flows Design Review1.1K
- Flows App Brief1.1K
- Flows External App Submit1.1K
- Skill Creator2.5K
- Code Quality2K
- Test Coverage1.9K
- Dependencies Audit1.9K
- Reveal 3d1.9K
- Design1.9K
- Integrate Todo List1.9K
- Correctness And Error Handling1.9K
- Dm Limits And Best Practices1.9K
- Integrate Atlas Chat1.9K
- Security1.9K
- Integrate File Viewer1.9K
- Setup Python Tools1.9K
- Graph Viewer1.9K
- Setup Flows Auth1.9K
Similar to Performance
More Frontend & UI Codeoptimizing-performancecloudai-x/claude-workflow-v2212 installsStructured workflow for diagnosing and fixing slowness across frontend, backend, and database layers, requiring measurements before and after each change.
application-performance-performance-optimizationsickn33/agentic-awesome-skills426 installsCoordinates end-to-end application performance work across profiling, backend, frontend, and load testing with phased optimizations.
web-perfcloudflare/skills142.9K installsAudit page load speed by measuring Core Web Vitals, render-blocking resources, network chains, and layout shifts.
web-performance-optimizationdavila7/claude-code-templates523 installsComprehensive web performance workflow covering Core Web Vitals, bundle size, image optimization, and caching strategies.