一键导入
generate-tests
Generate tests following project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate tests following project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Verify architectural consistency and dependency rules in EagleEye
Validate EagleEye documentation matches actual implementation
Determine minimum requirements to consume the EagleEye library
Generate release notes and prepare the next release for EagleEye
Review an EagleEye pull request checking architecture, tests, docs, and completeness
Run the EagleEye build and tests
| name | generate-tests |
| description | Generate tests following project conventions |
| trigger | when the user asks to write tests, review test files, or generate new test cases |
When invoked:
Detect testing framework:
pubspec.yaml dev_dependencies: for test (Dart package:test).flutter_test is found, classify as Flutter widget tests.package:test (^1.31.1).Analyze existing tests in test/:
test(), group(), expect() patterns.*_test.dart suffix).lib/.Follow current naming conventions:
<name>_test.dart matching <name>.dart in lib/.group() for logical grouping.test() for individual test cases.expect(actual, matcher) for assertions.Generate unit tests for:
lib/.Generate integration tests when applicable:
Ensure generated tests use the project's assertion style and test architecture:
package:test conventions.