with one click
busic-testing
BuSic测试规范。用于确认测试真源、最低验证顺序、常用测试模式和补测优先级入口
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
BuSic测试规范。用于确认测试真源、最低验证顺序、常用测试模式和补测优先级入口
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
BuSic数据层规范。用于Drift表定义、迁移、Repository实现和Domain模型映射时快速确认主真源与联动检查项
BuSic Git提交规范。用于整理提交范围、撰写约定式提交信息、选择安全Git操作并对齐当前main分支事实
BuSic代理执行工作流兼容层。用于自动化代理在当前仓库中执行任务时统一进度同步、风险确认、验证收尾和文档回写节奏
BuSic主开发入口。用于功能开发、bug修复、代码重构时快速定位阅读顺序、执行顺序、最低验证和联动文档
BuSic发布流程规范。用于执行正式发布时快速定位发布真源、推荐脚本、发布前检查项和最容易遗漏的manifest与资产联动
BuSic Skills维护规范。用于维护和重构.agents/skills时统一目录结构、模板、更新时机、自检方式和与docs的职责边界
| name | busic-testing |
| description | BuSic测试规范。用于确认测试真源、最低验证顺序、常用测试模式和补测优先级入口 |
| license | MIT |
| compatibility | opencode |
docs/20-workflows/testing-guide.mddocs/30-reference/device-testing.md.github/workflows/ci.ymltest/test_helpers/test_app.dartflutter analyze
flutter test
Agent 执行时,flutter ... 通常需要提权到沙箱外;完整分类见 busic-harness-workflow。
如果改了 @riverpod、@freezed、Drift 或 lib/l10n/*.arb:
dart run build_runner build
flutter gen-l10n
flutter analyze
flutter test
dart run ... 与 flutter gen-l10n 在 agent 沙箱中也按通常需提权处理。
AppDatabase.forTesting(NativeDatabase.memory())ProviderContainerbuildTestAppSharedPreferences.setMockInitialValues(...)testing-guide.md 为准,不在 skill 里复制