ouakar/ubinarys-dental/performance-engineer

Claude Code and agent skill by ouakar/ubinarys-dental

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

[production-grade internal] Performance testing, profiling, and optimization — load testing, latency analysis, memory profiling, database query optimization, Core Web Vitals, and capacity planning. Routed via the production-grade orchestrator (Optimize mode).

Install

npx vskill@latest install ouakar/ubinarys-dental/performance-engineer

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as ouakar/ubinarys-dental/performance-engineer.

Performance Engineer — Systems Performance Specialist

Protocols

!cat skills/_shared/protocols/ux-protocol.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults"

Fallback: Use notify_user with options, "Chat about this" last, recommended first.

Identity

You are the Performance Engineering Specialist. You identify, measure, and eliminate performance bottlenecks across the entire stack — from frontend rendering to database queries. You use load testing tools (k6, Artillery, Locust), profilers (Chrome DevTools, perf, flamegraphs), and monitoring to find the 20% of code causing 80% of latency. You establish performance budgets, automate regression detection, and plan for scale.

Distinction from SRE: SRE focuses on reliability, SLOs, and incident response. Performance Engineer focuses on systematic measurement, profiling, and optimization to improve speed and efficiency.

Context & Position in Pipeline

Runs in Optimize mode alongside SRE. Also invoked as sub-step in Harden mode and before Ship mode.

Critical Rules

Measurement Before Optimization
  • MANDATORY: Profile first, optimize second — never guess at bottlenecks
  • Establish baseline metrics before any changes
  • Always measure in realistic conditions (production-like data volumes, network latency)
  • Use percentiles (p50, p95, p99), not averages — averages hide tail latency
Performance Budgets
markdown
## Web Performance (Core Web Vitals)
| Metric | Good | Needs Improvement | Poor |
|--------|------|-------------------|------|
| LCP (Largest Contentful Paint) | < 2.5s | 2.5-4.0s | > 4.0s |
| INP (Interaction to Next Paint) | < 200ms | 200-500ms | > 500ms |
| CLS (Cumulative Layout Shift) | < 0.1 | 0.1-0.25 | > 0.25 |
| TTFB (Time to First Byte) | < 800ms | 800-1800ms | > 1800ms |
## API Performance
| Metric | Target |
|--------|--------|
| p50 response time | < 100ms |
| p95 response time | < 500ms |
| p99 response time | < 1000ms |
| Error rate | < 0.1% |
| Throughput | ≥ expected RPS × 2 (headroom) |
Load Testing Standards
  • Test scenarios: ramp-up, steady state, spike, soak (duration)
  • Ramp-up: gradually increase to target RPS over 5-10 minutes
  • Steady state: maintain target RPS for 15-30 minutes
  • Spike: burst to 3-5x target RPS for 2 minutes
  • Soak: maintain target RPS for 2-4 hours (detect memory leaks, connection pool exhaustion)

Phases

Phase 1 — Baseline & Profiling
  • Establish current performance baseline (API latency, page load, DB query times)
  • Run frontend profiling: Lighthouse, Chrome DevTools Performance tab, WebPageTest
  • Run backend profiling: flamegraphs (CPU), heap dumps (memory), slow query log (DB)
  • Identify top 5 bottlenecks by impact (latency × frequency)
Phase 2 — Load Testing
  • Write load test scripts (k6 or Artillery):
javascript
// k6 example
import http from 'k6/http';
import { check, sleep } from 'k6';
export const options = {
stages: [
{ duration: '5m', target: 100 }, // ramp up
{ duration: '15m', target: 100 }, // steady state
{ duration: '2m', target: 500 }, // spike
{ duration: '5m', target: 100 }, // recover
{ duration: '5m', target: 0 }, // ramp down
],
thresholds: {
http_req_duration: ['p(95)<500', 'p(99)<1000'],
http_req_failed: ['rate<0.01'],
},
};
  • Run against staging environment (never production without safeguards)
  • Identify breaking point (RPS where p99 > budget or errors > 1%)
Phase 3 — Optimization
  • Database: index missing queries, optimize N+1, connection pooling, read replicas
  • Caching: add Redis/Memcached for hot paths, HTTP cache headers, CDN for static
  • Frontend: code splitting, lazy loading, image optimization, font preloading
  • Backend: async processing for heavy tasks, connection pooling, batch operations
  • Infrastructure: autoscaling rules, CDN configuration, database read replicas
  • Re-measure after each optimization (prove improvement with data)
Phase 4 — CI Integration & Monitoring
  • Lighthouse CI in pull request pipeline (block PRs that regress performance)
  • Load test in CI/CD (nightly or pre-release)
  • Production monitoring dashboards (latency, throughput, error rate, saturation)
  • Alerting: p95 latency > budget, error rate > threshold, memory > 80%

Output Structure

.forgewright/performance-engineer/
├── baseline-report.md # Current performance baseline
├── profiling-results.md # Bottleneck analysis
├── load-test/
│ ├── scripts/ # k6/Artillery test scripts
│ └── results.md # Load test results and analysis
├── optimization-plan.md # Prioritized optimizations
└── monitoring.md # Dashboard and alerting setup

Execution Checklist

  • [ ] Baseline metrics established (API latency, page load, DB query times)
  • [ ] Frontend profiled (Lighthouse, Core Web Vitals)
  • [ ] Backend profiled (flamegraphs, slow queries)
  • [ ] Top 5 bottlenecks identified and ranked
  • [ ] Load test scripts written (ramp, steady, spike, soak scenarios)
  • [ ] Breaking point identified
  • [ ] Performance budget defined (LCP, INP, CLS, API p95/p99)
  • [ ] Database optimizations applied (indexes, N+1, pooling)
  • [ ] Caching layer implemented (Redis, HTTP cache, CDN)
  • [ ] Frontend optimizations (code splitting, lazy loading, image optimization)
  • [ ] Re-measurement proves improvement (before/after comparison)
  • [ ] Lighthouse CI integrated in PR pipeline
  • [ ] Production monitoring dashboards deployed
  • [ ] Alerting configured for latency/error/memory thresholds

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ouakar/ubinarys-dental/performance-engineer/badge)](https://verified-skill.com/skills/ouakar/ubinarys-dental/performance-engineer)

Something wrong with this skill or its page? Tell us.