trunk-discover

Scans .NET repositories to detect service configuration and generate trunk-migration-config.yaml.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Migrating .NET services to trunk-based development requires gathering dozens of configuration values scattered across solution files, Dockerfiles, Kubernetes manifests, and GitLab CI pipelines. This Skill automates that discovery by scanning the repository, extracting existing settings, and producing a complete trunk-migration-config.yaml file. ## Core Features & Use Cases - Automated Repository Scanning: Detects solution files, projects, Dockerfiles, service types (webapi, functions-http, functions-worker), K8s manifests, KEDA triggers, and CI/CD variables. - Interactive Gap-Fill: Prompts for values that cannot be auto-detected, such as ACR registries, AKS clusters, Key Vault names, APIM API IDs, and Jira ticket IDs. - Config Generation: Writes a validated trunk-migration-config.yaml supporting single-service and multi-service repos, including Azure Functions and multi-region setups. - Use Case: A platform engineer migrating a .NET API service to trunk-based development runs discovery to auto-extract namespaces, New Relic app names, health check paths, and gateway settings instead of manually auditing every manifest. ## Quick Start Ask the assistant to scan this .NET repository and generate the trunk migration configuration file.

Frequently Asked Questions about trunk-discover

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

FAQPage Schema
How do I generate a trunk migration config for a .NET service?

Run the trunk-discover skill in the repository root. It scans solution files, Dockerfiles, Kubernetes manifests, and .gitlab-ci.yml to auto-detect configuration, asks for missing values like ACR and AKS names, then writes trunk-migration-config.yaml.

How does trunk discovery detect Azure Functions services?

It checks Dockerfiles for Functions DLL entrypoints and .csproj files for AzureFunctionsVersion. Services are classified as functions-http or functions-worker based on triggers like ServiceBusTrigger found in code and APIM templates in the CI pipeline.

Does trunk-discover support multi-service repositories?

Yes. It detects multiple Dockerfiles under src/ subdirectories or parallel matrix IMAGE_NAME entries in .gitlab-ci.yml, then uses the services list schema where each service carries its own functions configuration block.

What information must I provide manually during discovery?

You must supply values that cannot be auto-detected: ACR registry names, AKS cluster names and resource groups, Key Vault names, APIM API IDs, the Jira ticket ID, and confirmed New Relic app names when Azure DevOps tokens are found.

What happens if my repo has no Kubernetes manifests?

The skill treats it as a greenfield migration and warns that more information will be needed. If .gitlab-ci.yml is missing, it notes that CI/CD will be created from scratch during migration.