Skip to main content

check-sync-provider

Checks if the downstream provider repository is aligned with the correct Magic Modules base commit.

Informações da origem

Repositório
GoogleCloudPlatform/magic-modules
Última atividade na origem
14 de maio de 2026 às 21:22
Idioma detectado do SKILL.md
inglês
Estrelas
975
Forks
2.573

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
check-sync-provider
description
Checks if the downstream provider repository is aligned with the correct Magic Modules base commit.
# `check-sync-provider` Use this skill to verify if the downstream repository is at the correct baseline commit before generating code or running tests. ## Execution Steps ### 1. Identify Magic Modules Base Commit * Identify the official `GoogleCloudPlatform/magic-modules` remote (usually `upstream`). * Calculate the target base commit: * If on `main`: Use current commit (`HEAD`). * If on a feature branch: Run `git merge-base HEAD <canonical-remote>/main` to find where the branch diverged. ### 2. Find the Matching Downstream Commit * Search the downstream repository's log for a commit that references this Magic Modules base commit hash in its commit message. ### 3. Compare and Report * Verify if the `HEAD` of the downstream repository matches that found commit. * If they match, report **Synced**. * If they do not match, or the commit cannot be found, report **Out of Sync** and provide the details.
Ver no GitHub