Testcontainers Skills for Claude
Skills are folders of instructions, scripts, and resources that Claude loads dynamically to improve performance on specialized tasks. This repository contains Testcontainers-related skills that teach Claude how to work with container-based testing and infrastructure.
For more information about skills, check out:
About This Repository
This repository contains Testcontainers-related skills for Claude. These skills help Claude work more effectively with container-based testing infrastructure, particularly focusing on integration testing patterns using Docker containers.
Each skill is self-contained in its own directory with a SKILL.md file containing the instructions and metadata that Claude uses.
The skills in this repository are open source under the MIT License.
Disclaimer
These skills are provided for demonstration and educational purposes only. While some of these capabilities may be available in Claude, the implementations and behaviors you receive from Claude may differ from what is shown in these examples. These examples are meant to illustrate patterns and possibilities. Always test skills thoroughly in your own environment before relying on them for critical tasks.
Available Skills
testcontainers-go
A comprehensive guide for using Testcontainers for Go to write reliable integration tests with Docker containers in Go projects. This skill provides:
- Support for 62+ pre-configured modules for databases, message queues, cloud services, and more
- Best practices for setting up and managing Docker containers in Go tests
- Configuration guidance for networking, volumes, and environment variables
- Proper cleanup and resource management patterns
- Debugging and troubleshooting techniques
Key capabilities:
- Use pre-configured modules (PostgreSQL, Redis, Kafka, MySQL, MongoDB, and more)
- Write integration tests with real services instead of mocks
- Test against multiple versions or configurations of dependencies
- Create reproducible test environments
- Set up ephemeral test infrastructure
See the testcontainers-go skill documentation for detailed usage instructions and examples.
testcontainers-dotnet
A comprehensive guide for using Testcontainers for .NET to write reliable integration tests with Docker containers in .NET projects. This skill provides:
- Support for 65+ pre-configured modules for databases, message queues, cloud services, and more
- Best practices for setting up and managing Docker containers in .NET tests (xUnit, NUnit, MSTest)
- Configuration guidance for networking, volumes, and environment variables
- Proper cleanup and resource management patterns with IAsyncLifetime
- Debugging and troubleshooting techniques
Key capabilities:
- Use pre-configured modules (PostgreSQL, SQL Server, Redis, MongoDB, Kafka, and more)
- Write integration tests with real services instead of mocks
- Test against multiple versions or configurations of dependencies
- Create reproducible test environments with Entity Framework Core
- Set up ephemeral test infrastructure
See the testcontainers-dotnet skill documentation for detailed usage instructions and examples.
Try in Claude Code, Claude.ai, and the API
Claude Code
You can register this repository as a Claude Code Plugin marketplace by running the following command in Claude Code:
/plugin marketplace add testcontainers/claude-skills
Then, to install the testcontainers skill:
- Select
Browse and install plugins
- Select
testcontainers-claude-skills
- Select
testcontainers
- Select
Install now
Alternatively, directly install the plugin via:
/plugin install testcontainers@testcontainers-claude-skills
After installing the plugin, you can use the skills by just mentioning them. For instance: "Use the testcontainers-go skill to help me write an integration test for PostgreSQL" or "Use the testcontainers-dotnet skill to help me write an integration test for SQL Server"
Claude.ai
To use any skill from this repository or upload custom skills, follow the instructions in Using skills in Claude.
Claude API