Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

changeset-validation

/changeset-validation

Waliduje changesety w openai-agents-js, porównując je z różnicami w gitcie (także niezatwierdzonymi), i sprawdza zgodność PR oraz poziom podbicia wersji.

Licencja
MIT
Ostatnia zmiana repozytorium
21.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
8
Skrypty
5
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 21.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 5 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/changeset-assign-milestone.mjs, scripts/changeset-prompt.mjs, scripts/changeset-prompt.test.mjs, scripts/changeset-validation-result.mjs, scripts/run-fixtures.sh

Co robi i kiedy

Waliduje changesety w openai-agents-js, porównując je z różnicami w gitcie (także niezatwierdzonymi), i sprawdza zgodność PR oraz poziom podbicia wersji.

Oryginalny opis (EN)

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.

Jak działa

  1. Overview
  2. Quick start
  3. Workflow
  4. Branch-level changeset rule (do not skip)
  5. Shared source of truth
  6. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 50 linii, 305 słów
Podgląd 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`
Pliki w paczce (8)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB
  • references/validation-prompt.md 5 KB
  • scripts/changeset-assign-milestone.mjs 7 KB
  • scripts/changeset-prompt.mjs 14 KB
  • scripts/changeset-prompt.test.mjs 8 KB
  • scripts/changeset-validation-result.mjs 2 KB
  • scripts/run-fixtures.sh 5 KB

Wersje

W bazie nie ma innych skilli o nazwie changeset-validation.

Migawka bazy z 13.11.2026 · wersja paczki 2cd236700d65 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100pr-changeset
    Tworzy changesety dla zmian w pakietach w pull requestach, bo bez nich pipeline wydania nie wie, co i jak wersjonować.
  • 100changesets
    Pisze wpis changeset dla zmiany w repozytorium z folderem .changeset, dobierając poziom podbicia do tego, czy coś istniało wcześniej.
  • 100pr-changeset
    Tworzy changesety dla zmian w pakietach w PR, przy każdej modyfikacji plików w packages/*, żeby potok wydań wiedział, co się zmieniło i jak nadać wersję.
  • 100changeset
    Tworzy changeset dla zmian w gałęzi i pisze noty wydania dla zmienionych pakietów.
  • 100changeset
    Pisze wpisy Changesets dla monorepo JavaScript lub TypeScript, dobiera poziom podbicia dla każdego pakietu i streszcza zmianę.
  • 100changeset
    Generuje plik changeset opisujący zmiany bieżącego PR, z losową nazwą w .changeset, listą pakietów, typem podbicia wersji i podsumowaniem dla użytkownika do 80 znaków.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.