adding-release-notes

โดย flutter

เพิ่มคำอธิบายการเปลี่ยนแปลงที่ผู้ใช้เห็นลงในบันทึกประจำรุ่นของ DevTools ใช้เมื่อบันทึกการปรับปรุง การแก้ไข หรือฟีเจอร์ใหม่ในไฟล์ NEXT_RELEASE_NOTES.md

npx skills add https://github.com/flutter/devtools --skill adding-release-notes

Adding Release Notes

This skill helps automate adding release notes to packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md.

Workflow

Copy this checklist into your response to track progress:

Release Notes Progress:
- [ ] Step 1: Formulate the entry (past tense)
- [ ] Step 2: Find the PR number (if not already known)
- [ ] Step 3: Determine the section (Inspector, Memory, etc.)
- [ ] Step 4: Add the entry (use scripts/add_note.dart)
- [ ] Step 5: Add images (if applicable)

Guidelines

1. Identify the PR Number

If the PR number is unknown, use the following methods to find it:

  • Local Branch: Identify the branch name using git branch or git log. If the branch is pushed to origin, it often has a linked PR.
  • GitHub CLI (gh): Use the GitHub CLI to find the PR associated with the current branch.
    • IMPORTANT: Always use PAGER=cat to prevent gh from hanging in non-interactive terminals.
    • Command: PAGER=cat gh pr list --head <branch_name> --json number,title
  • Search by Change Description: Search open PRs using keywords from your change title or description.
    • Command: PAGER=cat gh pr list --search "<keywords>" --limit 5
  • Web Search: If CLI tools fail, use search_web to find the PR on GitHub:
    • Query: site:github.com/flutter/devtools "Add support for searching within the log details view"

2. Formulate the Entry

  • Tense: Always use past tense (e.g., "Added", "Improved", "Fixed").
  • Punctuation: Always end entries with a period.
  • Template: * <Description>. [#<PR_NUMBER>](https://github.com/flutter/devtools/pull/<PR_NUMBER>)
  • Placeholder: Use TODO if you have exhausted all search methods and the PR has not been created yet.
  • Images: If adding an image, indent it by two spaces to align with the bullet point, and ensure there is only one newline between the text and the image.
    • Correct Format:
      - Added support for XYZ. [#TODO](https://github.com/flutter/devtools/pull/TODO)
        ![](images/my_feature.png)
      
  • Examples:
    • * Added support for XYZ. [#12345](https://github.com/flutter/devtools/pull/12345)
    • * Fixed a crash in the ABC screen. [#67890](https://github.com/flutter/devtools/pull/67890)

3. User-Facing Changes Only

  • Criteria: Focus on what changed for the user, not how it was implemented.
  • Avoid: Technical details like "Implemented XYZ with a new controller", "Updated the build method", or naming internal classes.
  • Example (Bad): * Implemented log details search using SearchControllerMixin. [#TODO](https://github.com/flutter/devtools/pull/TODO)
  • Example (Good): * Added search support to the log details view. [#TODO](https://github.com/flutter/devtools/pull/TODO)

4. Determine Section

Match the change to the section in NEXT_RELEASE_NOTES.md:

  • General updates
  • Inspector updates
  • Performance updates
  • CPU profiler updates
  • Memory updates
  • Debugger updates
  • Network profiler updates
  • Logging updates
  • App size tool updates
  • Deep links tool updates
  • VS Code sidebar updates
  • DevTools extension updates
  • Advanced developer mode updates

5. Add to NEXT_RELEASE_NOTES.md

Use the provided utility script to insert the note safely. The script handles replacing the TODO placeholder if it's the first entry in that section.

dart .agents/skills/adding-release-notes/scripts/add_note.dart "Inspector updates" "Added XYZ support" TODO

6. Optional: Images

Add images to packages/devtools_app/release_notes/images/ and reference them:

![Accessible description](images/screenshot.png "Hover description")

Constraint: Use dark mode for screenshots.

Resources

Skills เพิ่มเติมจาก flutter

dart-modern-features
flutter
เพื่อหาผู้สมัครสำหรับการปรับปรุงให้ทันสมัย:
official
genui-helper
flutter
ทักษะนี้มีเวิร์กโฟลว์และแนวปฏิบัติที่ดีที่สุดเฉพาะสำหรับพื้นที่เก็บข้อมูล genui
official
add-dart-lint-validation-rule
flutter
คำแนะนำสำหรับการเพิ่มกฎการตรวจสอบใหม่และแฟล็ก CLI ไปยัง dart_skills_lint
official
grill-with-docs
flutter
เซสชันการย่างที่ท้าทายแผนของคุณกับโมเดลโดเมนที่มีอยู่ ปรับปรุงคำศัพท์ให้คมชัดขึ้น และอัปเดตเอกสาร (CONTEXT.md, ADRs) แบบอินไลน์ตามที่...
official
analyze-github-flake
flutter
ความเชี่ยวชาญในการวิเคราะห์ปัญหา flake ของ GitHub ใน repository flutter/flutter ใช้เมื่อผู้ใช้ต้องการวิเคราะห์ความไม่เสถียรของลิงก์เฉพาะไปยัง flutter…
official
flutter-cherry-pick
flutter
วิธีการดำเนินการ cherry-pick อย่างเป็นทางการของ PR ที่ถูก merge แล้วสำหรับ stable หรือ beta channel ของ flutter/flutter repo ใช้เฉพาะกับ pull requests ที่ถูก merge ใน flutter/flutter เท่านั้น เฉพาะ...
official
rebuilding-flutter-tool
flutter
สร้างเครื่องมือ Flutter และ CLI ขึ้นมาใหม่ ใช้เมื่อผู้ใช้ขอให้คอมไพล์ อัปเดต สร้างใหม่ หรือสร้างเครื่องมือ Flutter หรือ CLI ขึ้นมาใหม่
official
upgrade-browser
flutter
อัปเกรดเวอร์ชันเบราว์เซอร์ (Chrome หรือ Firefox) ในการทดสอบ Flutter Web Engine และ/หรือ Framework ใช้เมื่อถูกขอให้โรลหรืออัปเกรด Chrome หรือ Firefox เป็นเวอร์ชันที่ใหม่กว่า…
official