update-llms-text

Mettre à jour et maintenir le fichier llms.txt. À utiliser lorsque l'utilisateur souhaite ajouter des sections, ajouter des liens, corriger des informations ou réviser le fichier llms.txt.

npx skills add https://github.com/flutter/website --skill update-llms-text

Update llms.txt

Update sites/docs/src/content/llms.txt, a curated resource list that helps LLMs understand the Flutter framework.

Always start by reading the existing sites/docs/src/content/llms.txt to understand the current structure and content before making changes.

Actions

Based on the user-provided action, perform one of the following tasks:

Add a section

When asked to add a new section:

  1. If not provided, ask for the section title and links.
  2. Place the new section in a logical location relative to existing sections.

Add links

When asked to add new links to an existing section:

  1. If not provided, ask for the target section and links to add.

  2. For each link provided:

    1. Load and analyze its source file to identify its title and determine an appropriate description.

    2. Append the link to the specified section, matching the existing Markdown-based format:

      - [Title](URL): Description.
      

Correct information

When asked to correct information:

  1. If not provided, Ask for the incorrect information and the correction.
  2. Update the file with the corrected information.

Review the file

When asked to review the file:

  1. Read the entire file.
  2. Check for duplicate entries, broken links, inconsistent formatting, spelling and grammar errors, and general opportunities for improvement.
  3. Report findings and suggestions to the user, but don't make changes without approval.

Formatting rules

  • Each link follows the format: - [Title](URL): Description.
  • Sections are separated by a blank line.
  • Keep descriptions concise and informative.

Plus de skills de flutter

adding-release-notes
flutter
Ajoute des descriptions de changements destinés aux utilisateurs dans les notes de version de DevTools. À utiliser pour documenter les améliorations, correctifs ou nouvelles fonctionnalités dans le fichier NEXT_RELEASE_NOTES.md.
official
dart-modern-features
flutter
Pour trouver des candidats à la modernisation :
official
api-review
flutter
Examine le code spécifié par rapport aux directives canoniques de conception d'API. Utilisez cette compétence lorsque l'utilisateur demande une revue d'API ou souhaite vérifier que le code respecte la conception d'API…
official
code-documentation
flutter
Guide pour rédiger une documentation de code efficace, incluant les docstrings, JSDoc, dartdoc et les commentaires d'implémentation. Utilisez cette compétence lors de l'écriture de nouveau code, de l'ajout…
official
dart-add-unit-test
flutter
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains…
official
dart-build-cli-app
flutter
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
official
dart-collect-coverage
flutter
Collecter la couverture à l'aide du package de couverture et créer un rapport LCOV
official
dart-fix-runtime-errors
flutter
Utilise get_runtime_errors et lsp pour récupérer une trace de pile active, localiser la ligne en échec, appliquer un correctif et vérifier la résolution via hot_reload.
official