DBHub Testing Skill
Skill Verified ActiveRun 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.
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
- Identify the type of test to run (unit, integration, specific file).
- Execute the corresponding pnpm test command.
- If issues arise, consult the troubleshooting section for guidance on container startup, timeouts, or isolation problems.
- Analyze test output to identify failures.
- 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/dbhubRuns 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
VerifiedTrust Signals
Similar Extensions
Vue Testing Best Practices
100Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
API Test Suite Builder
99Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.
Containerize MCP Server
100Containerize 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.
Azure Container Registry SDK for Python
100Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".
Migrate Validate
100Validate pending migrations for foreign key consistency, rollback safety, and best practices
Sql Optimization
100Universal 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.