Skip to main content

commit-categories

Commit categorization rules for changelogs and "what's new" summaries. MUST be loaded before categorizing commits in changelog or whats-new commands. Provides the canonical path-based category table used to group commits by area.

소스 정보

저장소
cloudflare/workerd
최근 소스 활동
2026년 2월 23일 22:45
감지된 SKILL.md 언어
영어
스타
9,074
포크
804

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit-categories
description
Commit categorization rules for changelogs and "what's new" summaries. MUST be loaded before categorizing commits in changelog or whats-new commands. Provides the canonical path-based category table used to group commits by area.
# Commit Categories Categorize commits by the files they touch, using the primary area for commits spanning multiple categories. | Category | Path patterns | | ------------------- | ----------------------------------------------------- | | **API** | `src/workerd/api/` (excluding `node/` and `pyodide/`) | | **Node.js compat** | `src/workerd/api/node/`, `src/node/` | | **Python** | `src/workerd/api/pyodide/`, `src/pyodide/` | | **Rust** | `src/rust/` | | **Cloudflare APIs** | `src/cloudflare/` | | **I/O** | `src/workerd/io/` | | **JSG** | `src/workerd/jsg/` | | **Server** | `src/workerd/server/` | | **Build** | `build/`, `MODULE.bazel`, `BUILD.bazel` | | **Types** | `types/` | | **Docs / Config** | Documentation, agent/tool configs, `.md` files | | **Tests** | Changes exclusively in test files | | **Other** | Anything 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. | Callout | Trigger | | ---------------------------- | --------------------------------------------------------------------------------------------------- | | **New/Updated Compat Flags** | Changes to `src/workerd/io/compatibility-date.capnp` or new `compatibilityFlags` references in code | | **New/Updated Autogates** | Changes 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.
GitHub에서 보기