commit-categories

作成者: cloudflare

コミットを変更ログや「新機能」サマリーに分類するためのルール。変更ログやwhats-newコマンドでコミットを分類する前に必ず読み込む必要があります。提供するのは…

npx skills add https://github.com/cloudflare/workerd --skill commit-categories

Commit Categories

Categorize commits by the files they touch, using the primary area for commits spanning multiple categories.

CategoryPath patterns
APIsrc/workerd/api/ (excluding node/ and pyodide/)
Node.js compatsrc/workerd/api/node/, src/node/
Pythonsrc/workerd/api/pyodide/, src/pyodide/
Rustsrc/rust/
Cloudflare APIssrc/cloudflare/
I/Osrc/workerd/io/
JSGsrc/workerd/jsg/
Serversrc/workerd/server/
Buildbuild/, MODULE.bazel, BUILD.bazel
Typestypes/
Docs / ConfigDocumentation, agent/tool configs, .md files
TestsChanges exclusively in test files
OtherAnything that doesn't fit above

Cross-cutting callouts

These are not primary categories — they are additional callout sections that appear alongside the main categories whenever a commit touches the relevant files. A single commit can appear in both a primary category and one or more callouts.

CalloutTrigger
New/Updated Compat FlagsChanges to src/workerd/io/compatibility-date.capnp or new compatibilityFlags references in code
New/Updated AutogatesChanges to src/workerd/io/supported-autogates.h or new autogate registrations

When either callout applies, add a dedicated section after the main categories listing each new or modified flag/gate with a brief description. These must never be buried inside a general category bullet — they are high-visibility items that reviewers and release-note readers need to spot immediately.

How to categorize

  1. For each commit, run git diff-tree --no-commit-id --name-only -r <hash> to list files changed.
  2. Match changed files against the path patterns above.
  3. Assign the commit to whichever category covers the majority of its changes.
  4. For commits touching multiple areas, list under the primary area (the one with the most changed files or the most significant change).
  5. Check every commit against the cross-cutting callout triggers. If a commit adds or modifies compat flags or autogates, note it in the corresponding callout section in addition to its primary category.
  6. Omit empty categories and unused callout sections from output.

cloudflareのその他のスキル

workerd-api-review
cloudflare
workerdのコードレビューにおけるパフォーマンス最適化、API設計と互換性、セキュリティ脆弱性、標準仕様準拠。tcmalloc対応を含む…
official
workerd-safety-review
cloudflare
workerdのコードレビューにおけるメモリ安全性、スレッド安全性、並行性、および重要な検出パターン。V8/KJ境界の危険性、ライフタイム管理などをカバー。
official
module-registry
cloudflare
workerdでモジュールレジストリを扱う際に読み込む — モジュールの解決、コンパイル、評価、登録の読み取り、変更、デバッグ、またはレビュー…
official
reproduce
cloudflare
cloudflare/agentsのGitHub Issueを再現するために、最小限のAgents/Workerプロジェクトをスキャフォールディングし、一時的なCloudflareアカウントにデプロイして、その後報告する…
official
local-explorer
cloudflare
ローカルエクスプローラーまたはローカルAPIに製品/リソースを追加する方法。新しいローカルAPIやUIルートを実装する際に使用します。
official
architecture
cloudflare
コードベースを初めてナビゲートするとき、新しいクライアントメソッドを追加するとき、新しいコンテナハンドラ/サービスを追加するとき、またはリクエストの流れを理解するときに使用します…
official
changesets
cloudflare
チェンジセットを作成する際、リリースを準備する際、またはバージョンを上げる際に使用します。参照するパッケージ、ユーザー向けのチェンジセット説明の書き方などをカバーします。
official
pr
cloudflare
cloudflare-docsの変更に対してGitHubのプルリクエストを作成・更新します。開く、作成、送信、更新、編集、タイトルや説明の記入を求められた際に読み込まれます…
official