Agent skill
test__verify_feature
Strict feature verification gate. Runs compilation, dotnet format, and all tests to confirm the Definition of Done is met. Use this as the final step before marking a feature complete or opening a PR.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/test-verify-feature
SKILL.md
Use this skill to verify that a feature implementation is complete and correct. It enforces code style, compilation, and test passing.
Verification Steps
-
Compilation
- Run
dotnet buildin the root directory. - Check: If the build fails, STOP. Report the errors using
read_fileto show the relevant code. - Tip: For clean rebuild, use
/ops__rebuild_clean
- Run
-
Code Formatting
- Run
dotnet format --verify-no-changes. - Check: If this fails, it means the code violates style rules.
- Action: You can offer to fix it for the user by running
dotnet format(without --verify-no-changes).
- Run
-
Background Services Check
- Ensure you are not running tests if the AppHost is already locking ports (if running locally).
- Action: Stop any running
dotnetprocesses if needed.
// turbo 4. Run Tests (Unit & Integration)
- Run
dotnet testto execute all test suites. - Check: All tests must pass.
- Action: If tests fail, analyze the results. Focus on any NEW failures related to the recent changes.
- Granular Options:
/test__unit_suite- Unit tests only/test__integration_suite- Integration tests only
- Completion
- If all steps pass, report: "✅ Feature verified: Builds, follows style guide, and passes all tests."
Related Skills
Typically Used After:
/wolverine__guide,/marten__guide,/frontend__feature_scaffold- After implementing features/test__integration_scaffold- After creating tests/frontend__debug_sse,/cache__debug_cache- After fixing issues
Component Skills (for granular verification):
/ops__rebuild_clean- Clean build if compilation issues/test__unit_suite- Run only unit tests/test__integration_suite- Run only integration tests
See Also:
- test__unit_suite - Unit test details
- test__integration_suite - Integration test details
- ops__rebuild_clean - Clean build process
- testing-guide - TUnit testing patterns
- integration-testing-guide - Aspire testing
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?