eng-performance
Performance and Efficiency Awareness
Intent
- Treat budgets (frame time, network round-trips, server CPU, on-chain gas) as first-class requirements.
- Prevent regressions by profiling early, not after user complaints.
Inputs
- Existing SLAs/budgets per platform (FPS, TTI, API latency, contract gas caps).
- Representative workloads, datasets, replays, or load scripts.
- Tooling: profilers, flamegraphs, shader analyzers, gas estimators, Lighthouse, etc.
Workflow
- Establish baseline
- Capture metrics for the current implementation under realistic load/device tiers.
- Design with budgets
- Choose data structures, rendering strategies, and contract patterns aligned with constraints.
- Consider caching, pagination, batching, and compression aggressively.
- Measure iteratively
- After each significant change, run targeted benchmarks or simulations.
- Track results in the PR/issue; highlight deltas and why they are acceptable.
- Optimize where it matters
- Focus on user-facing bottlenecks; avoid premature micro-optimizations.
- For web3, minimize storage writes and external calls; for mobile, monitor battery/thermal impact.
Verification
- Benchmarks or profiling output attached, showing no regression (or justified improvements).
- Budgets documented; alarms/alerts configured if applicable.
- For regressions that cannot be fixed immediately, open a follow-up issue with owner, impact, and mitigation.
More from tjboudreaux/cc-plugin-engineering-excellence
eng-tdd
Enforces disciplined RED-GREEN-REFACTOR cycle—write failing test first, watch it fail, write minimal code to pass, then refactor.
2eng-verification
Mandatory checklist before claiming work is complete—run the evidence-producing command, inspect output, and only then state a result.
2eng-user-impact
Anchor every engineering decision in user value, measurable outcomes, accessibility, and cross-platform experience coherence.
2meta-superpowers
Startup protocol for every task—discover applicable skills, run them, announce usage, and follow required workflows (brainstorming, TodoWrite checklists, etc.).
2eng-observability
Design every change with traceability, diagnostics, and fast incident triage in mind across mobile, web, and web3 stacks.
2eng-quality-handoff
Deliver changes with clear communication, reviewer-ready context, and follow-up accountability.
2