commit-categories

โดย cloudflare

กฎการจัดหมวดหมู่คอมมิตสำหรับ changelog และสรุป "มีอะไรใหม่" ต้องโหลดก่อนการจัดหมวดหมู่คอมมิตในคำสั่ง 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-aware…
official
workerd-safety-review
cloudflare
ความปลอดภัยของหน่วยความจำ ความปลอดภัยของเธรด การทำงานพร้อมกัน และรูปแบบการตรวจจับที่สำคัญสำหรับการตรวจสอบโค้ด workerd ครอบคลุมถึงอันตรายที่ขอบเขต V8/KJ การจัดการอายุการใช้งาน…
official
module-registry
cloudflare
โหลดเมื่อทำงานกับ module registry ใน workerd — การอ่าน, แก้ไข, ดีบัก, หรือตรวจสอบการแก้ไขโมดูล, การคอมไพล์, การประเมินผล, หรือการลงทะเบียน…
official
reproduce
cloudflare
ทำซ้ำปัญหา GitHub ของ cloudflare/agents โดยการสร้างโปรเจกต์ Agents/Worker ขั้นต่ำและปรับใช้กับบัญชี Cloudflare ชั่วคราว จากนั้นรายงาน…
official
local-explorer
cloudflare
วิธีการเพิ่มผลิตภัณฑ์/ทรัพยากรไปยัง local explorer หรือ local API ใช้เมื่อกำลังใช้งาน local API ใหม่ หรือเส้นทาง UI ภายใต้…
official
architecture
cloudflare
ใช้เมื่อนำทางในโค้ดเบสเป็นครั้งแรก เพิ่มเมธอดไคลเอ็นต์ใหม่ เพิ่มคอนเทนเนอร์แฮนเดลเลอร์/บริการใหม่ หรือทำความเข้าใจการไหลของคำขอ...
official
changesets
cloudflare
ใช้เมื่อสร้างชุดการเปลี่ยนแปลง เตรียมการเผยแพร่ หรือเพิ่มเวอร์ชัน ครอบคลุมถึงแพ็กเกจที่ต้องอ้างอิง วิธีการเขียนคำอธิบายชุดการเปลี่ยนแปลงที่ผู้ใช้เห็น…
official
pr
cloudflare
สร้างและอัปเดตคำขอดึงข้อมูล GitHub สำหรับการเปลี่ยนแปลง cloudflare-docs โหลดเมื่อถูกขอให้เปิด สร้าง ส่ง อัปเดต แก้ไข หรือเขียนชื่อหรือคำอธิบาย…
official