← Back to Skills Marketplace
gitgoodordietrying

Test Patterns

by gitgoodordietrying · GitHub ↗ · v1.0.0
linuxdarwinwin32 ⚠ suspicious
3391
Downloads
1
Stars
23
Active Installs
1
Versions
Install in OpenClaw
/install test-patterns
Description
Write and run tests across languages and frameworks. Use when setting up test suites, writing unit/integration/E2E tests, measuring coverage, mocking dependencies, or debugging test failures. Covers Node.js (Jest/Vitest), Python (pytest), Go, Rust, and Bash.
Usage Guidance
This skill is an offline guide with examples for writing and running tests — it is internally consistent. Before using: ensure the appropriate runtimes (node, python3, go, cargo, bash) are installed as needed; be aware that running tests in a repository will execute the repository's code (including network calls, DB interactions, or any side effects), so run tests in an isolated/sandboxed environment or with mocks when executing untrusted code. Also review any package installs (npm/pip) that test suites require, since installing dependencies can pull third-party code. The skill itself does not request secrets or perform installs, but the tests you run based on its instructions may interact with external services — audit those test cases accordingly.
Capability Analysis
Type: OpenClaw Skill Name: test-patterns Version: 1.0.0 The skill is classified as suspicious due to the inherent high-risk nature of its core functionality and the inclusion of powerful shell primitives. The `SKILL.md` provides extensive examples of executing shell commands and code in various languages (Node.js, Python, Go, Rust, Bash), which is explicitly declared in the `requires` metadata (`anyBins: ['node', 'python3', 'go', 'cargo', 'bash']`). While this aligns with the stated purpose of 'running tests across languages', it grants broad system access. Specifically, the Bash test runner example includes `eval "$cmd"`, a dangerous primitive that, while presented as a template with benign examples, could lead to arbitrary command execution if the agent were to use it with untrusted input or if the skill were modified to inject malicious commands into `$cmd`.
Capability Assessment
Purpose & Capability
Name and description describe writing/running tests across Node/Python/Go/Rust/Bash; the declared requirement that at least one of node, python3, go, cargo, or bash be present is appropriate and proportional for this purpose. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md contains language-specific test examples (unit, integration, mocking, coverage) and typical commands (npm install -D jest, pip install pytest, npx jest --coverage, creating tmp DBs). The instructions do not ask the agent to read unrelated system files or secret environment variables, nor to exfiltrate data. They do include examples that may perform network calls or create temporary files/databases when run, which is expected for testing guidance.
Install Mechanism
No install spec and no code files are present — instruction-only; nothing will be downloaded or written by the skill itself. This is the lowest-risk install profile.
Credentials
The skill requests no environment variables or credentials. The examples reference typical test-time artifacts (temp files, sqlite), but there is no request for secrets or unrelated credentials.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent presence or modify other skills' configuration. Autonomous invocation is allowed by platform default but is not combined here with broad access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install test-patterns
  3. After installation, invoke the skill by name or use /test-patterns
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Testing across Node.js, Python, Go, Rust, Bash - unit tests, mocking, fixtures, coverage, TDD, integration testing
Metadata
Slug test-patterns
Version 1.0.0
License
All-time Installs 24
Active Installs 23
Total Versions 1
Frequently Asked Questions

What is Test Patterns?

Write and run tests across languages and frameworks. Use when setting up test suites, writing unit/integration/E2E tests, measuring coverage, mocking dependencies, or debugging test failures. Covers Node.js (Jest/Vitest), Python (pytest), Go, Rust, and Bash. It is an AI Agent Skill for Claude Code / OpenClaw, with 3391 downloads so far.

How do I install Test Patterns?

Run "/install test-patterns" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Test Patterns free?

Yes, Test Patterns is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Test Patterns support?

Test Patterns is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Test Patterns?

It is built and maintained by gitgoodordietrying (@gitgoodordietrying); the current version is v1.0.0.

💬 Comments