afrexai-performance-engineering
Complete performance engineering system — profiling, optimization, load testing, capacity planning, and performance culture.
Skill by xdelin
Chalk Labs
Need help deploying afrexai-performance-engineering?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xdelin-afrexai-performance-engineering
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, testing, devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
afrexai-performance-engineering- Description
- Complete performance engineering system — profiling, optimization, load testing, capacity planning, and performance culture. Use when diagnosing slow applications, optimizing code/queries/infrastructure, load testing before launch, planning capacity, or building performance into CI/CD. Covers Node.js, Python, Go, Java, databases, APIs, and frontend.
- License
- MIT
- Instructions
- 928 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 928 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Performance Engineering System > From "it's slow" to "here's why and here's the fix" — a complete methodology for measuring, diagnosing, optimizing, and preventing performance problems. ## Phase 1: Performance Investigation Brief Before touching anything, define the problem. ```yaml # performance-brief.yaml investigation: reported_by: "" reported_date: "" system: "" # service/app name environment: "" # production, staging, dev problem_statement: symptom: "" # "API response time increased 3x" impact: "" # "15% of users seeing timeouts" since_when: "" # "After deploy v2.14 on Feb 20" affected_scope: "" # "All endpoints" | "Only /search" | "Users in EU" baselines: target_p50: "" # e.g., "200ms" target_p95: "" # e.g., "500ms" target_p99: "" # e.g., "1000ms" current_p50: "" current_p95: "" current_p99: "" throughput_target: "" # e.g., "1000 rps" error_rate_target: "" # e.g., "<0.1%" constraints: budget: "" # time/money for optimization risk_tolerance: "" # "Can we change the schema?" "Can we add caching?" deadline: "" # "Must fix before Black Friday" hypothesis: primary: "" # "N+1 queries in the new recommendation engine" secondary: "" # "Connection pool exhaustion under load" evidence: "" # "Slow query log shows 200+ queries per request" ``` ### Performance Budget Framework Set budgets BEFORE building, not after complaints: | Metric | Web App | API | Mobile | Batch Job | |--------|---------|-----|--------|-----------| | P50 response | <200ms | <100ms | <300ms | N/A | | P95 response | <500ms | <250ms | <800ms | N/A | | P99 response | <1s | <500ms | <1.5s | N/A | | Error rate | <0.1% | <0.01% | <0.5% | <0.001% | | Time to Interactive | <3s | N/A | <2s | N/A | | Memory per request | <50MB | <20MB | <100MB | <1GB | | CPU per request | <100ms | <50ms | <200ms | N/A | | Throughput | 100+ rps | 500+ rps | N/A | items/min | ## Phase 2: Measurement & Profiling ### The Golden Rule **Never optimize without measuring first. Never measure without a hypothesis.** ### Profiling Decision Tree ``` Is it slow? ├── YES → Where is time spent? │ ├── CPU-bound → Profile CPU (flame graph) │ │ ├── Hot function found → Optimize algorithm/data structure │ │ └── Spread evenly → Architecture problem (too many layers) │ ├── I/O-bound → Profile I/O │ │ ├── Database → Query analysis (Phase 4) │ │ ├── Network → Connection profiling │ │ ├── Disk → I/O scheduler + buffering │ │ └── External API → Caching + async + circuit breaker │ ├── Memory-bound → Profile allocations │ │ ├── GC pressure → Reduce allocations, pool objects │ │ ├── Memory leak → Heap snapshot comparison │ │ └── Cache thrashing → Resize or eviction policy │ └── Concurrency-bound → Profile locks/contention │ ├── Lock contention → Reduce critical section, lock-free structures │ ├── Thread starvation → Pool sizing │ └── Deadlock → Lock ordering analysis └── NO → Define "fast enough" (see budgets above) ``` ### CPU Profiling by Language #### Node.js ```bash # Built-in profiler (V8) node --prof app.js node --prof-process isolate-*.log > profile.txt # Inspector-based (connect Chrome DevTools) node --inspect app.js # Open chrome://inspect → Profiler → Start # Clinic.js (best overall Node.js profiler) npx clinic doctor -- node app.js npx clinic flame -- node app.js # Flame graph npx clinic bubbleprof -- node app.js # Async bottlenecks # 0x (flame graphs) npx 0x app.js ``` #### Python ```python # cProfile (built-in) import cProfile import pstats profiler = cProfile.Profile() profiler.enable() # ... code to profile ... profiler.disable()
From xdelin/OpenClaw-Education-Skills, MIT.
More from xdelin/OpenClaw-Education-Skills
- 0.443score
afrexai-email-to-calendar
xdelin
Extract calendar events, deadlines, action items, and follow-ups from emails.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
afrexai-code-reviewer
xdelin
Enterprise-grade code review agent.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
acg-rust-teacher
xdelin
ACG 视角 Rust 所有权系统教学工具,通过动漫类比(ReZero、Fate 等)讲解 Rust 核心概念,降低学习门槛。
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
github-intel
xdelin
Analyze any GitHub repository in AI-friendly format.
SkillDFreshness: D★ 2Claude Code +9 - 0.422score
Photography Mastery
xdelin
Complete photography system — exposure, composition, lighting, genre-specific workflows, editing, gear selection, portfolio building, and client management.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
afrexai-medical-billing
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
afrexai-data-governance
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
active-learner
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-ml-engineering
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-git-engineering
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-database-engineer
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-data-privacy
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 14, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from xdelin
- 0.443score
afrexai-email-to-calendar
xdelin
Extract calendar events, deadlines, action items, and follow-ups from emails.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
afrexai-code-reviewer
xdelin
Enterprise-grade code review agent.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
acg-rust-teacher
xdelin
ACG 视角 Rust 所有权系统教学工具,通过动漫类比(ReZero、Fate 等)讲解 Rust 核心概念,降低学习门槛。
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
github-intel
xdelin
Analyze any GitHub repository in AI-friendly format.
SkillDFreshness: D★ 2Claude Code +9 - 0.422score
Photography Mastery
xdelin
Complete photography system — exposure, composition, lighting, genre-specific workflows, editing, gear selection, portfolio building, and client management.
SkillDFreshness: D★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get afrexai-performance-engineering running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
afrexai-performance-engineering skill. Agent Mart. https://agentmart.dev/skills/xdelin-afrexai-performance-engineering (last updated 2026-10-24)