Skip to main content

validate-provider-changes

Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation. Use this skill when the user wants to check for breaking changes, missing tests, or missing documentation, or other problems in the downstream providers.

소스 정보

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

설치 방법

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

소스 파일 검토

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

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
validate-provider-changes
description
Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation. Use this skill when the user wants to check for breaking changes, missing tests, or missing documentation, or other problems in the downstream providers.
# `validate-provider-changes` > **Note to AI Agents:** You MUST read the YAML frontmatter above first. Only read the rest of this file if the `description` matches your required task. > This skill allows you to run local breaking changes, missing tests, and missing documentation checks on Magic Modules schema and provider changes. ## Prerequisites - You must be operating in the `magic-modules` root directory. - You must have `go` installed and configured. ## Execution Steps ### 1. Run the Provider Changes Validator Run the script to compare your current local changes (committed or uncommitted) against the base branch (defaults to the merge base with `origin/main` or `main`): ```bash ./.agents/skills/utils/validate-provider-changes/scripts/validate_provider_changes.sh ``` To compare against a specific branch or commit (e.g. `HEAD` to check uncommitted changes against the current commit): ```bash ./.agents/skills/utils/validate-provider-changes/scripts/validate_provider_changes.sh HEAD ``` Or to compare against a base branch: ```bash ./.agents/skills/utils/validate-provider-changes/scripts/validate_provider_changes.sh <base_branch_or_commit> ``` ### 2. Analyze the Output The tool runs three checks across both GA and Beta provider versions: - **Breaking Changes:** Detects backwards-incompatible schema changes. - **Missing Tests:** Identifies new or changed fields that are not covered by any acceptance tests. - **Missing Documentation:** Identifies new fields that are not documented in the resource/datasource markdown files. ### 3. Verification & Handoff If any issues (breaking changes, missing tests, or missing docs) are detected, present them clearly to the user. Discuss potential mitigations and fixes before proceeding.
GitHub에서 보기