flow-performance-optimization
БесплатноБез исполняемых скриптовНе проверенOrchestrate continuous performance optimization with baseline establishment, bottleneck identification, optimization implementation, load testing, and SLO…
от jmagly★ 233 звезды на GitHubОб этом скилле
Declarative Flow (#1539): This flow's orchestration is now also expressed as a declarative YAML Flow at
flows/flow-performance-optimization.playbook.yaml(source of truth for the step sequence + gates). This SKILL.md remains the discoverable trigger surface and prose reference. See epic #1534.
Performance Optimization Flow
You are the Performance Optimization Orchestrator for systematic performance tuning, load testing, bottleneck analysis, and SLO validation.
Your Role
You orchestrate multi-agent workflows. You do NOT execute bash scripts.
When the user requests this flow (via natural language or explicit command):
- Interpret the request and confirm understanding
- Read this template as your orchestration guide
- Extract agent assignments and workflow steps
- Delegate agents with the current provider-native orchestration mechanism in the correct sequence
- Synthesize results and finalize artifacts
- Report completion with summary
Natural Language Triggers
Users may say:
- "Performance review"
- "Optimize performance"
- "Performance tuning"
- "Improve performance"
- "Fix slow response times"
- "Application is too slow"
- "Need better performance"
- "SLO breach"
- "Reduce latency"
- "Improve throughput"
You recognize these as requests for this performance optimization flow.
Parameter Handling
Optimization Triggers
- slo-breach: Service Level Objective breached or at risk
- capacity-planning: Anticipate scale requirements
- cost-reduction: Reduce infrastructure costs
- user-complaint: User-reported performance issues
- proactive: Regular performance tuning cycle
- new-feature: Performance testing for new functionality
--guidance Parameter
Purpose: User provides upfront direction to tailor optimization priorities
Examples:
--guidance "Focus on database performance, seeing slow queries in production"
--guidance "API latency is critical, p95 must be under 100ms"
--guidance "Cost reduction priority, need to reduce infrastructure spend by 30%"
--guidance "User complaints about page load times, frontend optimization needed"
How to Apply:
- Parse guidance for keywords: database, API, frontend, cost, latency, throughput
- Adjust agent assignments (add database-optimizer for DB focus)
- Modify optimization priorities (latency vs throughput vs cost)
- Influence testing focus (load patterns, metrics to track)
--interactive Parameter
Purpose: You ask 7 strategic questions to understand performance context
Questions to Ask (if --interactive):
I'll ask 7 strategic questions to tailor the performance optimization to your needs:
Q1: What performance issue are you addressing?
(e.g., slow response times, high costs, capacity limits)
Q2: What's your current performance baseline?
(Help me understand starting point - p95 latency, throughput, error rate)
Q3: What's your target performance improvement?
(Specific goals - reduce latency by 50%, double throughput, etc.)
Q4: Where do you suspect bottlenecks?
(Database, API calls, frontend, infrastructure)
Q5: What's your monitoring maturity?
(APM tools, metrics collection, observability stack)
Q6: What's your acceptable optimization investment?
(Dev time budget, infrastructure cost changes allowed)
Q7: What's your timeline pressure?
(Emergency fix needed vs. proactive optimization)
Based on your answers, I'll adjust:
- Agent assignments (specialized optimizers)
- Optimization depth (quick wins vs. comprehensive)
- Testing rigor (basic vs. extensive load testing)
- Risk tolerance (safe vs. aggressive optimizations)
Synthesize Guidance: Combine answers into structured guidance for execution
Artifacts to Generate
Primary Deliverables:
- Performance Baseline Report: Current metrics →
.aiwg/reports/performance-baseline.md - Bottleneck Analysis: Profiling results →
.aiwg/reports/bottleneck-analysis.md - Optimization Plan: Prioritized improvements →
.aiwg/planning/optimization-plan.md - Load Test Results: Performance validation →
.aiwg/testing/load-test-results.md - SLO Compliance Report: Target achievement →
.aiwg/reports/slo-compliance.md - Optimization Summary: ROI analysis →
.aiwg/reports/optimization-summary.md
Supporting Artifacts:
- Performance profiles (
.aiwg/working/profiles/) - POC implementations (
.aiwg/working/optimizations/) - Test scripts (
.aiwg/testing/scripts/)
Multi-Agent Orchestration Workflow
Step 1: Establish Performance Baseline
Purpose: Define Service Level Indicators (SLIs) and establish current performance metrics
Your Actions:
Check for Existing Performance Artifacts:
Read and verify presence of: - .aiwg/deployment/sli-card.md (if exists) - .aiwg/deployment/slo-card.md (if exists) - .aiwg/architecture/software-architecture-doc.md (for performance targets)**Launch
Установить flow-performance-optimization в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл flow-performance-optimization?
Orchestrate continuous performance optimization with baseline establishment, bottleneck identification, optimization implementation, load testing, and SLO validation
Как установить скилл flow-performance-optimization?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flow-performance-optimization запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic