apply-change-to-repo-hierarchy

Applies coordinated Git submodule changes leaf-to-root with automated builds and tests.

3|16|Updated Mar 14, 2019
One-click install
npx skills add https://github.com/Azure/c-build-tools --skill apply-change-to-repo-hierarchy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apply-change-to-repo-hierarchy
Source: https://github.com/Azure/c-build-tools/tree/main/.github/skills/apply-change-to-repo-hierarchy
Command: npx skills add https://github.com/Azure/c-build-tools --skill apply-change-to-repo-hierarchy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of applying coordinated changes across a repository and all its git submodules, ensuring consistency and reducing manual drift.

Core Features & Use Cases

  • Discover and map all submodules in a repository hierarchy.
  • Apply changes leaf-to-root with dependency-aware sequencing and topic-branch isolation.
  • Build, test, and validate traceability and repo quality before PRs.

Quick Start

Provide the starting repository path, a change prompt, and a topic branch name to begin applying changes across the hierarchy.

Frequently Asked Questions about apply-change-to-repo-hierarchy

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

FAQPage Schema
How do I apply coordinated changes across a git repository and all its submodules?

To apply coordinated changes across a git repository and submodules, you provide a repository path, change prompt, and branch name. The automation discovers submodules, filters third-party repos, and applies dependency-aware changes leaf-to-root with topic-branch isolation.

How does dependency-aware sequencing work when updating git submodules?

Dependency-aware sequencing updates git submodules by applying changes leaf-to-root. This ensures upstream dependencies are modified before parent repositories, maintaining consistency and reducing manual drift across the entire repository hierarchy.

Can I automatically build and test repositories before creating pull requests?

Yes, you can automatically build and test repositories before creating pull requests. After applying changes across the hierarchy, the workflow validates repository quality, verifies traceability, and outputs modified repos and PR references.

Does the workflow filter out third-party submodules during repository automation?

Yes, the workflow filters third-party repositories during the submodule discovery phase. This ensures that automated changes are only applied to your own codebase, preventing accidental modifications to external dependencies.

What do I need to start automating changes across my repository hierarchy?

To start automating changes across your repository hierarchy, you need a starting repository path, a change prompt describing the modifications, and a topic branch name. The workflow clones to a temporary work area to safely apply the changes.

What is the best way to isolate feature changes across multiple nested repositories?

The best way to isolate feature changes across nested repositories is using topic-branch isolation. This approach clones the hierarchy to a temporary work area and applies context-aware prompts leaf-to-root, ensuring consistent branch tracking.