flutter-build-verify

Automate Flutter multi-module build verification with drift code generation and analyzer checks.

12|2|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/toly1994328/flash_im_by_ai --skill flutter-build-verify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-build-verify
Source: https://github.com/toly1994328/flash_im_by_ai/tree/main/.kiro/skills/flutter-build-verify
Command: npx skills add https://github.com/toly1994328/flash_im_by_ai --skill flutter-build-verify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flutter 多模块项目在前端实现完成后,面临构建失败、代码生成不一致等风险。本技能提供一个可重复执行的验证流程,确保编译通过且代码生成正确。

Core Features & Use Cases

  • 多模块构建验证:对 client 下的 Flutter 子模块执行全量分析和编译,捕获跨模块依赖问题。
  • 代码生成验证:在 Drift 等数据库相关变更时自动执行代码生成并验证无误。
  • 端到端保障:给出明确的失败原因与修复路径,提升交付质量。

Quick Start

立即启动 Flutter 构建验证以确保项目可编译且代码生成正确。

Frequently Asked Questions about flutter-build-verify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify a Flutter multi-module build with drift code generation?

To verify a Flutter multi-module build, automate drift code generation for table changes, run flutter analyze with zero errors, and ensure all client submodules compile successfully. This enforces clean compilations and captures cross-module dependency issues.

Why does my Flutter multi-module project fail to compile after database changes?

Flutter multi-module compilation fails when drift code generation is skipped after table changes or global analyzer requirements are unmet. Automating build verification executes code generation and runs flutter analyze to identify exact failure causes and fix paths.

Does this build verification process work for interconnected Flutter client modules?

Yes, this build verification process targets interconnected Flutter client modules by performing full analysis and compilation across all submodules. It ensures global analyzer requirements are met and captures cross-module dependency problems effectively.

What is the best way to automate drift code generation verification in Flutter?

The best way to automate drift code generation verification is integrating a repeatable workflow that triggers generation upon table changes and validates the output. This guarantees code generation consistency before executing full Flutter multi-module compilation.

When do I need to run end-to-end build verification for Flutter code generation?

You need end-to-end build verification for Flutter code generation whenever database table changes occur or interconnected client modules are updated. This ensures drift code generation runs correctly and all submodules maintain clean compilations without analyzer errors.