.claude/skills/spfx-performance-diagnostics-and-bundle/SKILL.md
High-ROI bundle reduction, profiler-driven diagnostics, and verification for SPFx + Vite environments
npx skillsauth add RMF112018/Project-Controls SPFx Performance Diagnostics & Bundle OptimizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Activation
Any bundle size, ANALYZE, Profiler, or “high-ROI / Top 10” request.
High-ROI Protocol
npm run build:analyze + npm run verify:bundle-size:fail.npm run verify:sprint3.Reference: PERFORMANCE_OPTIMIZATION_GUIDE.md §0–§2 and §5.
tools
Stable singleton pattern for TanStack Router v1 preventing route-tree recreation and UI freezes on AppContext changes in SPFx
databases
Query-key stability, default options, and virtualization threshold enforcement
databases
Branching what-if scenarios and Monte Carlo risk simulation with tornado/S-curve visualization
development
Extreme-scale optimization for 10k+ activity schedules under bundle and React 18 constraints