Agent skill
flutter-build
编译测试 Flutter 应用。修改代码确认提交前执行,验证编译是否通过。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/flutter-build
SKILL.md
Flutter Build
编译 Flutter 应用并过滤输出,只显示关键信息。自动检测当前操作系统选择编译目标平台。
用法
dart run <skill_path>/scripts/build.dart <app模块相对路径>
示例
dart run <skill_path>/scripts/build.dart apps/video_concat_app
行为
- 编译成功:输出
编译成功 - 编译失败:仅输出错误信息,过滤掉警告和依赖解析等噪音
关于 flutter build
flutter build <platform> --debug 执行 Debug 编译,包含:
- 依赖解析(Resolving dependencies)
- Dart 编译(kernel snapshot)
- 平台原生构建
常见错误类型:
- Dart 语法/类型错误:
lib/file.dart:行:列: Error: 消息 - 资源缺失或配置错误
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?