adding-release-notes

Añade descripciones de cambios visibles para el usuario a las notas de la versión de DevTools. Úsalo al documentar mejoras, correcciones o nuevas funciones en el archivo 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

Más skills de flutter

dart-modern-features
flutter
Para encontrar candidatos para la modernización:
flutter-fix-layout-issues
flutter
Corrige errores de diseño en Flutter (desbordamientos, restricciones ilimitadas) usando herramientas Dart y Flutter MCP. Úsalo al abordar "RenderFlex overflowed", "Vertical…
reviewing-devtools-prs
flutter
Flujo de trabajo de revisión de PR específico del repositorio de DevTools que aplica las guías de estilo de DevTools y los patrones de revisión comunes. Úsalo al revisar solicitudes de extracción en el…
dart-use-primary-constructors
flutter
Ayuda a los usuarios a escribir constructores primarios sintáctica y semánticamente correctos en Dart, y a migrar/utilizar la nueva sintaxis de constructor, la sintaxis de punto y coma de cuerpo vacío,…
code-documentation
flutter
Guía para escribir documentación de código efectiva, que incluye docstrings, JSDoc, dartdoc y comentarios de implementación. Usa esta habilidad al escribir código nuevo, agregar…
api-review
flutter
Revisa el código especificado conforme a las pautas canónicas de diseño de API. Usa esta habilidad cuando el usuario solicite una revisión de API o quiera verificar el código según las pautas de diseño de API…
flutter-accessibility
flutter
Implementa los estándares de accesibilidad WCAG 2 y EN 301 549 y diseños adaptativos en aplicaciones Flutter. Aplica anotaciones semánticas, tamaños de destino táctil (mínimo 48x48 dp) y relaciones de contraste de texto (4.5:1 para texto pequeño, 3:1 para texto grande) en plataformas móviles, web y de escritorio. Proporciona lógica de decisión para la inicialización de semántica web, envoltura de widgets interactivos, cambio de diseño basado en tamaño de pantalla y manejo de entrada por teclado/ratón. Incluye gestión de enfoque de navegación mediante FocusTraversalGroup y...
flutter-accessibility-audit
flutter
Activa un escaneo de accesibilidad a través del widget_inspector y agrega automáticamente widgets Semantics o etiquetas faltantes al código fuente.