kalilurrahman/kr-claudiator-skills/database-ops
Claude Code and agent skill by kalilurrahman/kr-claudiator-skills
- community
Checking that the SKILL.md file is still in the repository.
Operate databases in production with zero-downtime migrations, connection pooling, backup verification, and performance monitoring. Outputs migration workflow, pooler config, monitoring queries, and runbooks.
Install
npx vskill@latest install kalilurrahman/kr-claudiator-skills/database-opsSKILL.md
Database Operations
Running a database in production requires more than backups. Zero-downtime migrations, connection pool management, query performance monitoring, and incident runbooks are the operational practices that keep databases healthy as applications scale.
Zero-Downtime Migrations
Connection Pool Configuration (PgBouncer)
Performance Monitoring Queries
Backup Verification
Anti-Patterns to Avoid
| Anti-Pattern | Problem | Fix | |
|---|---|---|---|
| Breaking migration in one step | DROP COLUMN while old code runs → errors | Expand/contract pattern | |
| Direct connection to Postgres | 100 app pods × 10 connections = 1000 | PgBouncer in transaction mode | |
| Unverified backups | "We have backups" but restore never tested | Automated restore + verification daily | |
| No connection pool timeout | Waiting forever for connection = request stuck | pool_timeout = 5-10 seconds | |
| Long-running migrations in transaction | Locks table for minutes | Use ALTER TABLE ... CONCURRENTLY; batch updates |
10 Rules
- Every schema migration follows expand/contract — backward compatible changes only.
- PgBouncer (or equivalent) between application and Postgres — direct connections don't scale.
- Backup restore verification runs daily — an untested backup is not a backup.
- Monitor slow queries proactively — pg_stat_statements shows patterns before they become incidents.
- VACUUM and ANALYZE scheduled regularly — autovacuum alone is insufficient for high-write tables.
- Connection pool timeouts are set — never wait indefinitely for a database connection.
- Large table changes use
CONCURRENTLY—CREATE INDEX CONCURRENTLY,ALTER TABLEwith care. - Lock monitoring alerts — unexpected lock waits are a leading indicator of performance incidents.
- Replica lag is a metric — alert when lag exceeds 30 seconds.
- Database operations are documented in runbooks — DBAs don't exist at 3am; the runbook does.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking02-devops-infra/database-ops/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kalilurrahman/kr-claudiator-skills/database-ops)