[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M786ZVK4BVVM61KYBN2EFC20":3,"skill-same:01M786ZVK4BVVM61KYBN2EFC20":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M786ZVK4BVVM61KYBN2EFC20","dart-testing",null,"Use ONLY when user explicitly requests Dart\u002FFlutter test code, flutter_test\u002Fmockito configuration,\ntest failure diagnosis, or coverage improvement for Dart\u002FFlutter projects.\n\nTriggers: \"write test dart\", \"flutter test\", \"mockito dart\", \"bloc test\",\n\"widget test\", \"flutter coverage\", \"golden test\", \"mocktail\", \"patrol\".\n\nDo NOT activate for: general Dart\u002FFlutter coding without test context, pub get\u002Fbuild\nerrors, Flutter widget implementation, or state management without test needs.","chenziyang110\u002Flaunchdeck","chenziyang110","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43693913?v=4","01M7863EBWK1D0P6A29YGEMAS4","Robin11","01M7863ECM1VB6RXDMHTW90D2T",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fdart-testing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dart-testing\ndescription: |\n  Use ONLY when user explicitly requests Dart\u002FFlutter test code, flutter_test\u002Fmockito configuration,\n  test failure diagnosis, or coverage improvement for Dart\u002FFlutter projects.\n\n  Triggers: \"write test dart\", \"flutter test\", \"mockito dart\", \"bloc test\",\n  \"widget test\", \"flutter coverage\", \"golden test\", \"mocktail\", \"patrol\".\n\n  Do NOT activate for: general Dart\u002FFlutter coding without test context, pub get\u002Fbuild\n  errors, Flutter widget implementation, or state management without test needs.\norigin: ECC\n---\n\n# Dart\u002FFlutter Testing (Agent Skill)\n\nAgent-focused testing workflow for Dart\u002FFlutter using the built-in `test` package, `flutter_test` for widgets, and `mockito` for mocking.\n\n## When to Use\n\n- Writing new Dart\u002FFlutter tests or fixing existing tests\n- Designing unit\u002Fintegration\u002Fwidget test coverage for Dart\u002FFlutter apps\n- Adding test coverage, CI gating, or regression protection\n- Configuring test workflows for consistent execution\n- Investigating test failures or flaky behavior\n- Testing Flutter UI, business logic, or package libraries\n\n### When NOT to Use\n\n- Implementing new product features without test changes\n- Large-scale refactors unrelated to test coverage or failures\n- Performance tuning without test regressions to validate\n- Non-Dart\u002FFlutter projects or non-test tasks\n\n### Stop Conditions — When to ASK instead of generating\n\nBefore generating any test code, STOP and ask the user if:\n- The code under test has **zero testability** (no DI, hard-coded HTTP, widget logic embedded in build methods)\n- **No test framework** is detected (no `test`\u002F`flutter_test` in pubspec.yaml dev_dependencies)\n- The request is **ambiguous**: \"test my app\" or \"add tests\" without specifying files or widgets\n- A **required test dependency** (mockito, mocktail, bloc_test) is not installed\n- The test would require **secrets, real credentials, or production API access**\n\n## Core Concepts\n\n- **TDD loop**: red → green → refactor (tests first, minimal fix, then cleanups).\n- **Three tiers**: unit tests (fastest), widget tests (medium), integration tests (slowest).\n- **Test layout**: `test\u002F` directory mirroring `lib\u002F` structure, `test\u002Ftest_helpers\u002F`.\n- **Mocks**: `mockito` with `build_runner` for code-generated mock classes.\n- **Stream testing**: `expectLater()` for async stream assertions.\n- **CI signal**: `flutter test --machine` or `dart test --reporter json`.\n\n## Agent Execution Protocol\n\nWhen this skill is activated, follow this exact execution sequence:\n\n### Phase 1: Context Analysis\nBefore writing any test code:\n1. Identify the Dart\u002FFlutter SDK version and test framework (`test`, `flutter_test`).\n2. Check for existing test files (`test\u002F`) to infer naming conventions and style.\n3. Analyze the code under test: identify public API surface, `Stream`\u002F`Future` usage, widget tree, and state management (BLoC, Riverpod, etc.).\n4. Determine request type: (a) new tests, (b) fixing broken tests, (c) coverage improvement, (d) flaky test diagnosis.\n\n### Phase 2: Strategy Selection\nBased on Phase 1, select the appropriate strategy:\n- **Pure functions \u002F utilities**: unit tests only, no mocks. Use `group()`\u002F`test()` with `expect`.\n- **External dependencies (HTTP, DB)**: use `MockClient` from `http\u002Ftesting.dart` or `mockito`\u002F`mocktail`.\n- **Flutter widgets**: use `testWidgets()` with `tester.pumpWidget()`; use `find.byKey()` for discovery.\n- **State management (BLoC)**: use `blocTest()` from `bloc_test` package for state emission testing.\n- **Async code**: use `async` test blocks with `expectLater()` for Streams.\n\n### Decision Tree (Complex Scenarios)\n\n```text\nQ1: External I\u002FO (HTTP, DB, platform channels)?\n  → Yes → Q2\n  → No  → Pure unit test, no mocks needed\n\nQ2: Mockable (interface, abstract class, MockClient)?\n  → Yes → Mock at boundary (mockito @GenerateMocks, mocktail)\n  → No  → Q3\n\nQ3: Widget rendering?\n  → Yes → widgetTest + tester.pumpWidget() + find.byKey()\n  → No  → Q4\n\nQ4: State management (BLoC\u002FCubit)?\n  → Yes → blocTest() with expectStates\u002FexpectIsar\n  → No  → Standard group()\u002Ftest() with expect()\n\nQ5: End-to-end \u002F native automation?\n  → Yes → IntegrationTest \u002F patrol\n  → No  → Standard unit test\n```\n\n### Phase 3: Test Case Design\nApply systematic test design before coding:\n1. **Happy path**: normal input → expected output\u002Fwidget state.\n2. **Boundary values**: empty lists, `null`, `0`, empty strings, `DateTime(0)`.\n3. **Error cases**: exceptions (`throwsA`), `Future.error`, widget not found (`findsNothing`).\n4. **State & interaction**: user taps, form validation, loading\u002Ferror\u002Fsuccess widget states.\n\n### Phase 4: Code Generation\nOutput tests in this exact structure:\n```\n#### Test Strategy Summary\n- [ ] Scope: Unit \u002F Widget \u002F Integration\n- [ ] Framework: test \u002F flutter_test + mockito\u002Fmocktail + bloc_test (if BLoC)\n- [ ] Mocking: Yes\u002FNo — mockito \u002F mocktail \u002F MockClient\n- [ ] Edge cases covered: \u003Clist>\n\n#### Generated Test Code\n\u003Cfile_path>\n\u003Ccode>\n\n#### Running Commands\n```bash\ndart test test\u002Fxxx_test.dart\nflutter test test\u002Fwidget\u002Fxxx_test.dart\nflutter test --coverage\n```\n\n#### Coverage Impact (if applicable)\n- Estimated coverage change: \u003CX%>\n- Command to verify: `flutter test --coverage && genhtml coverage\u002Flcov.info -o coverage\u002Fhtml`\n```\n\n### Phase 5: Verification Checklist\nBefore completing, verify:\n- [ ] Tests run without errors (`dart test` \u002F `flutter test`).\n- [ ] Each test has exactly one logical assertion focus.\n- [ ] Mocks are reset between tests (reconstruct in `setUp`).\n- [ ] No `Future.delayed` used for synchronization (use `tester.pumpAndSettle()`).\n- [ ] Flaky test guardrails applied (`tester.pumpAndSettle()`, unique test data, golden file reviews).\n\n## TDD Workflow\n\n```dart\n\u002F\u002F test\u002Fadd_test.dart\nint add(int a, int b) => throw UnimplementedError(); \u002F\u002F stub\n\nvoid main() {\n  test('adds two numbers', () { \u002F\u002F RED\n    expect(add(2, 3), equals(5));\n  });\n}\n\n\u002F\u002F lib\u002Fadd.dart\nint add(int a, int b) => a + b; \u002F\u002F GREEN\n\n\u002F\u002F REFACTOR: simplify\u002Frename once tests pass\n```\n\n## Code Examples\n\n### Basic Unit Test\n\n```dart\n\u002F\u002F test\u002Fcalculator_test.dart\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  group('Calculator', () {\n    test('adds two numbers', () {\n      expect(Calculator.add(2, 3), equals(5));\n    });\n\n    test('handles negative numbers', () {\n      expect(Calculator.add(-1, 1), equals(0));\n    });\n  });\n}\n```\n\n### Setup \u002F Teardown\n\n```dart\n\u002F\u002F test\u002Fuser_store_test.dart\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  late UserStore store;\n\n  setUp(() {\n    store = UserStore();\n    store.seed([User('alice'), User('bob')]);\n  });\n\n  tearDown(() {\n    store.dispose();\n  });\n\n  group('find', () {\n    test('returns existing user', () {\n      final user = store.find('alice');\n\n      expect(user, isNotNull);\n      expect(user!.name, equals('alice'));\n    });\n\n    test('returns null for missing user', () {\n      expect(store.find('charlie'), isNull);\n    });\n  });\n}\n```\n\n### Mocking (mockito)\n\n```dart\n\u002F\u002F test\u002Fnotifier_test.dart\nimport 'package:mockito\u002Fmockito.dart';\nimport 'package:mockito\u002Fannotations.dart';\nimport 'package:test\u002Ftest.dart';\n\nimport 'notifier_test.mocks.dart';\n\n@GenerateMocks([Notifier])\nvoid main() {\n  test('sends notifications', () {\n    final notifier = MockNotifier();\n    final service = Service(notifier);\n\n    service.publish('hello');\n\n    verify(notifier.send('hello')).called(1);\n  });\n}\n```\n\n```dart\n\u002F\u002F notifier.dart\nabstract class Notifier {\n  void send(String message);\n}\n```\n\n```dart\n\u002F\u002F notifier_test.mocks.dart (generated by build_runner)\n```\n\n### Async Test\n\n```dart\n\u002F\u002F test\u002Fapi_test.dart\nvoid main() {\n  test('fetches user data', () async {\n    final user = await fetchUser('1');\n    expect(user.name, equals('alice'));\n  });\n\n  test('handles errors', () async {\n    expect(\n      () => fetchUser('invalid'),\n      throwsA(isA\u003CException>()),\n    );\n  });\n}\n```\n\n### Stream Test\n\n```dart\n\u002F\u002F test\u002Fstream_test.dart\nvoid main() {\n  test('emits values in order', () {\n    final controller = StreamController\u003Cint>();\n\n    expectLater(\n      controller.stream,\n      emitsInOrder([1, 2, 3, emitsDone]),\n    );\n\n    controller.add(1);\n    controller.add(2);\n    controller.add(3);\n    controller.close();\n  });\n}\n```\n\n### Flutter Widget Test\n\n```dart\n\u002F\u002F test\u002Fwidget\u002Flogin_button_test.dart\nimport 'package:flutter_test\u002Fflutter_test.dart';\nimport 'package:my_app\u002Fwidgets\u002Flogin_button.dart';\n\nvoid main() {\n  testWidgets('shows login button', (tester) async {\n    await tester.pumpWidget(const MaterialApp(\n      home: LoginButton(),\n    ));\n\n    expect(find.text('Login'), findsOneWidget);\n  });\n\n  testWidgets('triggers onPressed callback', (tester) async {\n    var pressed = false;\n\n    await tester.pumpWidget(MaterialApp(\n      home: LoginButton(onPressed: () => pressed = true),\n    ));\n\n    await tester.tap(find.text('Login'));\n    expect(pressed, isTrue);\n  });\n}\n```\n\n### BLoC State Testing (bloc_test)\n\n```dart\n\u002F\u002F test\u002Fcounter_bloc_test.dart\nimport 'package:bloc_test\u002Fbloc_test.dart';\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  blocTest\u003CCounterBloc, int>(\n    'emits [1] when Increment is added',\n    build: () => CounterBloc(),\n    act: (bloc) => bloc.add(Increment()),\n    expect: () => [1],\n  );\n\n  blocTest\u003CCounterBloc, int>(\n    'emits [1, 0] when Increment then Decrement is added',\n    build: () => CounterBloc(),\n    act: (bloc) => bloc\n      ..add(Increment())\n      ..add(Decrement()),\n    expect: () => [1, 0],\n  );\n}\n```\n\n### Flutter Integration Test\n\n```dart\n\u002F\u002F test_driver\u002Fapp_test.dart\nimport 'package:flutter_test\u002Fflutter_test.dart';\nimport 'package:integration_test\u002Fintegration_test.dart';\n\nvoid main() {\n  IntegrationTestWidgetsFlutterBinding.ensureInitialized();\n\n  testWidgets('full app flow', (tester) async {\n    await tester.pumpWidget(const MyApp());\n\n    \u002F\u002F Wait for splash screen\n    await tester.pumpAndSettle();\n\n    \u002F\u002F Navigate to login\n    await tester.tap(find.text('Get Started'));\n    await tester.pumpAndSettle();\n\n    expect(find.text('Welcome'), findsOneWidget);\n  });\n}\n```\n\n### Data-Driven Test\n\n```dart\nvoid main() {\n  final cases = [\n    (a: 1, b: 2, expected: 3),\n    (a: -1, b: 1, expected: 0),\n    (a: 0, b: 0, expected: 0),\n    (a: 100, b: 200, expected: 300),\n  ];\n\n  for (final (a, b, expected) in cases) {\n    test('add($a, $b) = $expected', () {\n      expect(Calculator.add(a, b), equals(expected));\n    });\n  }\n}\n```\n\n## Pubspec Quickstart\n\n```yaml\n# pubspec.yaml\ndev_dependencies:\n  test: ^1.25.0\n  flutter_test:\n    sdk: flutter\n  mockito: ^5.4.0\n  build_runner: ^2.4.0\n  mocktail: ^1.0.0\n  bloc_test: ^9.0.0\n  integration_test:\n    sdk: flutter\n  flutter_lints: ^4.0.0\n```\n\n## Running Tests\n\n```bash\ndart test                                    # pure Dart package\ndart test test\u002Fcalculator_test.dart           # single file\ndart test --name \"adds two numbers\"           # match name\ndart test --reporter expanded                 # verbose\n\nflutter test                                  # all Flutter tests\nflutter test test\u002Fwidget\u002Flogin_button_test.dart  # single file\nflutter test --name \"Login\"                   # match name\nflutter test --coverage                       # with coverage\nflutter test --update-goldens                 # update golden files\nflutter test --integration-test               # integration tests\nflutter drive --driver=test_driver\u002Fintegration_test.dart\n```\n\n## Coverage\n\n```bash\nflutter test --coverage\n# generates coverage\u002Flcov.info\n\n# Install lcov tools (if available)\ngenhtml coverage\u002Flcov.info -o coverage\u002Fhtml\n```\n\n```yaml\n# pubspec.yaml — coverage threshold (using very_good_analysis)\ndev_dependencies:\n  very_good_analysis: ^6.0.0\n```\n\n```bash\n# Using very_good_cli\nvery_good test --coverage --min-coverage 80\n```\n\n## Debugging Failures\n\n1. Re-run with `--reporter expanded` for full output.\n2. Use `debugPrint = (String msg, {int? wrapWidth}) => print(msg);` to capture Flutter print.\n3. Use `tester.binding.setSurfaceSize(Size(width, height))` for specific screen sizes.\n4. Use `--update-goldens` when golden files intentionally changed.\n5. Expand to full suite once the root cause is fixed.\n\n## CI\u002FCD Integration (GitHub Actions)\n\n```yaml\n# .github\u002Fworkflows\u002Ftest.yml\nname: Test\non: [push, pull_request]\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: subosito\u002Fflutter-action@v2\n        with: { flutter-version: '3.24.x' }\n      - run: flutter pub get\n      - run: flutter test --coverage\n      - run: flutter test --machine > report.json\n```\n\n## Flaky Tests Guardrails\n\n- Never use `Future.delayed` for synchronization; use `tester.pump()` \u002F `tester.pumpAndSettle()`.\n- Use `FakeAsync` for time-dependent Dart code (from `package:fake_async`).\n- Make test data unique with `DateTime.now().millisecondsSinceEpoch.toString()`.\n- Avoid real network — use `MockClient` (from `package:http\u002Ftesting.dart`).\n- Reset `shared_preferences` and similar singletons between tests.\n\n## Test Case Design Patterns\n\nApply these systematic patterns before writing test code to ensure robust coverage beyond the happy path.\n\n### 1. Boundary Value Analysis\nTest at the edges of valid input domains: empty, zero, maximum, null, and just-outside valid ranges.\n\n```dart\n\u002F\u002F test\u002Fvalidator_test.dart\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  group('validateInput', () {\n    ['', ' ', 'a' * 10001].forEach((input) {\n      test('rejects ${input.runtimeType}', () {\n        expect(() => validateInput(input), throwsA(isA\u003CArgumentError>()));\n      });\n    });\n  });\n}\n```\n\n### 2. Negative \u002F Error Case Testing\nVerify the system behaves correctly under invalid or unexpected conditions.\n\n```dart\n\u002F\u002F test\u002Fcalculator_test.dart\nvoid main() {\n  test('throws on divide by zero', () {\n    expect(() => divide(10, 0), throwsA(isA\u003CException>()));\n  });\n}\n```\n\n### 3. State-Based Testing\nFor objects with internal state, verify transitions between states are correct and irreversible where expected.\n\n```dart\n\u002F\u002F test\u002Fconnection_test.dart\nvoid main() {\n  test('transitions through connection states', () {\n    final conn = Connection();\n    expect(conn.state, ConnectionState.closed);\n    conn.open();\n    expect(conn.state, ConnectionState.open);\n    conn.close();\n    expect(conn.state, ConnectionState.closed);\n    \u002F\u002F Idempotency\n    conn.close();\n    expect(conn.state, ConnectionState.closed);\n  });\n}\n```\n\n## Common Test Smells to Avoid\n\n- **Assertion Roulette**: Many assertions without descriptive messages, making failure diagnosis ambiguous. *Fix: Use `expect(value, reason: 'description')` for each assertion.*\n- **Happy Path Bias**: Only testing successful scenarios, leaving error paths uncovered. *Fix: Test `null` values, exceptions with `throwsA\u003CException>()`, empty collections.*\n- **Mock Overdose**: Too many mocks hiding integration issues or coupling tests to implementation. *Fix: Mock only at boundary interfaces (repositories, HTTP clients); prefer `mocktail` for simplicity.*\n- **The Free Ride**: Tests that execute code but assert nothing meaningful. *Fix: Every test must have at least one specific, falsifiable assertion.*\n- **Obscure Test**: Long widget tests with no clear setup\u002Fverify structure. *Fix: Follow AAA, use `pumpWidget()` in setUp, keep test cases focused on single behavior.*\n- **Flaky Test**: Non-deterministic results from async, timers, or golden files. *Fix: Use `tester.pumpAndSettle()`, `FakeAsync`, avoid real time in widget tests.*\n\n## Best Practices\n\n### DO\n\n- Follow the test pyramid: many unit, some widget, few integration tests\n- Use `group()` for logical test organization\n- Use `setUp()` \u002F `tearDown()` for consistent test state\n- Use `tester.pumpWidget()` for widget rendering\n- Use `tester.pumpAndSettle()` to wait for animations\n- Use `find.byKey()` (preferred) or `find.text()` for widget discovery\n- Use `golden` file tests for visual regression (with `--update-goldens` in CI)\n\n### DON'T\n\n- Don't use `Future.delayed` for synchronization in tests\n- Don't depend on real time or network in unit\u002Fwidget tests\n- Don't test private methods starting with `_`\n- Don't use `await tester.pump()` after every widget change — use `pumpAndSettle()` when needed\n- Don't hardcode golden file paths — use `matchesGoldenFile('goldens\u002F...')`\n\n### Common Pitfalls\n\n- **Flaky widget tests** → Use `tester.pumpAndSettle()` instead of arbitrary `pump(Duration)` calls.\n- **Mock generation** → Run `dart run build_runner build` after adding `@GenerateMocks`.\n- **Async gaps** → Use `runAsync` for real async calls in widget tests.\n- **Golden file bloat** → Keep goldens small; review golden changes in PR.\n- **Over-mocking** → Prefer real implementations for pure Dart business logic.\n- **Expired goldens** → Run `flutter test --update-goldens` when UI intentionally changes.\n- **Slow integration tests** → Test critical paths only; keep unit\u002Fwidget test coverage high.\n\n## Optional: Property-Based Testing\n\n```dart\nimport 'package:checks\u002Fchecks.dart';\n\nvoid main() {\n  test('add is commutative', () {\n    final add = Math.add\u003Cint>;\n    check(add(2, 3)).equals(add(3, 2));\n  });\n}\n```\n\n## Alternatives\n\n- **flutter_test**: built-in, always available for Flutter projects.\n- **mocktail**: no code generation needed, works without build_runner.\n- **patrol**: advanced integration + native automation for Flutter.","# Dart\u002FFlutter Testing (Agent Skill)\n\nAgent-focused testing workflow for Dart\u002FFlutter using the built-in `test` package, `flutter_test` for widgets, and `mockito` for mocking.\n\n## When to Use\n\n- Writing new Dart\u002FFlutter tests or fixing existing tests\n- Designing unit\u002Fintegration\u002Fwidget test coverage for Dart\u002FFlutter apps\n- Adding test coverage, CI gating, or regression protection\n- Configuring test workflows for consistent execution\n- Investigating test failures or flaky behavior\n- Testing Flutter UI, business logic, or package libraries\n\n### When NOT to Use\n\n- Implementing new product features without test changes\n- Large-scale refactors unrelated to test coverage or failures\n- Performance tuning without test regressions to validate\n- Non-Dart\u002FFlutter projects or non-test tasks\n\n### Stop Conditions — When to ASK instead of generating\n\nBefore generating any test code, STOP and ask the user if:\n- The code under test has **zero testability** (no DI, hard-coded HTTP, widget logic embedded in build methods)\n- **No test framework** is detected (no `test`\u002F`flutter_test` in pubspec.yaml dev_dependencies)\n- The request is **ambiguous**: \"test my app\" or \"add tests\" without specifying files or widgets\n- A **required test dependency** (mockito, mocktail, bloc_test) is not installed\n- The test would require **secrets, real credentials, or production API access**\n\n## Core Concepts\n\n- **TDD loop**: red → green → refactor (tests first, minimal fix, then cleanups).\n- **Three tiers**: unit tests (fastest), widget tests (medium), integration tests (slowest).\n- **Test layout**: `test\u002F` directory mirroring `lib\u002F` structure, `test\u002Ftest_helpers\u002F`.\n- **Mocks**: `mockito` with `build_runner` for code-generated mock classes.\n- **Stream testing**: `expectLater()` for async stream assertions.\n- **CI signal**: `flutter test --machine` or `dart test --reporter json`.\n\n## Agent Execution Protocol\n\nWhen this skill is activated, follow this exact execution sequence:\n\n### Phase 1: Context Analysis\nBefore writing any test code:\n1. Identify the Dart\u002FFlutter SDK version and test framework (`test`, `flutter_test`).\n2. Check for existing test files (`test\u002F`) to infer naming conventions and style.\n3. Analyze the code under test: identify public API surface, `Stream`\u002F`Future` usage, widget tree, and state management (BLoC, Riverpod, etc.).\n4. Determine request type: (a) new tests, (b) fixing broken tests, (c) coverage improvement, (d) flaky test diagnosis.\n\n### Phase 2: Strategy Selection\nBased on Phase 1, select the appropriate strategy:\n- **Pure functions \u002F utilities**: unit tests only, no mocks. Use `group()`\u002F`test()` with `expect`.\n- **External dependencies (HTTP, DB)**: use `MockClient` from `http\u002Ftesting.dart` or `mockito`\u002F`mocktail`.\n- **Flutter widgets**: use `testWidgets()` with `tester.pumpWidget()`; use `find.byKey()` for discovery.\n- **State management (BLoC)**: use `blocTest()` from `bloc_test` package for state emission testing.\n- **Async code**: use `async` test blocks with `expectLater()` for Streams.\n\n### Decision Tree (Complex Scenarios)\n\n```text\nQ1: External I\u002FO (HTTP, DB, platform channels)?\n  → Yes → Q2\n  → No  → Pure unit test, no mocks needed\n\nQ2: Mockable (interface, abstract class, MockClient)?\n  → Yes → Mock at boundary (mockito @GenerateMocks, mocktail)\n  → No  → Q3\n\nQ3: Widget rendering?\n  → Yes → widgetTest + tester.pumpWidget() + find.byKey()\n  → No  → Q4\n\nQ4: State management (BLoC\u002FCubit)?\n  → Yes → blocTest() with expectStates\u002FexpectIsar\n  → No  → Standard group()\u002Ftest() with expect()\n\nQ5: End-to-end \u002F native automation?\n  → Yes → IntegrationTest \u002F patrol\n  → No  → Standard unit test\n```\n\n### Phase 3: Test Case Design\nApply systematic test design before coding:\n1. **Happy path**: normal input → expected output\u002Fwidget state.\n2. **Boundary values**: empty lists, `null`, `0`, empty strings, `DateTime(0)`.\n3. **Error cases**: exceptions (`throwsA`), `Future.error`, widget not found (`findsNothing`).\n4. **State & interaction**: user taps, form validation, loading\u002Ferror\u002Fsuccess widget states.\n\n### Phase 4: Code Generation\nOutput tests in this exact structure:\n```\n#### Test Strategy Summary\n- [ ] Scope: Unit \u002F Widget \u002F Integration\n- [ ] Framework: test \u002F flutter_test + mockito\u002Fmocktail + bloc_test (if BLoC)\n- [ ] Mocking: Yes\u002FNo — mockito \u002F mocktail \u002F MockClient\n- [ ] Edge cases covered: \u003Clist>\n\n#### Generated Test Code\n\u003Cfile_path>\n\u003Ccode>\n\n#### Running Commands\n```bash\ndart test test\u002Fxxx_test.dart\nflutter test test\u002Fwidget\u002Fxxx_test.dart\nflutter test --coverage\n```\n\n#### Coverage Impact (if applicable)\n- Estimated coverage change: \u003CX%>\n- Command to verify: `flutter test --coverage && genhtml coverage\u002Flcov.info -o coverage\u002Fhtml`\n```\n\n### Phase 5: Verification Checklist\nBefore completing, verify:\n- [ ] Tests run without errors (`dart test` \u002F `flutter test`).\n- [ ] Each test has exactly one logical assertion focus.\n- [ ] Mocks are reset between tests (reconstruct in `setUp`).\n- [ ] No `Future.delayed` used for synchronization (use `tester.pumpAndSettle()`).\n- [ ] Flaky test guardrails applied (`tester.pumpAndSettle()`, unique test data, golden file reviews).\n\n## TDD Workflow\n\n```dart\n\u002F\u002F test\u002Fadd_test.dart\nint add(int a, int b) => throw UnimplementedError(); \u002F\u002F stub\n\nvoid main() {\n  test('adds two numbers', () { \u002F\u002F RED\n    expect(add(2, 3), equals(5));\n  });\n}\n\n\u002F\u002F lib\u002Fadd.dart\nint add(int a, int b) => a + b; \u002F\u002F GREEN\n\n\u002F\u002F REFACTOR: simplify\u002Frename once tests pass\n```\n\n## Code Examples\n\n### Basic Unit Test\n\n```dart\n\u002F\u002F test\u002Fcalculator_test.dart\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  group('Calculator', () {\n    test('adds two numbers', () {\n      expect(Calculator.add(2, 3), equals(5));\n    });\n\n    test('handles negative numbers', () {\n      expect(Calculator.add(-1, 1), equals(0));\n    });\n  });\n}\n```\n\n### Setup \u002F Teardown\n\n```dart\n\u002F\u002F test\u002Fuser_store_test.dart\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  late UserStore store;\n\n  setUp(() {\n    store = UserStore();\n    store.seed([User('alice'), User('bob')]);\n  });\n\n  tearDown(() {\n    store.dispose();\n  });\n\n  group('find', () {\n    test('returns existing user', () {\n      final user = store.find('alice');\n\n      expect(user, isNotNull);\n      expect(user!.name, equals('alice'));\n    });\n\n    test('returns null for missing user', () {\n      expect(store.find('charlie'), isNull);\n    });\n  });\n}\n```\n\n### Mocking (mockito)\n\n```dart\n\u002F\u002F test\u002Fnotifier_test.dart\nimport 'package:mockito\u002Fmockito.dart';\nimport 'package:mockito\u002Fannotations.dart';\nimport 'package:test\u002Ftest.dart';\n\nimport 'notifier_test.mocks.dart';\n\n@GenerateMocks([Notifier])\nvoid main() {\n  test('sends notifications', () {\n    final notifier = MockNotifier();\n    final service = Service(notifier);\n\n    service.publish('hello');\n\n    verify(notifier.send('hello')).called(1);\n  });\n}\n```\n\n```dart\n\u002F\u002F notifier.dart\nabstract class Notifier {\n  void send(String message);\n}\n```\n\n```dart\n\u002F\u002F notifier_test.mocks.dart (generated by build_runner)\n```\n\n### Async Test\n\n```dart\n\u002F\u002F test\u002Fapi_test.dart\nvoid main() {\n  test('fetches user data', () async {\n    final user = await fetchUser('1');\n    expect(user.name, equals('alice'));\n  });\n\n  test('handles errors', () async {\n    expect(\n      () => fetchUser('invalid'),\n      throwsA(isA\u003CException>()),\n    );\n  });\n}\n```\n\n### Stream Test\n\n```dart\n\u002F\u002F test\u002Fstream_test.dart\nvoid main() {\n  test('emits values in order', () {\n    final controller = StreamController\u003Cint>();\n\n    expectLater(\n      controller.stream,\n      emitsInOrder([1, 2, 3, emitsDone]),\n    );\n\n    controller.add(1);\n    controller.add(2);\n    controller.add(3);\n    controller.close();\n  });\n}\n```\n\n### Flutter Widget Test\n\n```dart\n\u002F\u002F test\u002Fwidget\u002Flogin_button_test.dart\nimport 'package:flutter_test\u002Fflutter_test.dart';\nimport 'package:my_app\u002Fwidgets\u002Flogin_button.dart';\n\nvoid main() {\n  testWidgets('shows login button', (tester) async {\n    await tester.pumpWidget(const MaterialApp(\n      home: LoginButton(),\n    ));\n\n    expect(find.text('Login'), findsOneWidget);\n  });\n\n  testWidgets('triggers onPressed callback', (tester) async {\n    var pressed = false;\n\n    await tester.pumpWidget(MaterialApp(\n      home: LoginButton(onPressed: () => pressed = true),\n    ));\n\n    await tester.tap(find.text('Login'));\n    expect(pressed, isTrue);\n  });\n}\n```\n\n### BLoC State Testing (bloc_test)\n\n```dart\n\u002F\u002F test\u002Fcounter_bloc_test.dart\nimport 'package:bloc_test\u002Fbloc_test.dart';\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  blocTest\u003CCounterBloc, int>(\n    'emits [1] when Increment is added',\n    build: () => CounterBloc(),\n    act: (bloc) => bloc.add(Increment()),\n    expect: () => [1],\n  );\n\n  blocTest\u003CCounterBloc, int>(\n    'emits [1, 0] when Increment then Decrement is added',\n    build: () => CounterBloc(),\n    act: (bloc) => bloc\n      ..add(Increment())\n      ..add(Decrement()),\n    expect: () => [1, 0],\n  );\n}\n```\n\n### Flutter Integration Test\n\n```dart\n\u002F\u002F test_driver\u002Fapp_test.dart\nimport 'package:flutter_test\u002Fflutter_test.dart';\nimport 'package:integration_test\u002Fintegration_test.dart';\n\nvoid main() {\n  IntegrationTestWidgetsFlutterBinding.ensureInitialized();\n\n  testWidgets('full app flow', (tester) async {\n    await tester.pumpWidget(const MyApp());\n\n    \u002F\u002F Wait for splash screen\n    await tester.pumpAndSettle();\n\n    \u002F\u002F Navigate to login\n    await tester.tap(find.text('Get Started'));\n    await tester.pumpAndSettle();\n\n    expect(find.text('Welcome'), findsOneWidget);\n  });\n}\n```\n\n### Data-Driven Test\n\n```dart\nvoid main() {\n  final cases = [\n    (a: 1, b: 2, expected: 3),\n    (a: -1, b: 1, expected: 0),\n    (a: 0, b: 0, expected: 0),\n    (a: 100, b: 200, expected: 300),\n  ];\n\n  for (final (a, b, expected) in cases) {\n    test('add($a, $b) = $expected', () {\n      expect(Calculator.add(a, b), equals(expected));\n    });\n  }\n}\n```\n\n## Pubspec Quickstart\n\n```yaml\n# pubspec.yaml\ndev_dependencies:\n  test: ^1.25.0\n  flutter_test:\n    sdk: flutter\n  mockito: ^5.4.0\n  build_runner: ^2.4.0\n  mocktail: ^1.0.0\n  bloc_test: ^9.0.0\n  integration_test:\n    sdk: flutter\n  flutter_lints: ^4.0.0\n```\n\n## Running Tests\n\n```bash\ndart test                                    # pure Dart package\ndart test test\u002Fcalculator_test.dart           # single file\ndart test --name \"adds two numbers\"           # match name\ndart test --reporter expanded                 # verbose\n\nflutter test                                  # all Flutter tests\nflutter test test\u002Fwidget\u002Flogin_button_test.dart  # single file\nflutter test --name \"Login\"                   # match name\nflutter test --coverage                       # with coverage\nflutter test --update-goldens                 # update golden files\nflutter test --integration-test               # integration tests\nflutter drive --driver=test_driver\u002Fintegration_test.dart\n```\n\n## Coverage\n\n```bash\nflutter test --coverage\n# generates coverage\u002Flcov.info\n\n# Install lcov tools (if available)\ngenhtml coverage\u002Flcov.info -o coverage\u002Fhtml\n```\n\n```yaml\n# pubspec.yaml — coverage threshold (using very_good_analysis)\ndev_dependencies:\n  very_good_analysis: ^6.0.0\n```\n\n```bash\n# Using very_good_cli\nvery_good test --coverage --min-coverage 80\n```\n\n## Debugging Failures\n\n1. Re-run with `--reporter expanded` for full output.\n2. Use `debugPrint = (String msg, {int? wrapWidth}) => print(msg);` to capture Flutter print.\n3. Use `tester.binding.setSurfaceSize(Size(width, height))` for specific screen sizes.\n4. Use `--update-goldens` when golden files intentionally changed.\n5. Expand to full suite once the root cause is fixed.\n\n## CI\u002FCD Integration (GitHub Actions)\n\n```yaml\n# .github\u002Fworkflows\u002Ftest.yml\nname: Test\non: [push, pull_request]\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: subosito\u002Fflutter-action@v2\n        with: { flutter-version: '3.24.x' }\n      - run: flutter pub get\n      - run: flutter test --coverage\n      - run: flutter test --machine > report.json\n```\n\n## Flaky Tests Guardrails\n\n- Never use `Future.delayed` for synchronization; use `tester.pump()` \u002F `tester.pumpAndSettle()`.\n- Use `FakeAsync` for time-dependent Dart code (from `package:fake_async`).\n- Make test data unique with `DateTime.now().millisecondsSinceEpoch.toString()`.\n- Avoid real network — use `MockClient` (from `package:http\u002Ftesting.dart`).\n- Reset `shared_preferences` and similar singletons between tests.\n\n## Test Case Design Patterns\n\nApply these systematic patterns before writing test code to ensure robust coverage beyond the happy path.\n\n### 1. Boundary Value Analysis\nTest at the edges of valid input domains: empty, zero, maximum, null, and just-outside valid ranges.\n\n```dart\n\u002F\u002F test\u002Fvalidator_test.dart\nimport 'package:test\u002Ftest.dart';\n\nvoid main() {\n  group('validateInput', () {\n    ['', ' ', 'a' * 10001].forEach((input) {\n      test('rejects ${input.runtimeType}', () {\n        expect(() => validateInput(input), throwsA(isA\u003CArgumentError>()));\n      });\n    });\n  });\n}\n```\n\n### 2. Negative \u002F Error Case Testing\nVerify the system behaves correctly under invalid or unexpected conditions.\n\n```dart\n\u002F\u002F test\u002Fcalculator_test.dart\nvoid main() {\n  test('throws on divide by zero', () {\n    expect(() => divide(10, 0), throwsA(isA\u003CException>()));\n  });\n}\n```\n\n### 3. State-Based Testing\nFor objects with internal state, verify transitions between states are correct and irreversible where expected.\n\n```dart\n\u002F\u002F test\u002Fconnection_test.dart\nvoid main() {\n  test('transitions through connection states', () {\n    final conn = Connection();\n    expect(conn.state, ConnectionState.closed);\n    conn.open();\n    expect(conn.state, ConnectionState.open);\n    conn.close();\n    expect(conn.state, ConnectionState.closed);\n    \u002F\u002F Idempotency\n    conn.close();\n    expect(conn.state, ConnectionState.closed);\n  });\n}\n```\n\n## Common Test Smells to Avoid\n\n- **Assertion Roulette**: Many assertions without descriptive messages, making failure diagnosis ambiguous. *Fix: Use `expect(value, reason: 'description')` for each assertion.*\n- **Happy Path Bias**: Only testing successful scenarios, leaving error paths uncovered. *Fix: Test `null` values, exceptions with `throwsA\u003CException>()`, empty collections.*\n- **Mock Overdose**: Too many mocks hiding integration issues or coupling tests to implementation. *Fix: Mock only at boundary interfaces (repositories, HTTP clients); prefer `mocktail` for simplicity.*\n- **The Free Ride**: Tests that execute code but assert nothing meaningful. *Fix: Every test must have at least one specific, falsifiable assertion.*\n- **Obscure Test**: Long widget tests with no clear setup\u002Fverify structure. *Fix: Follow AAA, use `pumpWidget()` in setUp, keep test cases focused on single behavior.*\n- **Flaky Test**: Non-deterministic results from async, timers, or golden files. *Fix: Use `tester.pumpAndSettle()`, `FakeAsync`, avoid real time in widget tests.*\n\n## Best Practices\n\n### DO\n\n- Follow the test pyramid: many unit, some widget, few integration tests\n- Use `group()` for logical test organization\n- Use `setUp()` \u002F `tearDown()` for consistent test state\n- Use `tester.pumpWidget()` for widget rendering\n- Use `tester.pumpAndSettle()` to wait for animations\n- Use `find.byKey()` (preferred) or `find.text()` for widget discovery\n- Use `golden` file tests for visual regression (with `--update-goldens` in CI)\n\n### DON'T\n\n- Don't use `Future.delayed` for synchronization in tests\n- Don't depend on real time or network in unit\u002Fwidget tests\n- Don't test private methods starting with `_`\n- Don't use `await tester.pump()` after every widget change — use `pumpAndSettle()` when needed\n- Don't hardcode golden file paths — use `matchesGoldenFile('goldens\u002F...')`\n\n### Common Pitfalls\n\n- **Flaky widget tests** → Use `tester.pumpAndSettle()` instead of arbitrary `pump(Duration)` calls.\n- **Mock generation** → Run `dart run build_runner build` after adding `@GenerateMocks`.\n- **Async gaps** → Use `runAsync` for real async calls in widget tests.\n- **Golden file bloat** → Keep goldens small; review golden changes in PR.\n- **Over-mocking** → Prefer real implementations for pure Dart business logic.\n- **Expired goldens** → Run `flutter test --update-goldens` when UI intentionally changes.\n- **Slow integration tests** → Test critical paths only; keep unit\u002Fwidget test coverage high.\n\n## Optional: Property-Based Testing\n\n```dart\nimport 'package:checks\u002Fchecks.dart';\n\nvoid main() {\n  test('add is commutative', () {\n    final add = Math.add\u003Cint>;\n    check(add(2, 3)).equals(add(3, 2));\n  });\n}\n```\n\n## Alternatives\n\n- **flutter_test**: built-in, always available for Flutter projects.\n- **mocktail**: no code generation needed, works without build_runner.\n- **patrol**: advanced integration + native automation for Flutter.",{"name":5,"origin":24,"description":25},"ECC","Use ONLY when user explicitly requests Dart\u002FFlutter test code, flutter_test\u002Fmockito configuration,\ntest failure diagnosis, or coverage improvement for Dart\u002FFlutter projects.\n\nTriggers: \"write test dart\", \"flutter test\", \"mockito dart\", \"bloc test\",\n\"widget test\", \"flutter coverage\", \"golden test\", \"mocktail\", \"patrol\".\n\nDo NOT activate for: general Dart\u002FFlutter coding without test context, pub get\u002Fbuild\nerrors, Flutter widget implementation, or state management without test needs.\n","main","021f5cbe02157229460a577e9a585f2da6d78cb0",".specify\u002Ftemplates\u002Fpassive-skills\u002Fdart-testing","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck","https:\u002F\u002Fgithub.com\u002Fchenziyang110","2026-08-07 18:10:54",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add chenziyang110\u002Flaunchdeck --skill dart-testing",{"tool":38,"command":39},"bunx","bunx skills add chenziyang110\u002Flaunchdeck --skill dart-testing",{"tool":41,"command":42},"pnpm","pnpm dlx skills add chenziyang110\u002Flaunchdeck --skill dart-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fdart-testing\u002FSKILL.md",true,[],[47,54,60,66,73,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7875F3HQ1GF5F6BR36KY3JE","launchdeck-agent","Codex host adapter contract fixture for Launchdeck.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fagent-hosts\u002Fcodex\u002Fskill\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7875DV2DQR33K1NFJHKAMZP","Claude host adapter contract fixture for Launchdeck.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fagent-hosts\u002Fclaude\u002Fskill\u002FSKILL.md",[],[],{"skillNo":61,"name":49,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M78759JQ7A6FQ8KDQTNYS3X9","Use this skill aggressively for local project lifecycle operations even when the user does not mention Launchdeck: start this project, run the dev server, dev, build, test, restart service, stop service, show logs, inspect ports, port is occupied, clean cache; and when the user explicitly asks to configure this local project for Launchdeck or create or generate a project-adapted `.launchdeck.yml`, including 为这个项目生成 Launchdeck 配置. Do not use for ordinary code edits, docs-only work, general explanations, API design discussion, or production deployment unless the user also asks to operate or configure a local project or service.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Fagent\u002Finstaller-payload\u002Fskill\u002Flaunchdeck-agent\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78753ZJQ7G2CZT1W1G8WRJV","zig-testing","Use ONLY when user explicitly requests Zig test code, built-in test runner configuration,\ntest failure diagnosis, or coverage for Zig projects.\n\nTriggers: \"write test zig\", \"zig test\", \"testing.allocator\", \"zig coverage\",\n\"comptime test\", \"zig expectError\", \"zig snapshot test\", \"zig fuzz\".\n\nDo NOT activate for: general Zig coding without test context, build.zig configuration\nfor non-test targets, Zig compiler errors, or Zig build system setup.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fzig-testing\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M78750JXY4Z5D5W1EX3PQ31Z","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7874X2T83EQQFRCEY5SJJVC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fverification-before-completion\u002FSKILL.md",[],[]]