update-llms-text

bởi flutter

Cập nhật và duy trì tệp llms.txt. Sử dụng khi người dùng muốn thêm phần, thêm liên kết, sửa thông tin hoặc xem lại tệp 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.

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