Index of every page on this site: llms.txt
All skills
bacoco avatar

/bmad-performance-optimization

@58378b1
by Baconnier Loicbacoco/bmad-skills67 stars
11
Run it yourself

Diagnoses bottlenecks and designs performance optimization plans.

Use this Skill: https://skilld.dev/gh/bacoco/bmad-skills/bmad-performance-optimization

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈24 tokens for metadata: the name and description. ≈674 when used: this file. ≈1.3k more on demand in 4 files.

Description uses 1.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈97 characters, or 1.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert8mo4 checks · Risk HIGH
  • Gen Agent Trust Hub9mo

    This skill is categorized as HIGH risk because it combines high-privilege tools (Bash, Write) with the ingestion of external, untrusted data (telemetry, profiling dumps, and reports). This creates a significant surface for indirect prompt injection and unintended command execution.

  • Socket8mo

    No alerts

  • Snyk9mo

    Risk: LOW · No issues

  • Runlayer9mo

    5/5 files flagged

Signed by skilld at 58378b1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated last year
What it can do
Reads files Edits files Runs commands
All 4 allowed tools
ReadWriteGrepBash
Other metadata
metadata
{
  "auto-invoke": true,
  "triggers": {
    "patterns": [
      "performance budget",
      "optimize speed",
      "slow response",
      "profiling results",
      "latency regression",
      "load testing",
      "capacity planning"
    ],
    "keywords": [
      "performance",
      "latency",
      "throughput",
      "optimize",
      "scaling",
      "profiling",
      "benchmarking"
    ]
  },
  "capabilities": [
    "performance-audits",
    "load-testing-plans",
    "profiling-analysis",
    "optimization-roadmaps",
    "capacity-planning"
  ],
  "prerequisites": [
    "bmad-architecture-design",
    "bmad-test-strategy"
  ],
  "outputs": [
    "performance-brief",
    "benchmark-plan",
    "optimization-backlog"
  ]
}

README badge

README badge for bacoco/bmad-skills/bmad-performance-optimization