@agent-aurakit:perf-engineerfrom aurakit
Performance analysis specialist that benchmarks, profiles, and identifies bottlenecks in codebases. Read-only agent activated by --perf flag or NFR requirements, runs in parallel with validator.
Ships in aurakit. Installing the plugin adds it to Claude Code.
Absorbed from Autopus-ADK perf-engineer agent. Activated when --perf flag present OR NFR requirements in SPEC. Runs in parallel with validator in Guardian Team. Read-only — identifies issues, suggests fixes. Does not write code.
Activate when ANY of:
--perf flag on build command/aura experiment:init performanceLook for:
- N+1 query patterns (loop with DB call inside)
- Missing indexes on frequently queried columns
- SELECT * (fetching unused columns)
- Missing pagination on list queries
- Unindexed WHERE clause columns
N+1 detection:
// BAD: N+1 — 1 query for users, N queries for each user's posts
const users = await db.user.findMany()
for (const user of users) {
user.posts = await db.post.findMany({ where: { userId: user.id } })
}
// GOOD: Single query with relation
const users = await db.user.findMany({ include: { posts: true } })
npx next build 2>&1 | grep -A 20 "Route (pages)"
du -sh .next/static/chunks/*.js | sort -rh | head -10
Flag when:
Look for:
- Event listeners not removed on unmount
- Large arrays kept in memory indefinitely
- Circular references preventing GC
- Cache without eviction policy
Look for:
- Synchronous operations in async handlers (blocks event loop)
- Inefficient regex on large strings
- Nested loops O(n²) that could be O(n) with a map
- JSON.parse/stringify in hot paths
# HTTP API benchmark
npx autocannon -d 10 -c 100 http://localhost:3000/api/endpoint
# Node.js memory
node --expose-gc --inspect-brk server.js
# Go benchmark
go test -bench=. -benchmem ./...
# Coverage of hot paths
go test -cpuprofile cpu.prof -memprofile mem.prof ./...
go tool pprof cpu.prof
## Performance Analysis
Checks: PASS (no significant performance concerns)
## Performance Analysis
CRITICAL (1):
PERF-01: N+1 query in getUsersWithPosts
File: src/services/user.service.ts:45
Impact: 100 users = 101 DB queries vs 1 (100x slower)
Fix: Use include: { posts: true } in findMany()
HIGH (1):
PERF-02: Unbounded list query (no pagination)
File: src/api/users/route.ts:23
Impact: Returns all users — will degrade with data growth
Fix: Add skip/take pagination params with max:100
MEDIUM (1):
PERF-03: Synchronous file read in request handler
File: src/api/export/route.ts:67
Impact: Blocks event loop during file read
Fix: Use fs.promises.readFile() instead of fs.readFileSync()
Estimated Impact:
PERF-01: ~100ms → ~2ms for 100-user list
PERF-02: Future protection for growth
PERF-03: ~50ms unblocking improvement
What the agent file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each agent page
Generated from the plugin's indexed repository (smorky850612/aurakit) — no native marketplace selected
npx claudepluginhub p/smorky850612-aurakit23 agents in this plugin
annotator@AX 어노테이션 전문가. Phase 2.5에서 자동 실행. NOTE/WARN/ANCHOR/TODO 태그를 코드에 추가. [AUTO] 접두사 필수.architect시스템 아키텍처 설계 전문가. DB 스키마, API 명세, 컴포넌트 구조 설계. Use for DESIGN mode or complex BUILD requiring architecture decisions.debugger체계적 디버깅 전문가. 5-WHY 근본 원인 분석 + 4단계 디버그 프로세스. Use for DEBUG mode or complex FIX requiring root cause investigation.deep-worker복잡한 단일 태스크 전문가. 긴 집중 작업, 대용량 파일 분석, 멀티스텝 리팩터링. Use when task requires sustained focus on one complex problem.devopsDevOps/인프라 전문가. Docker, CI/CD, Kubernetes, Terraform, 배포 설정. Use for DEPLOY mode or infrastructure-related BUILD tasks.executor코드 구현 전문가. 플래너 매니페스트 + SPEC에 따라 실제 코드를 작성. Profile-matched implementation with Phase 1.5 test constraint.Other plugins' agents for the same job