Skip to main content

validate-pr

Stages the Flutter site locally. This includes checking for broken links, verifying excerpts, updating formatting, and serving the dev site.

来源信息

仓库
flutter/website
最近来源活动
2026年4月29日 18:25
检测到的 SKILL.md 语言
英语
星标
3,141
Forks
3,507

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看