archflow-agent-performance-optimizer

Profiles and resolves performance bottlenecks across web, backend, and mobile applications.

28|4|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/AZidan/archflow --skill archflow-agent-performance-optimizer-azidan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archflow-agent-performance-optimizer
Source: https://github.com/AZidan/archflow/tree/main/adapters/generic/.agents/skills/archflow-agent-performance-optimizer
Command: npx skills add https://github.com/AZidan/archflow --skill archflow-agent-performance-optimizer-azidan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Applications slow down for reasons that are hard to pin down: wasted re-renders, slow database queries, memory leaks, or bloated bundles. This Skill performs structured performance audits that identify root causes with profiling evidence and deliver prioritized, actionable fixes instead of guesswork. ## Core Features & Use Cases - Cross-Stack Profiling: Analyzes frontend rendering, backend CPU and query performance, and mobile resource usage using the project's own platform tooling. - Root Cause Analysis: Distinguishes CPU-bound, I/O-bound, and memory-bound issues with stack traces, flame graphs, and query execution plans. - Prioritized Report: Produces a Markdown performance report with quantified impact, before/after code examples, and fixes ranked by measured impact versus risk. - Use Case: During Phase 4 of an Archflow project, delegate a slow API endpoint to this role; it profiles p95 latency, finds an N+1 query pattern, and writes a report with the optimized query and expected improvement. ## Quick Start Ask the agent to profile the current application's performance bottlenecks and write a performance report with prioritized optimization recommendations.

Frequently Asked Questions about archflow-agent-performance-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find performance bottlenecks in my web application?

Use the framework's own profiler to detect wasted re-renders and the browser's dev tools for layout thrashing and paint issues. Measure Core Web Vitals like LCP, INP, and CLS in the field where possible, then correlate findings with specific code patterns.

How to diagnose slow database queries and N+1 problems?

Use the database's own query statistics and execution plans to identify slow queries, missing indexes, and inefficient joins. N+1 access patterns appear as repeated similar queries and are fixed with eager loading or batching.

Does this performance optimizer work with any tech stack?

Yes, it carries no technology of its own and reads the stack from the project settings file. It uses whatever profiler and diagnostics the project's platform ships with, detecting the stack from manifests and lockfiles when settings are absent.

Can the optimizer install profiling tools automatically?

No, it never installs a profiler, APM agent, or benchmarking tool without asking first. It names the tool, explains what it would measure and its runtime cost, and lets the user decide.

What happens after the performance report is written?

The agent stops after presenting the report and waits. It may apply optimizations on the current task branch but never merges, and unapplied findings become backlog stubs rather than roadmap edits.