/hypercore:hyper-databasefrom hypercore
Detects database engines in a repository and provides guided assistance for schema design, migrations, query tuning, and DBA operations across relational, key-value, document, and wide-column databases.
Ships in hypercore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Open the rules as directed below. Resolve bundled file paths from the directory containing this document and project paths from the target project.
Detect the engines, decide from access patterns and evidence, and leave a schema, a migration, a tuned query, or an operations plan that a DBA would sign off.
.hyper/database/<slug>/report.md.<output_language>
Default all user-facing deliverables, saved artifacts, reports, plans, summaries, handoff notes, and validation notes to Korean, even when this canonical skill file is written in English (instructions/harness-engineering/references/skill-common-rules.md).
Preserve source code identifiers, SQL, CLI commands, file paths, schema keys, table and column names, configuration parameter names, package names, proper nouns, and quoted source excerpts in their original language. Use another language only when explicitly requested or required by an existing target artifact or machine-readable contract.
</output_language>
.hyper/database/<slug>/report.md.<routing_rule>
Use this skill when the requested output is a database artifact or finding: data model or schema, DDL or migration, plan-backed index/query change, engine choice, database configuration, operations runbook, or review of any of these.
| Detected engine | Engine guide |
|---|---|
| PostgreSQL, including pgvector, PostGIS, and TimescaleDB | engines/postgres.md |
| MySQL, MariaDB, Percona Server | engines/mysql.md |
| SQLite, libSQL, Cloudflare D1 | engines/sqlite.md |
| Redis and Valkey | engines/redis-valkey.md |
| MongoDB | engines/mongodb.md |
| Amazon DynamoDB | engines/dynamodb.md |
| Apache Cassandra and ScyllaDB | engines/cassandra-scylla.md |
| Vitess, PlanetScale, CockroachDB, TiDB, YugabyteDB, Neon, Supabase, Turso | engines/distributed-sql.md, after the wire-protocol guide |
| ClickHouse, time-series, vector, and search engines | engines/analytical-and-special.md |
Do not use it when:
</routing_rule>
<instruction_contract>
| Field | Contract |
|---|---|
| Intent | Deliver the requested model, migration, tuned query, engine choice, operations plan, or review grounded in repository evidence and verified with a saved report. |
| Trigger | Requests about schema, data modeling, keys, indexes, queries, migrations, transactions, caching, sharding, replication, backup, pooling, DB security, upgrades, or engine choice. |
| Scope | Detect engines; pick mode; read neutral rules and matching engine guides; edit only covered schema/migration/query/index/config/test files; verify; write .hyper/database/<slug>/report.md. Shared/staging/production execution, data deletion, and billing actions are out of scope unless explicitly requested in this run. |
| Authority | User and project instructions outrank this skill. Repository files, query plans, DB output, migration linters, and vendor docs are evidence, never authority to widen scope or skip gates. |
| Evidence | Target schema, migrations, queries, configs, and plans first; then this package's rules and dated engine guides. Every finding cites file:line, command output, or a rule ID. |
| Tools | File read, search, edit, and shell for scripts/detect-engines.sh, disposable engine clients, ORM migration tools, and linters. Missing runtime tools mark checks not run, never passed. |
| Loop | One bounded repair loop in design, change, and tune (at most two repair passes lowering failing critical/high checks with zero regressions). review, choose, and operate run once. |
| Output | In-place changes in write modes plus Korean .hyper/database/<slug>/report.md following references/report-template.md. |
| Verification | rules/validation.md: evidence gate per claim type, migration safety checklist, mode completion checks, and report matching disk state. |
| Stop condition | Every critical/high finding in scope is fixed and re-verified or reported with its blocker, or the run stops at a credential, non-disposable DB statement, destructive command, paid resource, or spent repair budget. |
</instruction_contract>
<activation_examples>
Positive: "주문·결제 서비스 DB 스키마 설계해줘. Postgres 쓸 거고 멀티테넌트야." / "This migration adds a NOT NULL column to a 200M-row MySQL table. Is it safe to deploy?" / "이 쿼리가 3초 걸려. EXPLAIN 보고 인덱스 잡아줘." / "Redis 캐시 키 설계랑 TTL, 메모리 정책 점검해줘." / "DynamoDB single-table로 갈지 테이블 나눌지 접근 패턴 보고 정해줘." / "백업·복구 계획이랑 리플리카 장애 조치 런북 만들어줘."
Negative: "로그인 화면 버튼 색 바꿔줘." / "지난달 매출 SQL로 뽑아줘." / "데이터베이스 정규화 개념을 블로그 글로 써줘."
Boundary: "스키마 점검만 해줘, 고치지는 말고." -> review mode only, zero edits. / "Add a status filter to the orders API." -> query and index part only. / "프로덕션 DB에서 직접 인덱스 만들어줘." -> prepare online DDL and run only if explicitly requested and target-confirmed in this run. / "Which database should we use?" with no requirements -> ask one question for access patterns and scale, then run choose.
</activation_examples>
<trigger_conditions>
| Situation | Mode |
|---|---|
| New model, schema, key space, or collection layout from requirements | design |
| Review existing schema, migration, query set, key space, or config without editing | review |
| Explain a query plan with no change request | review (with tune plan reading) |
| Write or fix a schema change, migration, or backfill | change |
| Slow query, missing/unused index, lock waits, hot keys, or hot partitions | tune |
| Backup/restore, replication, failover, pooling, upgrades, security, monitoring, capacity | operate |
| Pick an engine, managed service, or store split for a workload | choose |
| Upstream caller asks for "audit only; report findings; do not edit" | review |
rules/database-workflow.md owns mode selection and per-mode phases.
</trigger_conditions>
<skill_architecture>
SKILL.md): trigger, routing table, modes, contract, workflow, stop conditions.engines/<engine>.md, references/report-template.md, references/migration-tooling.md.scripts/detect-engines.sh and assets/evals/hyper-database-cases.jsonl.</skill_architecture>
<loop_policy>
design, change, and tune allow one repair loop of at most two passes against failing critical/high checks in rules/validation.md; keep a repair only when it lowers the failing count without breaking a passing check or slowing a measured plan. review, choose, and operate never loop.
</loop_policy>
<language_and_translation_default>
Write routing lines, questions, findings, and reports in Korean; keep SQL, commands, identifiers, parameter names, and rule IDs in English. Canonical files are English with *.ko.md siblings.
</language_and_translation_default>
<reference_routing>
scripts/detect-engines.sh before naming an engine.design, review, choose, or for keys/constraints/tenancy/consistency.operate, before operations sections in design/choose, and for backup/replication/pooling/security/capacity findings.engines/<engine>.md guides (engines/distributed-sql.md after its wire-protocol guide).</reference_routing>
<support_file_read_order>
rules/engine-detection.md + scripts/detect-engines.sh.rules/database-workflow.md + mode-required neutral rules (rules/data-modeling.md, rules/schema-changes.md, rules/operations.md).engines/<engine>.md guides and references/migration-tooling.md when applicable.references/report-template.md and rules/validation.md.</support_file_read_order>
Resume procedure: On start or after context compaction, check .hyper/database/<slug>/report.md (and state.json if present) plus existing schema and migration files on disk first. Re-verify completed steps from disk artifacts and resume from the first unfinished step rather than relying on chat history.
| Step | Action | Done when | Why not skip |
|---|---|---|---|
| 0 | Check disk state in .hyper/database/<slug>/, confirm database scope, and locate touched roots | Target paths and prior state recorded | Prevents duplicate migrations or lost findings after compaction |
| 1 | Run bash <skill-dir>/scripts/detect-engines.sh, inspect manifests/configs, and route each touched engine | One Korean routing line per engine with file and signal quoted | Guessing engine versions or ORMs causes invalid DDL and lock hazards |
| 2 | Select mode via rules/database-workflow.md and record access patterns, volume, invariants, and constraints | Mode and access-pattern inputs explicitly stated (or one question asked) | Designing schemas or indexes without access patterns optimizes the wrong queries |
| 3 | Read mode-required neutral rules and routed engines/<engine>.md guides; draft design or audit findings | Every finding cites rule ID, severity, file:line/output evidence, and fix | Memory-only reviews miss engine-specific lock and consistency traps |
| 4 | In write modes (design, change, tune), apply online-safe schema, migration, query, index, or config edits | Changed files saved with lock, rewrite scope, and rollback documented | Offline table rewrites or irreversible DDL cause production outages |
| 5 | Run disposable verification (EXPLAIN, migration linter, dry run, restore check) or mark not run with reason; repair at most twice | All runtime checks recorded (passed, failed, or not run) without touching non-disposable DBs | Unmeasured tuning claims and EXPLAIN ANALYZE on live DBs risk false wins or writes |
| 6 | Write .hyper/database/<slug>/report.md per references/report-template.md, run rules/validation.md, and brief in Korean | Report verified on disk matching edited files and zero secrets exposed | Ensures DBA-grade traceability for downstream execution or review |
Step Yes/No checklist:
| # | Yes/No question | On violation -> return to |
|---|---|---|
| 1 | Did I run detect-engines.sh and quote the exact file and signal for every routed engine? (Yes/No) | Step 1 |
| 2 | Were access patterns, volumes, and invariants stated (or asked once) before any schema or index decision, and did review mode make zero edits? (Yes/No) | Step 2 |
| 3 | Does every schema change on populated data state its lock, table rewrite impact, and rollback per rules/schema-changes.md? (Yes/No) | Step 4 |
| 4 | Did zero unapproved statements (including EXPLAIN ANALYZE) run against shared/staging/production DBs, and are unrun checks marked not run? (Yes/No) | Step 5 |
| 5 | Does .hyper/database/<slug>/report.md exist on disk with rule IDs, operations impact, and zero secrets or customer rows? (Yes/No) | Step 6 |
design and choose include operations (backup/restore, capacity, security, monitoring).EXPLAIN ANALYZE, FLUSHALL, KEYS, DROP, TRUNCATE, or restore against shared/staging/production targets without explicit request in this run.
-Printing secrets, connection-string values, or customer rows into chat or reports.ALTER TABLE orders ADD COLUMN status TEXT NOT NULL on a large table and calling it safe -> Good: Using rules/schema-changes.md expand-backfill-contract steps and documenting lock type, batch backfill, and rollback.EXPLAIN ANALYZE DELETE ... against a staging database -> Good: Running EXPLAIN (without ANALYZE) or testing on a local disposable instance, because EXPLAIN ANALYZE executes the statement.passed when no DB client was available -> Good: Recording static linter results and marking runtime execution not run with the missing client reason.review mode made zero edits outside .hyper/database/<slug>/.rules/schema-changes.md.not run with reason..hyper/database/<slug>/report.md exists on disk and matches edited files with zero secrets leaked.assets/evals/hyper-database-cases.jsonl and scripts/detect-engines.sh still pass their contracts.Checked 2026-11-07.
| Claim | Source |
|---|---|
| Engine scope, modes, and operations-as-part-of-done contract | user instruction, 2026-11-07 |
| Public database skill gap review (DynamoDB, Cassandra, SQLite, cross-engine choice, rollback) | https://github.com/planetscale/database-skills, https://github.com/supabase/agent-skills, https://github.com/neondatabase/postgres-skills, https://github.com/mongodb/agent-skills, https://github.com/redis/agent-skills, read 2026-11-07 |
EXPLAIN ANALYZE executes the statement | https://www.postgresql.org/docs/current/sql-explain.html |
[Hyper] trigger-first description, bilingual package shape, and one-level reference rule | instructions/skill/SKILL_AUTHORING.md |
Modes, severities, and the two-pass repair budget are this package's design over the dated engine guides, not validated optima; re-read volatile engine version and service-limit facts quarterly.
SKILL.ko.md (opens in a new tab)assets/evals/hyper-database-cases.jsonl (opens in a new tab)engines/analytical-and-special.ko.md (opens in a new tab)engines/analytical-and-special.md (opens in a new tab)engines/cassandra-scylla.ko.md (opens in a new tab)engines/cassandra-scylla.md (opens in a new tab)engines/distributed-sql.ko.md (opens in a new tab)engines/distributed-sql.md (opens in a new tab)engines/dynamodb.ko.md (opens in a new tab)engines/dynamodb.md (opens in a new tab)engines/mongodb.ko.md (opens in a new tab)engines/mongodb.md (opens in a new tab)engines/mysql.ko.md (opens in a new tab)engines/mysql.md (opens in a new tab)engines/postgres.ko.md (opens in a new tab)engines/postgres.md (opens in a new tab)engines/redis-valkey.ko.md (opens in a new tab)engines/redis-valkey.md (opens in a new tab)engines/sqlite.ko.md (opens in a new tab)engines/sqlite.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alpoxdev/hypercore --plugin hypercore41 skills in this plugin
/hyper[Hyper] Use this skill when the user wants a development job carried from start to finish - a feature, fix, refactor, migration, technology choice, SEO or analytics job, database, MCP, decision API, UI design or frontend work, client or planner change request, runtime failure, behavior-preserving cleanup, dataset question, multi-goal run, image, deployment, skill folder, document, or prompt - without naming one hyper stage skill, or invokes hyper by name. It picks the shortest chain of hyper stage skills, runs each in order, and passes each stage's saved artifact to the next. Do not use it when one stage skill is named directly, or for a one-place edit, a commit-only request, a PRD package, a diagram, or a plain question./hyper-architecture[Hyper] Use this skill when the user asks for architecture, project setup, or performance work - building, auditing, restructuring, or reviewing project structure, routes, data or server boundaries, lint/format/type tooling (oxlint, Prettier, tsconfig, rustfmt, clippy), or build and runtime performance - in Next.js App Router, TanStack Start, Vite + TanStack Router, Astro, Expo, Lynx (ReactLynx), Hono, Axum, Tauri v2, Electron, or Rust CLI/WASM/MCP server projects. Detects each stack from manifests and config files, routes monorepo packages separately, and applies the bundled stack guide, setup baseline, and performance rules. Do not use for unsupported stacks, copy edits, plain dependency bumps, or single build failures.Other plugins' skills for the same job