update-llms-text

作者: flutter

更新并维护llms.txt文件。当用户想要添加章节、添加链接、更正信息或审查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.

来自 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实现的焦点遍历管理,以及...