Agent Skillsbacoco/BMad-Skills › bmad-performance-optimization

bmad-performance-optimization

GitHub

诊断性能瓶颈并制定优化方案,涵盖延迟、吞吐量分析及资源回归处理。提供负载测试策略、性能预算验证及跨层(代码、数据库、基础设施)优化建议,确保产品满足SLA要求。

.claude/skills/bmad-performance-optimization/SKILL.md bacoco/BMad-Skills

Trigger Scenarios

报告延迟或吞吐量退化 请求负载测试指导 需要设定性能预算 规划发布前扩展策略 询问代码或基础设施调优

Install

npx skills add bacoco/BMad-Skills --skill bmad-performance-optimization -g -y
More Options

Non-standard path

npx skills add https://github.com/bacoco/BMad-Skills/tree/main/.claude/skills/bmad-performance-optimization -g -y

Use without installing

npx skills use bacoco/BMad-Skills@bmad-performance-optimization

指定 Agent (Claude Code)

npx skills add bacoco/BMad-Skills --skill bmad-performance-optimization -a claude-code -g -y

安装 repo 全部 skill

npx skills add bacoco/BMad-Skills --all -g -y

预览 repo 内 skill

npx skills add bacoco/BMad-Skills --list

SKILL.md

Frontmatter
{
    "name": "bmad-performance-optimization",
    "metadata": {
        "outputs": [
            "performance-brief",
            "benchmark-plan",
            "optimization-backlog"
        ],
        "triggers": {
            "keywords": [
                "performance",
                "latency",
                "throughput",
                "optimize",
                "scaling",
                "profiling",
                "benchmarking"
            ],
            "patterns": [
                "performance budget",
                "optimize speed",
                "slow response",
                "profiling results",
                "latency regression",
                "load testing",
                "capacity planning"
            ]
        },
        "auto-invoke": true,
        "capabilities": [
            "performance-audits",
            "load-testing-plans",
            "profiling-analysis",
            "optimization-roadmaps",
            "capacity-planning"
        ],
        "prerequisites": [
            "bmad-architecture-design",
            "bmad-test-strategy"
        ]
    },
    "description": "Diagnoses bottlenecks and designs performance optimization plans.",
    "allowed-tools": [
        "Read",
        "Write",
        "Grep",
        "Bash"
    ]
}

BMAD Performance Optimization Skill

When to Invoke

Trigger this skill when the user:

  • Reports latency, throughput, or resource regressions.
  • Requests load/performance testing guidance or results interpretation.
  • Needs to set or validate performance budgets and SLAs.
  • Wants to plan scaling strategies ahead of a launch or marketing event.
  • Asks how to tune code, queries, caching, or infrastructure for speed.

If the user only needs to implement a specific optimization already defined, delegate to bmad-development-execution.

Mission

Deliver actionable insights, testing strategies, and prioritized optimizations that keep the product within agreed performance budgets while balancing cost and complexity.

Inputs Required

  • Current architecture diagrams and deployment topology.
  • Observability data: metrics dashboards, traces, profiling dumps, load test reports.
  • Performance requirements (SLAs/SLOs, budgets, target response times).
  • Workload assumptions and peak usage scenarios.

Gather missing telemetry by coordinating with bmad-observability-readiness if instrumentation is lacking.

Outputs

  • Performance brief summarizing current state, key bottlenecks, and risks.
  • Benchmark and load test plan aligning tools, scenarios, and success criteria.
  • Optimization backlog ranked by impact vs. effort with owner and verification plan.
  • Updated performance budget recommendations or SLO adjustments when necessary.

Process

  1. Validate inputs and ensure instrumentation coverage. Escalate gaps to observability skill.
  2. Analyze telemetry to pinpoint hotspots (CPU, memory, I/O, DB, network, frontend paint times).
  3. Assess architecture decisions for scalability (caching, asynchronous workflows, data partitioning).
  4. Define performance goals and acceptance thresholds with stakeholders.
  5. Create load/benchmark plans covering baseline, stress, soak, and spike scenarios.
  6. Recommend optimizations across code, database, infrastructure, and CDN layers.
  7. Produce backlog with measurable acceptance criteria and regression safeguards.

Quality Gates

  • Recommendations trace back to observed data or projected workloads.
  • Each backlog item includes measurement approach (before/after metrics).
  • Performance budgets and SLAs updated or reaffirmed.
  • Risks communicated when goals require major architectural change.

Error Handling

  • If telemetry contradicts assumptions, schedule hypothesis-driven experiments rather than guessing.
  • Flag when performance targets are unrealistic within constraints; propose trade-offs.
  • When required tooling is unavailable, document blockers and coordinate with observability & dev skills.

Version History

  • 58378b1 Current 2026-08-20 13:14

Same Skill Collection

.claude/skills/bmad-observability-readiness/SKILL.md
.claude/skills/bmad-security-review/SKILL.md
.claude/skills/bmad-taskmaster-mcp-bootstrap/SKILL.md
.claude/skills/core-skill-creation/SKILL.md
.claude/skills/main-workflow-router/SKILL.md
.claude/skills/bmad-architecture-design/SKILL.md
.claude/skills/bmad-development-execution/SKILL.md
.claude/skills/bmad-discovery-research/SKILL.md
.claude/skills/bmad-product-planning/SKILL.md
.claude/skills/bmad-story-planning/SKILL.md
.claude/skills/bmad-test-strategy/SKILL.md
.claude/skills/bmad-ux-design/SKILL.md
.claude/skills/openspec-change-closure/SKILL.md
.claude/skills/openspec-change-implementation/SKILL.md
.claude/skills/openspec-change-proposal/SKILL.md

Metadata

Files
0
Version
58378b1
Hash
fa24b3ec
Indexed
2026-08-20 13:14

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 07:29
浙ICP备14020137号-1 $mapa de visitantes$