adding-changelog-entries

作者: flutter

用於在 devtools_shared、devtools_app_shared 或 devtools_extensions 的 CHANGELOG.md 文件中記錄變更時使用。

npx skills add https://github.com/flutter/devtools --skill adding-changelog-entries

Adding Changelog Entries

When adding changelog entries to published packages (devtools_shared, devtools_app_shared, and devtools_extensions), follow these rules:

  • Check Publication State: Never add an entry to an already published version (e.g. # 12.1.0). You MUST check which versions are published on pub.dev (e.g., at https://pub.dev/packages/<package_name>/versions) before determining section headers! If a version is not yet published, it should be suffixed with the next numeric -wip tag (e.g., ## 0.5.1-wip) or follow the existing convention in the file, such as (not released). You should also match the existing header level (H1 or H2) used for versions in that file. Avoid generic placeholder headers like # WIP!
  • New Version Headers: If a version bump is required, you MUST first use the instructions in updating-package-versions to update the package version in pubspec.yaml, and then add a new header to the changelog file with the new version (e.g., ## 0.5.1-wip) before adding your entries.
  • Accurately Distinguish Packages: Ensure that the cleanups or edits applied to a specific package's changelog entries belong strictly to that package path (e.g., changes in devtools_app do not warrant entries in devtools_shared).
  • Conciseness and Accuracy: Describe clearly what was changed and why. Avoid generic descriptions without context, such as "Fixes missing deprecation message". Indicate specifically what was added or removed.
  • User visible changes ONLY: Only add entries in the changelog if the change is meaningful to consumers of the package. Do not include internal refactoring notes or other trivial changes that users do not care about.

來自 flutter 的更多技能

dart-modern-features
flutter
為了尋找現代化的候選對象:
flutter-fix-layout-issues
flutter
使用 Dart 和 Flutter MCP 工具修復 Flutter 佈局錯誤(溢出、無限制約束)。適用於處理「RenderFlex overflowed」、「Vertical…」等問題。
adding-release-notes
flutter
在 DevTools 發行說明中新增使用者面向的變更描述。用於在 NEXT_RELEASE_NOTES.md 檔案中記錄改進、修正或新功能。
reviewing-devtools-prs
flutter
DevTools 儲存庫專用的 PR 審查工作流程,強制執行 DevTools 風格指南與常見審查模式。用於審查以下專案中的拉取請求時…
dart-use-primary-constructors
flutter
協助使用者撰寫語法與語意正確的 Dart 主要建構子,並遷移/使用新的建構子語法、空主體分號語法、…
code-documentation
flutter
編寫有效程式碼文件的指南,包括 docstrings、JSDoc、dartdoc 和實作註解。在編寫新程式碼、新增…時使用此技能。
api-review
flutter
根據規範的 API 設計指南審查指定的程式碼。當使用者要求進行 API 審查或檢查程式碼是否符合 API 設計時,請使用此技能。
flutter-accessibility
flutter
在 Flutter 應用程式中實作 WCAG 2 與 EN 301 549 無障礙標準及自適應佈局。強制執行語意標註、觸控目標尺寸(最小 48x48 dp)以及文字對比度(小字 4.5:1,大字 3:1),涵蓋行動裝置、網頁與桌面平台。提供網頁語意初始化、互動元件包裝、基於螢幕尺寸的佈局切換,以及鍵盤/滑鼠輸入處理的決策邏輯。包含透過 FocusTraversalGroup 進行的焦點導覽管理,以及...