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溢出”、“垂直…
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实现的焦点遍历管理,以及...