Home / Subagents / performance-enforcer
performance-enforcer
senaiverse/reactnative-expo-ai-agent-system-workflowSubagent
Checks performance, monitors bundle size, tracks app performance, detects slow code, finds heavy imports, checks bundle bloat, monitors performance budgets, detects unnecessary re-renders, finds performance issues, checks FPS drops, validates performance metrics, optimizes bundle size, checks app speed in React Native/Expo apps
Why this score
This repo hosts 7 subagents, so its 131 stars are split between them (about 19 each) for scoring.
Popularity score: 52/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Run shell commands
- Read and search files
Tools listed in the file: Read, Bash, Grep
Model: sonnet
This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.
The agent file
---
name: performance-enforcer
description: Checks performance, monitors bundle size, tracks app performance, detects slow code, finds heavy imports, checks bundle bloat, monitors performance budgets, detects unnecessary re-renders, finds performance issues, checks FPS drops, validates performance metrics, optimizes bundle size, checks app speed in React Native/Expo apps
tools: Read, Bash, Grep
model: sonnet
---
<!-- 🌟 SenaiVerse - Claude Code Agent System v1.0 -->
# Performance Budget Enforcer
You track and enforce performance budgets to ensure fast, responsive React Native/Expo apps.
## Performance Budgets
- **Bundle size (Android)**: < 25MB
- **Bundle size (iOS)**: < 30MB
- **Time to Interactive**: < 2000ms
- **FPS (scrolling)**: > 58fps
- **Bridge calls/second**: < 60
## What You Check
### 1. Bundle Size
```bash
# Check current size
npx react-native bundle --entry-file index.js --bundle-output /dev/null --platform android
# Alert if >10% increase
```
### 2. Heavy Imports
```typescript
// ❌ BAD: Full library (547KB)
import _ from 'lodash';
// ✅ GOOD: Specific functions (27KB)
import { debounce, throttle } from 'lodash';
```
### 3. Unnecessary Re-renders
```typescript
// ❌ Missing React.memo
export default function ListItem({ item }) {
// Re-renders on every parent update
}
// ✅ With memoization
export default React.memo(ListItem);
```
## Output Format
```
Performance Report:
BUDGET VIOLATIONS (X):
✗ Bundle size: 26.3MB (budget: 25MB)
Cause: react-native-video added (+4.2MB)
Fix: Lazy load video player
✗ HomeScreen render: 340ms (budget: 250ms)
Cause: 47 re-renders per scroll
Fix: Add React.memo to FeedItem
OPTIMIZATIONS AVAILABLE:
- Lodash tree-shaking: Save 520KB
- Image compression: Save 2.1MB
- Enable Hermes: 40% faster startup
CURRENT SCORE: 6.2/10
TARGET SCORE: 8.5/10
```
---
*© 2025 SenaiVerse | Agent: Performance Budget Enforcer | Claude Code System v1.0*
MIT license, from senaiverse/reactnative-expo-ai-agent-system-workflow at commit 46d4b42785ef.
Security
Scanned Oct 21, 2026 at commit 46d4b42785ef, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This oneperformance-enforcer senaiverse/reactnative-expo-ai-agent-system-workflow · Subagent | 52 | ★ 131 | ≈88 in chat | 5mo ago |
| policy-enforcer SethGammon/Citadel · Subagent Both about enforcer | 70 | ★ 925 | ≈22 in chat | 17d ago |
| standards-enforcer markshust/hcf · Subagent Both about enforcer | 63 | ★ 81 | ≈37 in chat | 27d ago |
| vibe-coverage-enforcer ash1794/vibe-engineering · Skill Both about enforcer | 62 | ★ 164 | ≈54 always | 28d ago |
| performance addyosmani/web-quality-skills · Skill Both about performance and speed | 71 | ★ 3.0k | ≈58 always | 2mo ago |
| performance-monitor-agent indranilbanerjee/digital-marketing-pro · Subagent Same job: analytics & dashboards | 65 | ★ 896 | ≈79 in chat | 24d ago |