Skip to main content

DBHub Testing Skill

Skill Verified Active

Run and troubleshoot tests for DBHub, including unit tests, integration tests with Testcontainers, and database-specific tests. Use when asked to run tests, fix test failures, debug integration tests, troubleshoot Docker/database container issues, or add new tests. Also use when verifying code changes work correctly or when CI test failures need investigation.

Purpose

To provide a reliable and well-documented way to run, debug, and troubleshoot tests for the DBHub project, ensuring code quality and stability.

Features

  • Run unit tests
  • Run integration tests with Testcontainers
  • Troubleshoot Docker and database container issues
  • Debug test failures
  • Add new tests

Use Cases

  • When asked to run tests for DBHub
  • When fixing test failures
  • When debugging integration tests
  • When investigating CI test failures

Non-Goals

  • Developing or modifying the DBHub core application logic
  • Managing database schemas or data outside of the testing context

Workflow

  1. Identify the type of test to run (unit, integration, specific file).
  2. Execute the corresponding pnpm test command.
  3. If issues arise, consult the troubleshooting section for guidance on container startup, timeouts, or isolation problems.
  4. Analyze test output to identify failures.
  5. Make necessary code or test corrections and re-run tests.

Prerequisites

  • Docker installed and running
  • Sufficient Docker memory (4GB+ recommended)

Installation

npx skills add bytebase/dbhub

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
98 /100
Analyzed about 23 hours ago

Trust Signals

Last commit23 days ago
Stars2.7k
LicenseMIT
Status
View Source

Similar Extensions

Vue Testing Best Practices

100

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Skill
hyf0

API Test Suite Builder

99

Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.

Skill
alirezarezvani

Containerize MCP Server

100

Containerize an R-based MCP (Model Context Protocol) server using Docker. Covers mcptools integration, port exposure, stdio vs HTTP transport, and connecting Claude Code to the containerized server. Use when deploying an R MCP server without requiring a local R installation, creating a reproducible MCP server environment, running MCP servers alongside other containerized services, or distributing an MCP server to other developers.

Skill
pjt222

Azure Container Registry SDK for Python

100

Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".

Skill
microsoft

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

Skill
ruvnet

Sql Optimization

100

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.

Skill
github

© 2025 SkillRepo · Find the right skill, skip the noise.