validate-pr
$
npx mdskill add flutter/website/validate-prEnsure that any changed code excerpts are properly run and synced to the Markdown files:
SKILL.md
.github/skills/validate-prView on GitHub ↗
--- 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: ```bash 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: ```bash 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: ```bash dart run dash_site check-link-references ``` If any broken links are found, try to patch them or alert the user.
More from flutter/website
- data-model>-
- extract-to-jasprExtracts a part of a website and converts it to a Jaspr component. Use when you need to migrate a part of a website to Jaspr.
- generate-showcase-from-videoExtracts YouTube transcripts and generates professional Flutter showcase blog posts in Markdown format. Use when you need to create a technical marketing case study from a video success story.
- proofread-markdownProofreads Markdown files against Google guidelines.
- update-llms-textUpdate and maintain the llms.txt file. Use when the user wants to add sections, add links, correct information, or review the llms.txt file.