Skip to main content

changeset-validation

Validate changesets in openai-agents-js using LLM judgment against git diffs (including uncommitted local changes). Use when packages/ or .changeset/ are modified, or when verifying PR changeset compliance and bump level.

소스 정보

저장소
openai/openai-agents-js
최근 소스 활동
2026년 9월 21일 23:35
감지된 SKILL.md 언어
영어
스타
3,921
포크
986

설치 방법

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

소스 파일 검토

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

파일 탐색기
8 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
changeset-validation
description
Validate changesets in openai-agents-js using LLM judgment against git diffs (including uncommitted local changes). Use when packages/ or .changeset/ are modified, or when verifying PR changeset compliance and bump level.
# Changeset Validation ## Overview This skill validates whether changesets correctly reflect package changes and follow the repository rules. It relies on the shared prompt in `references/validation-prompt.md` so local Codex reviews and GitHub Actions share the same logic. Experimental or preview-only feature additions that are explicitly labeled as such in the diff may remain a patch bump when they do not change existing behavior. Major bumps are only allowed after the first major release; before that, do not use major bumps for feature-level changes. ## Quick start Local (Codex-driven): 1. Run: ```bash pnpm changeset:validate-prompt ``` 2. Apply the rules from `references/validation-prompt.md` to the generated prompt. 3. Respond with a JSON verdict containing ok/errors/warnings/required_bump (English-only strings). CI (Codex Action): 1. Run: ```bash pnpm changeset:validate-prompt -- --ci --output .github/codex/prompts/changeset-validation.generated.md ``` 2. Use `openai/codex-action` with the generated prompt and JSON schema to get a structured verdict. ## Workflow 1. Generate the prompt context via `pnpm changeset:validate-prompt`. 2. Apply the rules in `references/validation-prompt.md` to judge correctness. 3. Provide a clear verdict and required bump (patch/minor/major/none). 4. If the changeset needs edits, update it and re-run the validation. ## Branch-level changeset rule (do not skip) - If any `.changeset/*.md` file is already present in the current branch diff, treat it as the active changeset. **Do not add a new changeset file.** - Instead, **update the existing changeset file** by rewriting its summary to reflect the **primary change relative to `main`**. Do not try to capture every incremental update. - Keep the summary at **one line**; replace the line as needed rather than appending. If you must include multiple points, compress them into a single line. ## Shared source of truth - Keep the prompt file as the single source of validation rules. - Keep the script lightweight: it should only gather context and emit the prompt. ## Resources - `references/validation-prompt.md`
GitHub에서 보기