infrastructure-testing

Automate Kubernetes infrastructure test validation with mandatory context checks.

8|2|Updated Jul 13, 2015
One-click install
npx skills add https://github.com/tstapler/dotfiles --skill infrastructure-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infrastructure-testing
Source: https://github.com/tstapler/dotfiles/tree/main/.claude/skills/infrastructure-testing
Command: npx skills add https://github.com/tstapler/dotfiles --skill infrastructure-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates validation of Kubernetes infrastructure tests with mandatory context checks to prevent deployments to the wrong cluster.

Core Features & Use Cases

  • Verify context before running tests to avoid accidental deployments.
  • Run TestKube workflows and PGBouncer tests across environments with guardrails.
  • Review environment mappings and pre-flight checks to ensure readiness before testing.

Quick Start

Switch to the correct kubectl context and run the TestKube workflows to validate infrastructure tests.

Frequently Asked Questions about infrastructure-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental Kubernetes deployments to the wrong cluster during testing?

To prevent accidental Kubernetes deployments to the wrong cluster, you can enforce mandatory context verification checks before executing TestKube workflows. This validates the active kubectl context and gates test execution against predefined environment mappings.

How do I run TestKube workflows for Kubernetes infrastructure testing?

You run TestKube workflows for Kubernetes infrastructure testing by switching to the correct kubectl context and triggering the workflow execution. Pre-flight checks validate environment readiness before the actual infrastructure tests are applied.

Can I use PGBouncer tests across multiple Kubernetes environments?

Yes, you can run PGBouncer tests across multiple Kubernetes environments. The testing process applies guardrails and environment mappings to ensure safe, end-to-end validation without risking deployments to unintended clusters.

What pre-flight checks are needed for TestKube infrastructure tests on Kubernetes?

Pre-flight checks for TestKube infrastructure tests on Kubernetes involve reviewing environment mappings and verifying the current kubectl context. These secure gating steps ensure cluster readiness and validate that the target environment is correct before testing begins.

Does kubeconfig context verification work with PGBouncer and TestKube workflows?

Yes, kubeconfig context verification works with PGBouncer and TestKube workflows by acting as a secure gating mechanism. It explicitly validates the active context against required environments to prevent executing tests on the wrong cluster.