← 返回 Skills 市场
5102
总下载
2
收藏
56
当前安装
1
版本数
在 OpenClaw 中安装
/install testing-patterns
功能描述
Unit, integration, and E2E testing patterns with framework-specific guidance. Use when asked to "write tests", "add test coverage", "testing strategy", "test this function", "create test suite", "fix flaky tests", or "improve test quality".
安全使用建议
Safe to install as testing guidance. Prefer per-project installation unless you intentionally want it active globally, and verify the GitHub source before running the npx install command.
功能分析
Type: OpenClaw Skill
Name: testing-patterns
Version: 0.1.0
The skill bundle provides comprehensive documentation and instructions for an AI agent on various software testing patterns and best practices. All files, including `SKILL.md` and platform-specific instruction templates, contain educational content and guidelines for generating high-quality tests. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts designed to subvert the agent's purpose or perform harmful actions. The installation instructions in `README.md` are standard for skill bundles in the target platforms.
能力评估
Purpose & Capability
The artifacts coherently provide unit, integration, and E2E testing patterns, framework examples, quality checklists, and platform-specific instruction templates.
Instruction Scope
The trigger wording is fairly broad for common testing requests, but the instructions remain bounded to software testing guidance and do not ask the agent to override user intent or access unrelated data.
Install Mechanism
The README includes a user-run npx install from a GitHub main-branch path plus manual copy commands; this is disclosed but users should verify the source before running branch-based installs.
Credentials
Runtime guidance does not request credentials, session stores, environment secrets, network access, broad local indexing, or external API use beyond normal project test-writing context.
Persistence & Privilege
Manual global install examples place the skill in standard Cursor or Claude skill directories if the user chooses that scope; no automatic startup, cron, daemon, or hidden persistence mechanism is present.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install testing-patterns - 安装完成后,直接呼叫该 Skill 的名称或使用
/testing-patterns触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of testing-patterns: a comprehensive guide for writing effective tests at all levels.
- Introduces patterns for unit, integration, and E2E testing, including framework-specific examples.
- Covers test structure styles: Arrange-Act-Assert, Given-When-Then, parameterized, property-based, and snapshot tests.
- Explains test doubles (stub, mock, spy, fake) and when to use each.
- Provides integration and database testing strategies, with practical examples.
- Outlines mocking best practices, emphasizing boundary-based mocks and dependency injection for testability.
- Includes a framework quick reference for popular test runners and assertion libraries.
元数据
常见问题
Testing Patterns 是什么?
Unit, integration, and E2E testing patterns with framework-specific guidance. Use when asked to "write tests", "add test coverage", "testing strategy", "test this function", "create test suite", "fix flaky tests", or "improve test quality". 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5102 次。
如何安装 Testing Patterns?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install testing-patterns」即可一键安装,无需额外配置。
Testing Patterns 是免费的吗?
是的,Testing Patterns 完全免费(开源免费),可自由下载、安装和使用。
Testing Patterns 支持哪些平台?
Testing Patterns 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Testing Patterns?
由 wpank(@wpank)开发并维护,当前版本 v0.1.0。
推荐 Skills