Skip to content
Development
Command

/db

Diagnose and fix a database bottleneck evidence-first — EXPLAIN, indexes, N+1, locks, pooling, safe migrations

From plugin
hydraia
817 skills27 agents17 commands6 hooks
> /plugin marketplace add jdanigo/hydraia
> /plugin install hydraia@hydraia

Command definition

db.md
description: Diagnose and fix a database bottleneck evidence-first — EXPLAIN, indexes, N+1, locks, pooling, safe migrations
argument-hint: <symptom or query — e.g. "orders list times out when filtering by date">

Invoke the **hydraia** skill forcing the Phase -1 route to **performance (DB-shaped)**. Follow the performance-tuning and db-optimization skills with the db-performance-tuner agent as PRIMARY diagnostician: detect the engine from evidence, collect read-only evidence (EXPLAIN plans, stat views, slow logs — redacting data values), classify findings (index, query shape, N+1, locking, pooling, schema, caching), write the spec with baseline + numeric target, then run the full pipeline. Schema changes follow expand-contract; write-shaped operations are plan tasks, never direct agent actions. Dispatch perf-engineer too only if the evidence points outside the database.

Request: $ARGUMENTS

@jdanigo
Ships withhydraia

An agentic development harness for Claude Code. **One command runs the entire feature pipeline** — it collaborates with you on the design, then builds autonomously: plan, execute, double-review, and verify.

852 skills27 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of jdanigo/hydraia on GitHub, a chart by star-history.com

Other commands on hydraia.

agile

agile

Command

Deliver a large or multi-stage effort through Hydraia Agile Mode — decompose into an epic, user stories, tasks, subtasks + QA,…

@jdanigo@jdanigoInstall Command
architect

architect

Command

Design a new app or service from scratch — guided elicitation, architecture proposals, stack choice, API contract, ADRs — then…

@jdanigo@jdanigoInstall Command
dashboard

dashboard

Command

Launch the local Hydraia dashboard (status, usage telemetry, editable config) in the browser

@jdanigo@jdanigoInstall Command
devops

devops

Command

Author CI/CD, containers, or IaC following the repo's platform — deploy and secrets flagged for human approval, never executed

@jdanigo@jdanigoInstall Command
docs

docs

Command

Sync README, API docs, CHANGELOG, and the ADR index with the actual code — reports drift, never invents behavior

@jdanigo@jdanigoInstall Command
doctor

doctor

Command

Validate, install, and update Hydraia's external dependencies (codegraph, markitdown, E2E browser binaries)

@jdanigo@jdanigoInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command