trunk-validate

Validate trunk-based migration integrity across six automated checks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/onesmartguy/raptor-claude-plugins --skill trunk-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trunk-validate
Source: https://github.com/onesmartguy/raptor-claude-plugins/tree/main/plugins/dotnet/skills/trunk-validate
Command: npx skills add https://github.com/onesmartguy/raptor-claude-plugins --skill trunk-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

trunk-based migrations are error-prone and can derail releases; this skill provides automated checks to validate configurations and environment readiness before merging.

Core Features & Use Cases

  • Automated Validation: Run six checks including kustomize builds, pipeline components, review apps, secrets, and production gates.
  • Pre-merge Guardrails: Ensure the trunk migration config and artifacts are correct prior to MR creation.
  • Use Case: Validate environments and secrets before merging a trunk migration.

Quick Start

Run trunk-validate against your repository to perform the six validation checks.

Frequently Asked Questions about trunk-validate

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

FAQPage Schema
How do I validate trunk-based migration integrity before merging?

To validate trunk-based migration integrity before merging, you can run automated checks against your repository to verify kustomize builds, pipeline components, review apps, secrets, and production gates. This enforces correct config usage and safe defaults prior to MR creation.

What is trunk-based migration validation and why is it needed?

Trunk-based migration validation is an automated process that verifies environment readiness and configuration correctness. It is needed because trunk-based migrations are error-prone and can derail releases if environments, secrets, and pipeline components are not checked before merging.

How do I check environment scoping and secrets for a trunk migration pipeline?

You can check environment scoping and secrets by running a six-check validation workflow that specifically inspects secrets, review apps, and pipeline components. This ensures proper environment scoping and correct configuration usage before your trunk migration is merged.

Does trunk validation support kustomize builds and CI pipeline components?

Yes, trunk validation supports kustomize builds and CI pipeline components. It executes comprehensive checks to validate these artifacts across multiple environments and stages to ensure safe defaults within your continuous integration workflow.

What's the best way to prevent configuration errors in trunk migrations?

The best way to prevent configuration errors in trunk migrations is to apply automated pre-merge guardrails. By executing six comprehensive checks on kustomize builds, secrets, and production gates, you validate environment readiness and ensure correct config usage before merging.

Why does my trunk migration fail during release after passing local checks?

Trunk migrations often fail during release because local checks do not validate production gates, pipeline components, or environment scoping. Running an automated six-check validation identifies these issues by enforcing safe defaults and proper config usage before merge request creation.