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.

REFERENCE.md

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

Reference — Performance Optimization

Key Metrics

  • Backend: P50/P95/P99 latency, error rate, throughput, CPU load, memory usage, queue depth.
  • Frontend: Largest Contentful Paint, First Input Delay, CLS, TTI, bundle size, hydration time.
  • Data: Query latency, lock contention, cache hit rate, replication lag.
  • Infrastructure: Autoscaling events, network latency, disk IOPS, container restarts.

Useful Tools

  • Load Testing: k6, Locust, JMeter, Artillery, Vegeta.
  • Profiling: Pyinstrument, Py-spy, perf, go tool pprof, flamebearer, Chrome DevTools, Lighthouse.
  • Monitoring: Prometheus + Grafana, Datadog, New Relic, Elastic APM, OpenTelemetry.
  • Database: EXPLAIN/ANALYZE, pg_stat_statements, MySQL performance schema, Redis MONITOR.

Diagnostic Prompts

  • "Which endpoint or component is violating the SLA?"
  • "How does performance change with concurrent users or data volume?"
  • "What changed recently (deployments, migrations, configuration updates)?"
  • "Is the bottleneck CPU, I/O, or network bound?"
  • "What instrumentation exists to validate improvements?"

Optimization Patterns

  • Backend: Connection pooling, asynchronous processing, caching, batching, query tuning, pagination.
  • Frontend: Code splitting, prefetching, critical CSS, memoization, virtualization, image optimization.
  • Data: Indexing, read replicas, partitioning, caching layers, denormalization with verification.
  • Infrastructure: Autoscaling policies, CDN utilization, edge caching, container sizing, circuit breakers.

Anti-Patterns

  • Optimizing without baseline metrics.
  • Blindly increasing infrastructure size without addressing code bottlenecks.
  • Running load tests against production without safety measures.
  • Ignoring cost implications of scaling decisions.
  • Deploying optimizations without regression monitoring.

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