cd-repository-discovery

Locate Xperience app and CI/CD repository paths, detect repository.config version, and write cd-repository-context.json.

14|7|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/Kentico/xperience-by-kentico-kenticopilot --skill cd-repository-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cd-repository-discovery
Source: https://github.com/Kentico/xperience-by-kentico-kenticopilot/tree/main/plugins/configure-cd-repository/skills/cd-repository-discovery
Command: npx skills add https://github.com/Kentico/xperience-by-kentico-kenticopilot --skill cd-repository-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes guesswork when configuring a CD repository by automatically finding the Xperience app path, CI repository folder, and CD repository.config location, plus the right tooling for change sourcing.

Core Features & Use Cases

  • App + CI/CD Path Discovery: Locates App_Data/CIRepository and App_Data/CDRepository/repository.config and infers appPath from the project structure.
  • Repository Configuration Version Detection: Reads the RepositoryConfiguration Version="X" attribute to identify whether the config is v1 or v2, including warning guidance for v1.
  • Tool Availability Detection: Checks for gh and local git, then selects a preferred change source accordingly.
  • Reusable Context Output: Writes a machine-readable cd-repository-context.json for follow-up CD repository configuration steps.

Quick Start

Ask the AI to run cd-repository-discovery and write the discovery context into your chosen folder so you can immediately proceed with cd-repository-configure.

Frequently Asked Questions about cd-repository-discovery

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

FAQPage Schema
How do I find the CI repository path and CD repository.config for Xperience by Kentico?

To find the CI repository path and CD repository.config, run the cd-repository-discovery tool to automatically locate `App_Data/CIRepository` and `App_Data/CDRepository/repository.config` while inferring the app path from your project structure.

What is a repository.config syntax version and why does it matter for CD setup?

A repository.config syntax version is identified by the `RepositoryConfiguration Version` attribute, indicating whether your config is v1 or v2. It matters because v1 triggers warning guidance, ensuring you apply version-specific upgrade steps during CD setup.

Does CD repository discovery detect local git and gh cli tooling for change sourcing?

Yes, CD repository discovery detects local git and gh cli tooling availability. It checks for both tools and selects a preferred change source accordingly to streamline your CI/CD setup workflow.

How do I generate a machine-readable context file for CD repository configuration?

You generate a machine-readable context file by asking the AI to run the discovery process and write the output into your chosen folder. This creates an absolute-path `cd-repository-context.json` file for follow-up configuration.

Can I use cd-repository-discovery without configuring an output folder?

No, you cannot use cd-repository-discovery without an output folder. The tool requires a user-provided folder path to write the `cd-repository-context.json` file that records tooling selection and discovery notes for subsequent steps.