·testing-best-practices
</>

testing-best-practices

asyrafhussin/agent-skills

单元测试、集成测试和测试驱动开发原则。在编写测试、审查测试代码、提高测试覆盖率或设置测试策略时使用。触发“编写测试”、“审查测试”、“测试最佳实践”或“TDD”。

30安装·1热度·@asyrafhussin

安装

$npx skills add https://github.com/asyrafhussin/agent-skills --skill testing-best-practices

SKILL.md

Unit testing, integration testing, and TDD principles for reliable, maintainable test suites. Guidelines for writing effective tests that provide confidence and documentation.

| 1 | Test Structure | CRITICAL | struct- | | 2 | Test Isolation | CRITICAL | iso- | | 3 | Assertions | HIGH | assert- | | 4 | Test Data | HIGH | data- | | 5 | Mocking | MEDIUM | mock- | | 6 | Coverage | MEDIUM | cov- | | 7 | Performance | LOW | perf- |

For detailed examples, see the rule files in the rules/ directory.

单元测试、集成测试和测试驱动开发原则。在编写测试、审查测试代码、提高测试覆盖率或设置测试策略时使用。触发“编写测试”、“审查测试”、“测试最佳实践”或“TDD”。 来源:asyrafhussin/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/asyrafhussin/agent-skills --skill testing-best-practices
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 testing-best-practices?

单元测试、集成测试和测试驱动开发原则。在编写测试、审查测试代码、提高测试覆盖率或设置测试策略时使用。触发“编写测试”、“审查测试”、“测试最佳实践”或“TDD”。 来源:asyrafhussin/agent-skills。

如何安装 testing-best-practices?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/asyrafhussin/agent-skills --skill testing-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/asyrafhussin/agent-skills