Skip to main content

check-sync-provider

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

소스 정보

저장소
GoogleCloudPlatform/magic-modules
최근 소스 활동
2026년 5월 14일 21:22
감지된 SKILL.md 언어
영어
스타
975
포크
2,573

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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.
GitHub에서 보기