with one click
flutter-screenshot
// Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.
// Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.
适配 NexusPHPWeb 类型站点的站点配置与 infoFinder 字段编写。需要检查 `assets/sites_manifest.json` 中站点 id 是否存在,缺失时先调用 Add Site 技能创建配置文件,然后依据 `docs/SITE_CONFIGURATION_GUIDE.md` 与 `assets/site_configs.json` 的 NexusPHPWeb 模板生成或更新 `infoFinder`,并用用户提供的 cookie 抓取静态页面信息时使用。
自动化项目的版本发布流程,包括版本号自增、ChangeLog 提取与汇总、代码提交、打标签以及推送到远程仓库。
自动化项目的版本发布流程,包括版本号自增、ChangeLog 提取与汇总、代码提交、打标签以及推送到远程仓库。
Create a new site configuration, update the manifest, and fetch icons.
| name | flutter-screenshot |
| description | Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web. |
Use this skill when the user asks to screenshot the Flutter app or a changed UI in this repository, especially when they want both desktop/large-screen and mobile/portrait previews. This project does not use Flutter Web for screenshots.
Choose the entrypoint:
lib/main.dart unless a narrow preview is safer./tmp and delete it after screenshots. Do not add preview entrypoints to the repo.Run the bundled script from the repository root:
python3 .agents/skills/flutter-screenshot/scripts/capture_flutter_screenshots.py \
--target lib/main.dart \
--output-dir /tmp/pt_mate_screenshots
The script starts flutter run -d linux, locates the app window, captures:
large.png at 1280x720mobile.png at 393x852Open both images with view_image before replying. Confirm they are not blank and show the expected screen.
Reply in Chinese with both Markdown image links:
大屏预览:

手机版预览:

import./tmp long enough for the user to view them; clean up temporary preview Dart files when done.