MCP HubMCP Hub
スキル一覧に戻る

managing-test-environments

jeremylongshore
更新日 Yesterday
85 閲覧
712
74
712
GitHubで表示
メタaitesting

について

このスキルは、ClaudeがDocker ComposeとTestcontainersを使用して、隔離された再現可能なテスト環境を管理できるようにします。開発者は、テストインフラストラクチャをプログラムで設定し、環境変数を構成し、適切なクリーンアップを保証する必要がある場合にこれを使用すべきです。これは「テスト環境」、「docker compose」、または「testcontainers」といった用語によってトリガーされます。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus
Git クローン代替
git clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/managing-test-environments

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Overview

This skill empowers Claude to orchestrate and manage isolated test environments, ensuring consistent and reproducible testing processes. It simplifies the setup and teardown of complex testing infrastructures by leveraging Docker Compose, Testcontainers, and environment variable management.

How It Works

  1. Environment Creation: Generates isolated test environments with databases, caches, message queues, and other dependencies.
  2. Docker Compose Management: Creates and configures docker-compose.yml files to define the test infrastructure.
  3. Testcontainers Integration: Sets up programmatic container management using Testcontainers for dynamic environment configuration.

When to Use This Skill

This skill activates when you need to:

  • Create an isolated test environment for a software project.
  • Manage Docker Compose files for test infrastructure.
  • Set up programmatic container management using Testcontainers.

Examples

Example 1: Setting up a Database Test Environment

User request: "Set up a test environment with a PostgreSQL database and a Redis cache using Docker Compose."

The skill will:

  1. Generate a docker-compose.yml file defining PostgreSQL and Redis services.
  2. Configure environment variables for database connection and cache access.

Example 2: Creating a Test Environment with Message Queue

User request: "Create a test environment with RabbitMQ using Testcontainers."

The skill will:

  1. Programmatically create a RabbitMQ container using Testcontainers.
  2. Configure environment variables for message queue connection.

Best Practices

  • Configuration: Ensure that all necessary environment variables are properly configured for the test environment.
  • Cleanup: Implement cleanup routines to remove test environments after use.
  • Isolation: Verify that the test environment is properly isolated from other environments.

Integration

This skill integrates with other Claude Code plugins to manage the deployment and execution of tests within the created environments. It can work with CI/CD tools to automate testing workflows.

GitHub リポジトリ

jeremylongshore/claude-code-plugins-plus
パス: backups/skills-batch-20251204-000554/plugins/testing/test-environment-manager/skills/test-environment-manager
aiautomationclaude-codedevopsmarketplacemcp

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

sglang

メタ

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る