Agent skill

Database Testing

by petrkindlmann in petrkindlmann/qa-skills

Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues.

MITAuto-check passedDatabases

Install Database Testing

skills CLI
$ npx skills add petrkindlmann/qa-skills --skill database-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install petrkindlmann/qa-skills database-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/petrkindlmann/qa-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/database-testing .claude/skills/database-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
database-testing
GitHub stars
163
Token cost
~4.2k tokens
SKILL.md length
2,073 words
Files
4 (incl. references)
Skills in repo
45
Repo updated
First seen
Licence
MIT

At a glance

Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues.

  • Works in 8 steps: Testing against production database copies → Shared database state between tests → Ignoring rollback testing → …
  • : database test
  • SKILL.md covers Discovery Questions, Core Principles, Migration Testing and Data Integrity Testing, plus 4 more sections
  • Calls psql, pg_dump and jest

What it does

Database Testing is an agent skill from petrkindlmann/qa-skills. Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues. Covers PostgreSQL, MySQL, MongoDB with Prisma, TypeORM, Drizzle, and SQLAlchemy, plus Testcontainers test databases. Use when: "database test," "migration test," "migration rollback," "rollback test," "data integrity," "SQL test," "schema validation," "seed data," "query performance," "Testcontainers." Not for: synthetic data…

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/integrity-and-seed.md`, `references/migration-tests.md` and `references/performance-and-docker.md`).

It sits in Databases, covering ORMs and data access, Test data and fixtures and Query optimization. It works with Prisma, SQL, TypeORM and MongoDB. The repository describes itself as: 50 QA and test-automation skills for Claude Code, Codex, Cursor, and any Agent Skills Standard runtime. The licence is MIT.

When your agent uses it

  • : database test
  • Migration rollback
  • Schema validation
  • Query performance

Example prompts

  • “database test,”
  • “migration test,”
  • “migration rollback,”
  • “/database-testing”

Requirements

  • Docker

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Testing against production database copies
  2. Shared database state between tests
  3. Ignoring rollback testing
  4. Faking rollback with migrate resolve --rolled-back
  5. Using ORM sync instead of migrations
  6. Testing only happy-path queries
  7. Performance assertions that can never fail
  8. Seeding with random data

What it can do on your machine

Read from SKILL.md and the folder at commit b3bb61b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • psql
    • pg_dump
    • jest
    • npm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Database Testing loads about 4.2k tokens when it runs, and up to ~8.9k if it reads all its reference files. Until then it costs about 192 tokens; SKILL.md has 2,073 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~192
When it runs · the whole SKILL.md, loaded when a task matches
~4.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from petrkindlmann/qa-skills at commit b3bb61b, republished under its MIT licence (© petrkindlmann). 2,073 words, ~4,154 tokens.

Download SKILL.mdSave it as .claude/skills/database-testing/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
database-testing
description
Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues. Covers PostgreSQL, MySQL, MongoDB with Prisma, TypeORM, Drizzle, and SQLAlchemy, plus Testcontainers test databases. Use when: "database test," "migration test," "migration rollback," "rollback test," "data integrity," "SQL test," "schema validation," "seed data," "query performance," "Testcontainers." Not for: synthetic data generation/masking at scale — use test-data-management; Docker/IaC test-environment provisioning — use test-environments; SQL injection — use security-testing. Related: test-data-management, test-environments, security-testing, ci-cd-integration.
license
MIT
metadata.author
kindlmann
metadata.version
2.0
metadata.category
specialized
<objective>
A migration that passes `prisma migrate deploy` can still silently drop a column's data, and an `EXPLAIN` assertion that never fails will green-light a query that lost its index — both ship to production looking fine. This skill produces database tests that catch those: forward AND backward migration tests, constraint-rejection tests, deterministic seed data, drift detection, and query-plan assertions that actually fail when the index disappears.

Before starting: check .agents/qa-project-context.md for database type, ORM, migration tooling, and environment config — they shape every pattern below. </objective>


Discovery Questions

Check .agents/qa-project-context.md first — if it exists, use it and skip anything already answered there. Then:

  1. Database type: PostgreSQL, MySQL, SQLite, MongoDB, or multi-database? Each has different constraint syntax, migration tools, and performance profiling.
  2. ORM / query builder: Prisma, TypeORM, Drizzle, Sequelize, SQLAlchemy, Django ORM, or raw SQL? The ORM determines migration tooling and test patterns.
  3. Migration tool: Prisma Migrate, TypeORM migrations, Flyway, Liquibase, Alembic, knex, or custom? This determines how to test forward and backward migrations.
  4. Test database strategy: isolated DB per test, transaction rollback, Testcontainers, or shared DB with cleanup? Affects speed and reliability.
  5. Existing seed data: factories, fixtures, or seed scripts? Check prisma/seed.ts, seeds/, fixtures/, or factory patterns.
  6. Performance baselines: any existing query benchmarks or slow-query monitoring?

Core Principles

  1. Test migrations forward AND backward. Every migration should be reversible. If a rollback fails, you cannot recover from a bad deploy. Test the down path, not just the up — and test it with the actual revert mechanism (a hand-written down.sql for Prisma, a native revert command elsewhere), not a metadata flag.

  2. Constraints are the first line of defense. NOT NULL, UNIQUE, FOREIGN KEY, and CHECK constraints stop bad data at the database, regardless of application code. Test that each one exists and rejects invalid data with the right error.

  3. Deterministic seed data. Tests must produce the same result every run. Use factories with fixed IDs and fixed timestamps, not random data. faker.random() without a seed, uuid(), and now() in seed data create non-deterministic tests.

  4. Isolate database state per test. Tests that share state are order-dependent and flaky. Use transaction rollback, per-test databases, or guaranteed cleanup.

  5. Test the migration, not the ORM's sync. prisma db push / typeorm synchronize: true skip the migration path your users will actually run. Always exercise the real migration files.

  6. A performance assertion that can't fail is worthless. Prove the EXPLAIN test goes red when the index is dropped before trusting it green. See Verification.


Migration Testing

For runnable migration test code, see references/migration-tests.md.

Forward Migration Validation

Spin up a fresh, empty database, run all migrations with prisma migrate deploy, then assert against information_schema that the expected tables and columns exist with the right types, nullability, and defaults. Prefer a Testcontainers-provided DATABASE_URL; the admin-Pool CREATE DATABASE path is the fallback when you must target a standing Postgres — pick one strategy per suite, don't mix.

Rollback Testing

Prisma has no migrate down / migrate rollback command. prisma migrate resolve --rolled-back is not a rollback tool — it only fixes a migration whose migrate deploy failed, and it throws on a cleanly-applied one. The supported test for a reversible change: apply forward, capture state, run the hand-written down.sql directly (psql -f down.sql), assert the reverted object is gone, then re-apply. Maintain a down.sql per migration directory.

For TypeORM and Sequelize, both ship native revert commands (dataSource.undoLastMigration(), sequelize-cli db:migrate:undo); swap them in for the psql -f down.sql step — the capture → revert → assert → re-apply shape is identical.

For Drizzle Kit v1.0 (still beta as of mid-2026 — latest is drizzle-kit@1.0.0-beta.22, no stable GA yet; 0.44.x is the conservative pin if you need stable): drizzle-kit generate + drizzle-kit migrate. Pin the exact version in CI — the v1 beta line reworked the casing API and removed RQB v1 ._query for Postgres, and the API is still shifting between betas. Drizzle has no down-migration generator; check in your own inverse SQL, same as Prisma.

Data Preservation During Migration

To test that an added column preserves existing rows, apply migrations up to N-1, insert data, then apply the migration under test and assert the rows survived (new nullable column carries its default or null). prisma migrate deploy has no --to flag — it applies all pending migrations. To stop at N-1, deploy a migrations directory containing only migrations up to N-1 (stage it in CI), then deploy the full directory. Tools with real targeting (Flyway -target=, Alembic upgrade <rev>) use the native flag instead.

Migration Drift Detection

The most common real migration bug: someone edits the DB or the schema without a matching migration, so the committed migrations no longer reproduce schema.prisma. prisma migrate diff --from-migrations … --to-schema-datamodel … --exit-code returns non-zero on drift — wire it into CI as a fast pre-flight before the heavier tests. See references/migration-tests.md.

Schema Snapshot Comparison

Capture a pg_dump --schema-only snapshot before and after the migration and diff table-by-table so only the intended tables changed. See references/migration-tests.md.

Other ORMs

TypeORM: DataSource with migrationsRun: false, then dataSource.runMigrations() and dataSource.undoLastMigration() in tests. Same shape: apply all, verify schema, revert last, verify rollback.

Alembic (Python): test alembic upgrade head from empty DB, alembic downgrade base for full rollback, and an upgrade→downgrade→upgrade cycle to verify schema consistency. Use a fresh test database via fixture.


Data Integrity Testing

For runnable constraint and referential-integrity code, see references/integrity-and-seed.md.

Constraint Testing

Assert that each constraint rejects invalid data: NOT NULL rejects missing required columns, UNIQUE rejects duplicates, FOREIGN KEY rejects dangling references, CHECK rejects out-of-range values, ON DELETE CASCADE removes dependent rows. Assert on the database error message (/null value in column/, /unique constraint/i, etc.) at the pool.query level — not at the ORM or application-validation layer, which can mask a missing DB constraint.

Referential Integrity & Data-Quality Audit

Run anti-join queries (LEFT JOIN … WHERE parent.id IS NULL) to assert there are no orphan records pointing at deleted parents. Then audit for the gap between intended and enforced integrity: COUNT(*) vs COUNT(DISTINCT col) flags a column that should be unique but lacks a constraint; COUNT(*) FILTER (WHERE col IS NULL) flags one that should be non-null. See references/integrity-and-seed.md.

Data Type Validation

Test: monetary values stored with correct precision (no float loss), VARCHAR length enforcement (value too long on overflow), and timezone-aware timestamps stored as UTC — insert with an offset (+02:00), retrieve, and verify ISO UTC output.


Seed Data Management

For runnable factory, seed-script, and isolation code, see references/integrity-and-seed.md.

Factory Pattern (TypeScript)

Build records from a buildUser(overrides) factory that increments a counter for stable, deterministic IDs and emails and uses a fixed timestamp (new Date('2026-01-01T00:00:00Z'), never new Date() with no argument), with a createUser(pool, overrides) helper that inserts and returns the record. See references/integrity-and-seed.md.

Prisma Seed Script

Use upsert with fixed IDs so the seed is idempotent and re-runnable, and switch profiles on process.env.SEED_ENV: test (minimal, 2–3 users), staging (realistic volume, 50+ users), demo (curated). staging and demo extend test. See references/integrity-and-seed.md.

Test Isolation with Transaction Rollback

Wrap each test in BEGIN/ROLLBACK so inserts never persist between tests. The module-level shared client works for serial runs (jest --runInBand); parallel test files in one worker need a per-suite client or savepoints. See references/integrity-and-seed.md.


Query Performance Testing

For runnable EXPLAIN ANALYZE and index-validation code, see references/performance-and-docker.md.

EXPLAIN ANALYZE Patterns

Run EXPLAIN (ANALYZE, FORMAT JSON) on critical queries, read plan.Plan['Node Type'], and assert it matches /Index/ (not Seq Scan) and that plan['Execution Time'] is under threshold. See references/performance-and-docker.md.

Index Validation

Query pg_indexes and assert the columns you rely on for lookups and range scans (users.email, orders.user_id, orders.created_at) are actually indexed. See references/performance-and-docker.md.

Show full SKILL.md (823 more words)Show less
Slow Query Detection

Seed realistic volume (10K+ rows), then measure execution time with performance.now() and assert critical queries (dashboard aggregations with JOINs, GROUP BY, ORDER BY) complete under a threshold (e.g. 100ms).

MongoDB: use collection.find(...).explain('executionStats') to verify index usage (stage must not be COLLSCAN), check totalDocsExamined is close to nReturned, and verify compound indexes exist via collection.indexes().


Docker-Based Test Database

Preferred (2026): Testcontainers. @testcontainers/postgresql 11.14+ (May 2026) is the lower-friction default — programmatic container lifecycle, auto-cleanup, parallel execution with distinct ports. It removes the docker-compose file and port-conflict bookkeeping. See references/performance-and-docker.md for the PostgreSqlContainer setup.

Hand-rolled compose (still valid): docker-compose.test.yml with postgres:18-alpine, tmpfs for RAM-backed storage, and a pg_isready healthcheck. Map to a non-default port (e.g. 5433) to avoid conflicts with local Postgres. Match the major version to production — Postgres 18 is current (18.4, May 2026); bump from 17 unless production is pinned.

Chain scripts in package.json: test:db:up (compose up), test:db:migrate (prisma migrate deploy), test:db:seed (prisma db seed), test:db (all + jest), test:db:down (compose down -v).


Anti-Patterns

1. Testing against production database copies

Production data contains PII, is non-deterministic, and changes unpredictably. Use factories and seed scripts with synthetic data.

2. Shared database state between tests

Test A inserts a user; Test B assumes it exists; CI reorders them; Test B fails. Use transaction rollback or per-test cleanup.

3. Ignoring rollback testing

"We never roll back migrations" holds until the first migration breaks production. Test the down path. If the tool has no revert, that is a risk to document, not to skip.

4. Faking rollback with migrate resolve --rolled-back

That command only repairs a failed migration and throws on a clean one. It does not revert schema. Revert with the real mechanism: down.sql for Prisma, undoLastMigration() for TypeORM.

5. Using ORM sync instead of migrations

prisma db push, typeorm synchronize: true, Django migrate --run-syncdb skip the real migration path. Tests must use the same mechanism as production.

6. Testing only happy-path queries

A query that returns rows when data exists is the easy case. Test empty result sets, nulls in optional columns, max result sizes, and queries against the wrong data.

7. Performance assertions that can never fail

An EXPLAIN test that passes whether or not the index exists gives false confidence. Prove it goes red on a dropped index (see Verification).

8. Seeding with random data

faker.random() without a fixed seed, uuid(), and now() produce different data every run, making tests non-deterministic. Use fixed seeds and fixed values: faker.seed(42), explicit IDs, new Date('2026-01-01T00:00:00Z').


Verification

Prove the suite actually catches regressions, smallest check first:

  1. Suite is green from clean: npm run test:db exits 0 against a fresh Testcontainers database.
  2. The EXPLAIN test has teeth: in a scratch DB, DROP INDEX users_email_idx, re-run the query-performance test, confirm it fails (planner falls back to Seq Scan), then restore the index and confirm it passes again. A perf test that stays green with the index gone is broken — fix it before trusting it. See references/performance-and-docker.md.
  3. Drift check fires: prisma migrate diff --from-migrations prisma/migrations --to-schema-datamodel prisma/schema.prisma --exit-code returns 0 on a clean repo; hand-edit schema.prisma and confirm it returns non-zero.

Done When

  • A forward+rollback test file exists for the latest migration: forward applies from an empty DB and asserts schema via information_schema; rollback applies down.sql, asserts the reverted object absent, then re-applies — and it passes in CI.
  • A constraints test asserts a rejection (with the DB error message) for each of NOT NULL, UNIQUE, FOREIGN KEY, and CHECK, at the pool.query level.
  • A data-preservation test inserts rows before the migration under test and asserts they survive it (no fake --to flag).
  • A migration-drift check (prisma migrate diff … --exit-code) runs in CI and exits 0 on a clean repo.
  • Seed data is idempotent (upsert + fixed IDs) and switches profiles on SEED_ENV; re-running it twice produces identical state.
  • An EXPLAIN test asserts Node Type matches /Index/ and Execution Time is under threshold, and has been shown to fail when the index is dropped.
  • The test:db CI job exits 0 (green) against a Testcontainers database.

Reference Files (in references/)

  • migration-tests.md — Forward validation, rollback via down.sql, data preservation, drift detection (migrate diff), and schema snapshot comparison.
  • integrity-and-seed.md — Constraint and referential-integrity tests, data-quality audits, factory pattern, SEED_ENV seed script, and transaction-rollback isolation helpers.
  • performance-and-docker.md — EXPLAIN ANALYZE plan assertions, index validation, the dropped-index teeth test, and Testcontainers setup.
  • test-data-management — Synthetic data generation and masking at scale for non-production environments. Come here for in-test factories and seed scripts; go there for large realistic datasets and PII masking.
  • test-environments — Docker/IaC provisioning of test databases, environment parity. This skill uses Testcontainers inside a test suite; test-environments owns the standing infrastructure.
  • security-testing — SQL injection, database-level access control, and encryption verification. This skill tests integrity and correctness, not adversarial input.
  • ci-cd-integration — Running migration and DB test jobs in CI pipelines and provisioning test databases in GitHub Actions.
  • performance-testing — Load testing DB performance, connection-pool sizing, and query optimization under concurrent load (out of scope here).

© petrkindlmann, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/database-testing of petrkindlmann/qa-skills.

  • SKILL.md
  • references/integrity-and-seed.md
  • references/migration-tests.md
  • references/performance-and-docker.md

Open the folder on GitHubat commit b3bb61b

Compare with similar skills

Database Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Database Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Database Testing this skillpetrkindlmann/qa-skills163—~4.2kAutomated safety check: PassMIT
Database Expertcin12211/orca-q223—~2.8kAutomated safety check: PassMIT
DB SculptorEliasOulkadi/shokunin114—~3.1kAutomated safety check: NotesMIT
DB Review312362115/claude107—~1.8kAutomated safety check: PassMIT
SQL Database Assistantalirezarezvani/claude-skills28k—~4kAutomated safety check: PassMIT
Prisma Database Setupcurvenote/curvenote1693 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Database Expert

    cin12211/orca-q

    Database performance optimization, schema design, query analysis, and connection management across PostgreSQL, MySQL, MongoDB, and SQLite with ORM integration.

    223 GitHub stars~2.8k tokensUpdated 16 days ago
    DatabasesAuto-check passed
  • DB Sculptor

    EliasOulkadi/shokunin

    Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…

    114 GitHub stars~3.1k tokensUpdated 2 days ago
    DatabasesAuto-check: notes
  • DB Review

    312362115/claude

    数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.

    107 GitHub stars~1.8k tokensUpdated 4 mo ago
    DatabasesAuto-check passed
  • SQL Database Assistant

    alirezarezvani/claude-skills

    A skill your agent uses when the user asks to write SQL queries, optimize database performance, generate migrations, explore database schemas, or work with ORMs like Prisma, Drizzle, TypeORM, or…

    28k GitHub stars~4k tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • Prisma Database Setup

    curvenote/curvenote

    Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.).

    169 GitHub starsUsed in 3 repos~1.4k tokens
    DatabasesAuto-check passed
  • Database Fundamentals

    DanielPodolsky/ownyourcode

    Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.

    290 GitHub starsUsed in 1 repo~1.6k tokens
    DatabasesAuto-check passed

More from petrkindlmann/qa-skills

All 45 skills in this repo
  • Accessibility Testing

    petrkindlmann/qa-skills

    Test for WCAG 2.2 AA compliance with axe-core + Playwright, keyboard navigation audits, screen reader testing, ARIA pattern validation, and legal compliance mapping (ADA, EAA, Section 508).

    163 GitHub stars~4.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Agentic Browser Testing

    petrkindlmann/qa-skills

    Goal-driven E2E testing where a browser agent (Playwright MCP / computer-use) reads a natural-language goal and explores the app via the accessibility tree to assert outcomes — no pre-written script.

    163 GitHub stars~4.5k tokensUpdated 3 mo ago
    Auto-check passed
  • AI Test Generation

    petrkindlmann/qa-skills

    Use AI to write NEW test code from specs, PRDs, user stories, code diffs, bug reports, or OpenAPI specs.

    163 GitHub stars~4.8k tokensUpdated 3 mo ago
    Auto-check passed
  • API Testing

    petrkindlmann/qa-skills

    Test REST and GraphQL APIs with Playwright APIRequestContext, Supertest, or standalone HTTP clients.

    163 GitHub stars~2.7k tokensUpdated 3 mo ago
    Auto-check passed
  • CI CD Integration

    petrkindlmann/qa-skills

    Design CI/CD pipelines that run test suites. An agent skill from petrkindlmann/qa-skills.

    163 GitHub stars~4.8k tokensUpdated 3 mo ago
    Auto-check passed
  • Compliance Testing

    petrkindlmann/qa-skills

    Test for regulatory compliance: GDPR/CMP consent verification, Google Consent Mode v2, Global Privacy Control (GPC), CCPA/US state opt-out, EU AI Act Article 50 transparency, Better Ads Standards…

    163 GitHub stars~4.6k tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about Database Testing

What does Database Testing do?

Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues. Database Testing is an agent skill from petrkindlmann/qa-skills. Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues.

When should I use Database Testing?

Database Testing fits situations like: : database test; migration rollback; schema validation; query performance.

How do I install Database Testing in Claude Code?

Run `npx skills add petrkindlmann/qa-skills --skill database-testing -a claude-code`. Or copy the skill folder (skills/database-testing in petrkindlmann/qa-skills) into .claude/skills/database-testing in your project. Claude Code loads it when a task matches its description.

How do I install Database Testing in Codex?

Run `npx skills add petrkindlmann/qa-skills --skill database-testing -a codex`. Or copy the skill folder (skills/database-testing in petrkindlmann/qa-skills) into .agents/skills/database-testing in your project. Codex loads it when a task matches its description.

Can I use Database Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add petrkindlmann/qa-skills --skill database-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/database-testing, .gemini/skills/database-testing, .github/skills/database-testing and .opencode/skills/database-testing in your project.

What does Database Testing need to run?

Going by SKILL.md and its folder, Database Testing needs the command-line tools its instructions call (psql, pg_dump, jest, npm and node). Our summary lists: Docker.

Does Database Testing access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Database Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Database Testing use?

Database Testing is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Database Testing use?

About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.8k tokens, read only when the agent opens those files.

What are the alternatives to Database Testing?

Skills that share tags, products or a category with Database Testing: Database Expert (cin12211/orca-q, 223 stars), DB Sculptor (EliasOulkadi/shokunin, 114 stars), DB Review (312362115/claude, 107 stars) and SQL Database Assistant (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Database Testing?

petrkindlmann (a GitHub user) maintains it in petrkindlmann/qa-skills, which has 163 GitHub stars. The repository holds 45 skills in this directory. The repository was last updated on June 10, 2026.

Source: petrkindlmann/qa-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.