verify-feature
Strict verification for new features. Runs compilation, formatting, and all tests to ensure the "Definition of Done".
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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
/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:
-
/run-unit-tests- Unit tests only -
/run-integration-tests- Integration tests only
-
-
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:
- run-unit-tests - Unit test details
- run-integration-tests - Integration test details
- rebuild-clean - Clean build process
- testing-guide - TUnit testing patterns
- integration-testing-guide - Aspire testing
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!