AGENT SKILL

flutter-testing-widget

暂无简介

使用场景测试与质量
License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

03 SKILL.md 正文

flutter-testing-widget

Category

reference

Purpose

Widget testing patterns, test harness structure, golden strategy, and avoiding brittle UI tests.

When to use

Use this skill when the task directly involves widget testing patterns, test harness structure, golden strategy, and avoiding brittle ui tests..

Default behavior

  • Stay consistent with policy-folder-structure and policy-clean-architecture.
  • Prefer production-safe, testable output.
  • Keep user-facing strings localizable.
  • Keep business logic out of widgets unless this skill explicitly states otherwise.

What this skill should help produce

  • Clear implementation plan
  • Flutter-specific code patterns
  • Platform setup notes where needed
  • Follow-up checks or review points

Recommended companion skills

  • policy-clean-architecture
  • policy-no-business-logic-in-widget
  • policy-testing-minimum

Execution notes

  1. Clarify the scope of the request in implementation terms.
  2. Apply the most relevant architecture and policy skills.
  3. Generate or review code with maintainability in mind.
  4. Add tests and docs where the change justifies them.

04 同仓库更多 Skills