Agent Skills
› keychat-io/keychat-app
› flutter-check
flutter-check
GitHub为Keychat项目执行全面的Flutter质量检查流水线,包括代码分析、格式校验、单元测试及生成文件一致性检查。按顺序执行所有步骤,即使某步失败也继续运行,最终汇总报告结果并提供修复建议,适用于提交前确保代码质量。
触发场景
用户要求运行Flutter代码质量检查
准备提交代码前进行预检
需要验证Dart分析警告和错误
需要确认代码格式是否符合规范
安装
npx skills add keychat-io/keychat-app --skill flutter-check -g -y
SKILL.md
Frontmatter
{
"name": "flutter-check",
"invoke": "user",
"description": "Run comprehensive Flutter checks including lint, analyze, test, and format verification. Use before commits to ensure code quality."
}
Flutter Check
Run a comprehensive Flutter quality check pipeline for the Keychat project.
Steps
- Analyze: Run
melos run analyzeto check for Dart analyzer warnings and errors - Format Check: Run
dart format --set-exit-if-changed .to verify formatting - Test: Run
melos run test:flutterto execute Flutter unit tests - Generated Code: Check if generated files (
.g.dart) are up to date by runningmelos run build:runnerand verifying no diff
Behavior
- Run all steps sequentially
- Report results for each step clearly
- If any step fails, continue running remaining steps but report all failures at the end
- Provide actionable fix suggestions for any issues found
版本历史
- 294d00d 当前 2026-07-05 10:51


