搜索

PythonReactSEOPDF
GitHub Skill

verify-feature

Strict verification for new features. Runs compilation, formatting, and all tests to ensure the "Definition of Done".

aalmada☆ 14 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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 /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:
    • /run-unit-tests - Unit tests only
    • /run-integration-tests - 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:

  • /scaffold-write, /scaffold-read, /scaffold-frontend-feature - After implementing features
  • /scaffold-test - After creating tests
  • /debug-sse, /debug-cache - After fixing issues

Component Skills (for granular verification):

  • /rebuild-clean - Clean build if compilation issues
  • /run-unit-tests - Run only unit tests
  • /run-integration-tests - Run only integration tests

See Also:

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!