Labsco
flutter logo

validate-pr

✓ Official3,100

by flutter · part of flutter/website

Ensure that any changed code excerpts are properly run and synced to the Markdown files:

🔥🔥✓ VerifiedFreeQuick setup
🔒 Repo-maintenance skill. It exists to help maintain flutter/website itself — it's only useful if you contribute code to that project.

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.


name: validate-pr description: >- Stages the Flutter site locally. This includes checking for broken links, verifying excerpts, updating formatting, and serving the dev site.

Validate the site

Sync code excerpts

Ensure that any changed code excerpts are properly run and synced to the Markdown files:

dart run dash_site refresh-excerpts

Update formatting

Update the formatting of the site examples and tools to ensure they follow the official Dart format:

dart run dash_site format-dart

Check for broken links

Run the following command to check for any unlinked or broken Markdown link references in the site output:

dart run dash_site check-link-references

If any broken links are found, try to patch them or alert the user.