adding-changelog-entries

bởi flutter

Sử dụng khi ghi lại các thay đổi trong tệp CHANGELOG.md cho devtools_shared, devtools_app_shared hoặc devtools_extensions.

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.

Thêm skills từ flutter

dart-modern-features
flutter
Để tìm các ứng viên cho việc hiện đại hóa:
flutter-fix-layout-issues
flutter
Sửa lỗi bố cục Flutter (tràn, ràng buộc vô hạn) bằng các công cụ Dart và Flutter MCP. Sử dụng khi xử lý "RenderFlex overflowed", "Vertical…
adding-release-notes
flutter
Thêm mô tả thay đổi dành cho người dùng vào ghi chú phát hành DevTools. Sử dụng khi ghi lại các cải tiến, sửa lỗi hoặc tính năng mới trong tệp NEXT_RELEASE_NOTES.md.
reviewing-devtools-prs
flutter
Quy trình rà soát pull request riêng cho kho lưu trữ DevTools, áp dụng các nguyên tắc về phong cách và mẫu rà soát phổ biến của DevTools. Sử dụng khi rà soát pull request trong…
dart-use-primary-constructors
flutter
Giúp người dùng viết các primary constructor đúng cú pháp và ngữ nghĩa trong Dart, đồng thời di chuyển/sử dụng cú pháp constructor mới, cú pháp dấu chấm phẩy thân rỗng,…
code-documentation
flutter
Hướng dẫn viết tài liệu mã hiệu quả, bao gồm docstrings, JSDoc, dartdoc và các chú thích triển khai. Sử dụng kỹ năng này khi viết mã mới, thêm…
api-review
flutter
Xem xét mã được chỉ định theo các nguyên tắc thiết kế API chuẩn. Sử dụng kỹ năng này khi người dùng yêu cầu đánh giá API hoặc kiểm tra mã theo thiết kế API…
flutter-accessibility
flutter
Triển khai các tiêu chuẩn truy cập WCAG 2 và EN 301 549 cùng bố cục thích ứng trong ứng dụng Flutter. Áp dụng chú thích ngữ nghĩa, kích thước vùng chạm (tối thiểu 48x48 dp) và tỷ lệ tương phản văn bản (4.5:1 cho văn bản nhỏ, 3:1 cho văn bản lớn) trên các nền tảng di động, web và máy tính để bàn. Cung cấp logic quyết định cho khởi tạo ngữ nghĩa web, bao bọc widget tương tác, chuyển đổi bố cục dựa trên kích thước màn hình và xử lý đầu vào bàn phím/chuột. Bao gồm quản lý điều hướng tiêu điểm qua FocusTraversal