본문으로 건너뛰기
cccskills
무료GitHub에 공개

database-ops

Operate production databases (PostgreSQL, MySQL, MongoDB, Redis), managed or not: health checks, slow queries, locks, connections, maintenance, replication lag, and what to do in a database incident. Read-only by default.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane스타 3(GitHub 3 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(5)

  • SKILL.md4.0 KB
  • references/mongodb.md2.3 KB
  • references/mysql.md2.5 KB
  • references/postgres.md2.9 KB
  • references/redis.md2.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Database Ops

Keeping a running database healthy, and finding the cause when it is not. It assumes a managed service (Cloud SQL, RDS, Atlas, Memorystore, ElastiCache) or an existing server; installing and configuring servers is out of scope. Backups and restores are in /backup-strategy; schema and migrations in /database and /run-migrations.

Phase 1: Scope

ModeDoes
healthRuns the health checks for the engine and gives a verdict
incidentSomething is slow or failing now: finds the cause, proposes the fix
tuneReviews slow queries, indexes, connection and memory settings
No arghealth

Detect the engine and where it runs from the connection string, docker-compose.yml, IaC or env files. Ask for read-only credentials; never use the application's admin user for diagnosis.

Phase 2: Engine reference

EngineReferenceAlso
PostgreSQLreferences/postgres.md/query-optimization, /database-indexing, /read-replicas
MySQLreferences/mysql.md
MongoDBreferences/mongodb.md
Redisreferences/redis.md

Read only the reference for the engine in use.

Phase 3: Health checks

Every engine gets the same six questions; the reference has the exact queries:

  1. Up and reachable, and from the app's network.
  2. Connections: used vs maximum, idle-in-transaction or leaked connections, pooler in front.
  3. Slow work: the top queries by total time, long-running operations, lock waits.
  4. Memory and cache: hit ratio, eviction (Redis), buffer pool or cache size vs working set.
  5. Storage and maintenance: disk growth, bloat or fragmentation, maintenance jobs keeping up (vacuum, compaction).
  6. Replication: lag per replica, replication slots or oplog window, last failover.

On a managed service, start with its own tools (Cloud SQL Query Insights, RDS Performance Insights, Atlas Performance Advisor): they keep history that ad-hoc queries do not.

Phase 4: Incident

  1. What changed? Deploys, migrations, traffic, a new cron job, an index build, in the last hours.
  2. Where is the time going? Active operations and lock waits right now (reference queries).
  3. Stop the bleeding with the least destructive option: kill one runaway query, pause a job, scale read traffic to replicas, add capacity on a managed service. Ask before each.
  4. Fix the cause after the incident: the index, the query, the pool size, the migration strategy.
  5. Write it up with /incident.

Phase 5: Verdict

VerdictWhen
PASSAll six checks within limits
CONCERNSSomething trending toward a limit: connections above 70% of max, growing lag, bloat, a slow query in the top 5 by total time
FAILAt or past a limit: connections exhausted, replication broken or lag above the RPO, disk above 85%, Postgres transaction ID age near wraparound, Redis evicting keys that are not cache

Report: verdict, one row per check (value, limit, evidence), then the fixes in order of risk.

Protocol

  • Read-only by default. Killing sessions, VACUUM FULL, OPTIMIZE TABLE, failovers, FLUSHALL, CONFIG SET and index builds on large tables are changes: show the exact command and ask first.
  • Run heavy diagnostic queries on a replica when one exists.
  • Never paste query results that contain user data into the conversation; aggregate or redact.

Next steps

  • /backup-strategy for backups, PITR and restore tests.
  • /slo-sli and /observability-setup to alert on these checks instead of running them by hand.
  • /incident for the post-mortem.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

SebastianLuser의 스킬 모두 보기

이 스킬의 문제 신고