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.

Stars 163
Forks 31

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

  1. Compilation

    • Run dotnet build in the root directory.
    • Check: If the build fails, STOP. Report the errors using read_file to show the relevant code.
    • Tip: For clean rebuild, use /ops__rebuild_clean
  2. 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).
  3. Background Services Check

    • Ensure you are not running tests if the AppHost is already locking ports (if running locally).
    • Action: Stop any running dotnet processes if needed.

// turbo 4. Run Tests (Unit & Integration)

  • Run dotnet test to 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
  1. 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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results