Skip to content
Back to skills

Diagnostic Foundations Database Triage Basics

ASecurity

Structured first-response: load vs lock vs query-plan diagnosis under pressure.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsgobashtestinggitdatabase

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add aniruddhaadak80/skills --skill diagnostic-foundations-database-triage-basics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Diagnostic Foundations Database Triage Basics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Diagnostic Foundations Database Triage Basics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aniruddhaadak80-diagnostic-foundations-database-triage-basics/badge)](https://www.skillsdirectory.com/skills/aniruddhaadak80-diagnostic-foundations-database-triage-basics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: diagnostic-foundations-database-triage-basics
description: "Structured first-response: load vs lock vs query-plan diagnosis under pressure."
---
# Triage 'the database is slow' alarms

> Structured first-response: load vs lock vs query-plan diagnosis under pressure.

**Track:** 🧰 Engineering Essentials · **Domain:** Diagnostic Foundations · **Level:** intermediate · **~30 min**

**Who this is for:** All Software Engineers

## When to Use This Skill

Structured first-response: load vs lock vs query-plan diagnosis under pressure.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.

## Steps

1. Classify first: connection exhaustion, lock waits, CPU, IO wait, or single bad query
2. Check active queries ordered by duration; kill nothing without recording its text
3. Compare current plan vs known-good for suspect queries
4. Correlate deploys/migrations/batch jobs against symptom onset time
5. Mitigate (timeout, queue depth, read replica shift) before root-causing fully
6. Write the incident note while terminal history still exists

## Common Pitfalls

- Restarting the primary destroying diagnostic evidence
- Adding indexes during incident without load testing

## Commands

**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill diagnostic-foundations-database-triage-basics
```

**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill diagnostic-foundations-database-triage-basics -g
```

---

Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…