commit-categories

Правила категоризации коммитов для журналов изменений и сводок «что нового». ДОЛЖНЫ быть загружены перед категоризацией коммитов в командах changelog или 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.

Больше skills от cloudflare

workerd-api-review
cloudflare
Оптимизация производительности, дизайн и совместимость API, уязвимости безопасности и соответствие стандартам для рецензирования кода workerd. Охватывает tcmalloc-совместимые…
official
workerd-safety-review
cloudflare
Паттерны безопасности памяти, потокобезопасности, конкурентности и критического обнаружения для ревью кода workerd. Охватывает граничные риски V8/KJ, управление временем жизни,…
official
module-registry
cloudflare
Загружать при работе с реестром модулей в workerd — чтение, изменение, отладка или проверка разрешения модулей, компиляции, оценки или регистрации…
official
reproduce
cloudflare
Reproduce a cloudflare/agents GitHub issue by scaffolding a minimal Agents/Worker project and deploying it to a temporary Cloudflare account, then report…
official
local-explorer
cloudflare
How to add products/resources to the local explorer or local API. Use when implementing new local APIs, or UI routes under…
official
architecture
cloudflare
Используйте при первом знакомстве с кодовой базой, добавлении нового метода клиента, добавлении нового обработчика/сервиса контейнера или понимании того, как проходит запрос…
official
changesets
cloudflare
Используется при создании changeset, подготовке релиза или обновлении версий. Охватывает, на какие пакеты ссылаться, как писать описания changeset для пользователей,…
official
pr
cloudflare
Создаёт и обновляет pull request'ы в GitHub для изменений в cloudflare-docs. Загружать, когда просят открыть, создать, отправить, обновить, отредактировать или написать заголовок или описание…
official