trunk-plan

Generates a read-only preview of trunk-based migration plans for .NET services.

Updated Jul 22, 2026
One-click install
npx skills add https://github.com/Trigent-Software-Pvt-Ltd/trigen-aidlc --skill trunk-plan-trigent-software-pvt-ltd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trunk-plan
Source: https://github.com/Trigent-Software-Pvt-Ltd/trigen-aidlc/tree/main/plugins/dotnet/skills/trunk-plan
Command: npx skills add https://github.com/Trigent-Software-Pvt-Ltd/trigen-aidlc --skill trunk-plan-trigent-software-pvt-ltd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Before migrating a .NET service to trunk-based development with Kustomize and GitLab CI/CD, teams need to know exactly which files will be created, modified, or deleted. This Skill reads the migration config and presents a complete execution plan for review without touching any files. ## Core Features & Use Cases - Decision Tree Evaluation: Evaluates five decision trees covering API versioning, Auth0, NuGet packages, UI regression tests, and EF migrations to determine which pipeline jobs apply. - File Change Preview: Lists all Kustomize manifests to create, the .gitlab-ci.yml rewrite, and legacy files to delete, adapted for single-service webapi, multi-service, and Azure Functions modes. - Pipeline Structure Preview: Shows planned CI/CD stages and jobs for both merge request and main branch pipelines, including matrix dimensions for regions, environments, and versions. - Use Case: After running trunk-discover to generate a config, a developer runs this Skill to verify that 25 Kustomize files will be created and the Auth0 deploy jobs are included before approving the actual migration. ## Quick Start Ask the assistant to preview the trunk migration plan using the trunk-migration-config.yaml in the repository root.

Frequently Asked Questions about trunk-plan

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

FAQPage Schema
How do I preview a trunk-based migration plan before making changes?

Run the trunk-plan skill with the path to your trunk-migration-config.yaml file. It reads the config, evaluates five decision trees, and lists all files to create, modify, and delete without modifying anything.

What config file does the trunk migration plan require?

It requires a trunk-migration-config.yaml file, typically generated by running trunk-discover first. If no path is provided as an argument, it checks the repository root and prompts you to run discovery if the file is missing.

Does trunk-plan support Azure Functions migrations?

Yes, it detects Functions migration mode when a service has type functions-worker or functions-http. The plan then includes ScaledObject manifests for workers, Service Bus secrets, and skips swagger and APIM jobs for worker services.

Does the trunk-plan skill modify any files?

No, trunk-plan is strictly read-only. It only reads the config and repository files to report the planned changes, and the actual migration requires explicitly invoking trunk-migrate afterward.

What decision trees does the migration plan evaluate?

It evaluates five decision trees: API versioning (single vs multi-version APIM), Auth0 deployment jobs, NuGet package publishing, UI regression test jobs, and EF Core migration validation and deploy jobs.