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.

WORKFLOW.md

≈443 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Workflow — Performance Optimization

  1. Clarify Goals

    • Capture target metrics (TTFB, P95 latency, RPS/QPS, FPS, memory budgets).
    • Align on environments to test (staging vs. prod) and acceptable risk envelope.
  2. Collect Evidence

    • Pull metrics from APM dashboards, tracing tools, and infrastructure monitors.
    • Gather profiling outputs (CPU flamegraphs, heap snapshots, query plans).
    • Note recent releases, infra changes, or incidents affecting performance.
  3. Diagnose Hotspots

    • Map call chains and resource usage to identify slowest components.
    • Evaluate caching strategy, database indexes, queue backlogs, client bundle weight.
    • Quantify impact of each issue to focus on high-leverage fixes.
  4. Design Benchmark Plan

    • Choose tooling (k6, JMeter, Locust, Artillery, Lighthouse, WebPageTest, Playwright).
    • Define workloads for baseline, stress, spike, soak, and failover scenarios.
    • Specify metrics to capture, acceptable thresholds, and rollback triggers.
  5. Plan Optimizations

    • Recommend code, configuration, and infrastructure changes.
    • Highlight prerequisites (e.g., schema migrations, feature flags, CDN updates).
    • Sequence work into short-, medium-, and long-term initiatives.
  6. Communicate & Integrate

    • Deliver performance brief and backlog.
    • Sync with bmad-story-planning for story creation and bmad-test-strategy for regression coverage.
    • Define follow-up validation cadence post-implementation.

Tooling Shortcuts

  • Profilers: pyinstrument, perf, clinic.js, Chrome DevTools, go tool pprof.
  • Load testing: k6 scripts, Locust tasks, JMeter test plans stored in assets/.
  • Frontend metrics: Lighthouse CI, Web Vitals, bundle analyzer templates.

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