ワンクリックで
pr-hygiene
Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | pr-hygiene |
| description | Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository. |
| tags | ["pull-request","changeset","release","validation"] |
Use this skill before creating or updating a pull request, adding a changeset, or choosing a PR title.
Make PRs pass repository policy on the first try:
Use Conventional Commit format:
<type>(optional-scope): <summary>
Allowed types:
feat - user-visible feature or API addition.fix - bug fix.docs - documentation-only change.style - formatting or stylistic change with no behavior impact.refactor - internal restructuring with no intended behavior change.perf - performance improvement.test - test-only change.build - build tooling or dependency change.ci - CI workflow change.chore - maintenance that does not fit another type.revert - revert a prior change.Examples:
feat: add durable websocket attachment helpers
fix(worker): preserve websocket upgrade responses
ci: require changesets on pull requests
chore: update Vite Plus tooling
feat!: simplify durable websocket state APIs
Use ! for breaking changes. Prefer feat! for intentional breaking API changes.
Every PR must include one non-README file under .changeset/.
Use a package changeset when the change affects a published package:
---
"effect-cf": minor
---
Add Effect-native Durable Object WebSocket helpers for typed hibernation attachments.
Use an empty changeset for internal-only changes that should not release a package:
---
---
Update CI policy and Vite+ hook tooling without releasing package changes.
Version choice:
patch for bug fixes and compatible behavior improvements.minor for new public API or normal feature additions.major for breaking changes.Write changesets for consumers, not implementation details. Mention migration-impacting API shape plainly.
Use this structure:
## Summary
- <what changed>
- <why it matters>
## Validation
- `vp check`
- `vp test`
Include any skipped validation and why. Do not claim commands were run if they were not.
git status --short and inspect the diff.vp check.vp test.The repository enforces PR hygiene in CI. Normal PRs fail if:
.changeset/*.md file changed.Changesets release PRs from changeset-release/* are exempt.