Skip to main content

smock-tests

星标15
分支3
更新时间2026年4月19日 13:17

This skill should be used when the user asks to "create tests", "add tests", "write tests", "use smock to test", "mock static methods in tests", "update tests to use SMock", "generate test structure", "add unit tests for a class or method", "check my tests", "fix my tests", "update SMock version", "check SMock version", or "/smock-tests" is invoked. Also activate when the user mentions "SMock" in context while discussing tests, asks about mocking static or instance methods, or is working on a .NET test project. Discovers or creates .NET test project structure, checks and updates the SMock package to the latest version, proactively finds untested or improperly mocked code across the entire codebase, and writes/updates tests using SMock only where mocking is actually needed — without asking the user which classes to test.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly