← Back to Skills Marketplace
mzfshark

Tests Generator

by Mauricio Z. · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
51
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install axodus-test-generator
Description
Generate deterministic unit/integration tests for critical behaviors.
README (SKILL.md)

SKILL: test-generator

Purpose

Generate deterministic unit/integration tests that protect behavior and enable safe refactors.

When to Use

  • A feature needs coverage.
  • A bug fix needs a regression test.
  • You want characterization tests before refactoring.

Inputs

  • target (required, string): function/module/endpoint/contract behavior to test.
  • test_type (optional, enum: unit|integration|e2e).
  • framework (optional, string): e.g., pytest, jest, vitest, foundry, hardhat.
  • constraints (optional, string[]): no network, deterministic time, limited mocks, etc.

Steps

  1. Identify observable behaviors and edge cases.
  2. Decide test boundaries:
    • unit: pure logic
    • integration: DB/service boundary
  3. Create fixtures:
    • deterministic data
    • stable clocks/UUIDs (mock only when required)
  4. Write tests:
    • happy path
    • failure paths
    • security/validation checks (where applicable)
  5. Run tests and iterate until they are stable.

Validation

  • Tests are deterministic (no flaky time/network dependencies).
  • Tests fail before the fix (for regressions) and pass after.
  • Coverage targets the acceptance criteria, not implementation details.

Output

  • Test files added/changed
  • How to run tests
  • Notes on fixtures/mocks used

Safety Rules

  • Do not add tests that require real credentials or real external services by default.
  • Avoid snapshot tests for highly variable outputs unless stabilized.

Example

Bug: “User creation accepts invalid email.” Output: a failing test asserting 400 on invalid input, then passes after fix.

Usage Guidance
This skill appears coherent and low-risk: it's an instruction-only test-generator with no installs or credential requests. Before installing, consider: 1) Trust and provenance — the package lists no homepage and source is unknown; verify you trust the owner. 2) Minor metadata mismatches — _meta.json lists a different ownerId and skill.yml has a stray 'System.Object[]' entry; these look like harmless metadata/serialization artifacts but you may want the publisher to clarify. 3) Runtime behavior depends on the agent invoking it — ensure the agent won't be given access to real credentials/environments when running generated tests (run in an isolated/test environment first). If you need stronger guarantees, ask the publisher for a README or example outputs and run the skill in a safe sandbox before using it on production code.
Capability Analysis
Type: OpenClaw Skill Name: axodus-test-generator Version: 1.0.0 The skill bundle is a standard utility designed to generate unit and integration tests. The instructions in SKILL.md and test-generator.md are well-structured, follow software testing best practices, and include explicit safety rules to avoid using real credentials or external services. No malicious code, data exfiltration logic, or harmful prompt injections were identified.
Capability Assessment
Purpose & Capability
Name, description, and the SKILL.md all describe generating deterministic tests. The skill requests no binaries, env vars, or installs — this aligns with an instruction-only test authoring helper.
Instruction Scope
Runtime instructions are limited to identifying behaviors, creating fixtures, writing/tests, and running/iterating them. They do not direct the agent to read unrelated files, collect credentials, contact external endpoints, or exfiltrate data. Safety guidance explicitly discourages using real credentials or external services by default.
Install Mechanism
There is no install spec and no code files. Being instruction-only means nothing is written to disk or downloaded by the skill itself, which is the lowest-risk pattern.
Credentials
The skill declares no required environment variables, credentials, or config paths. The guidance to avoid real credentials is appropriate. There is no disproportionate request for secrets or unrelated credentials.
Persistence & Privilege
The skill is not always: true and does not request persistent presence or modification of other skills/system settings. It is user-invocable and can be run autonomously by the agent (the platform default), which is normal for skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install axodus-test-generator
  3. After installation, invoke the skill by name or use /axodus-test-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the test-generator skill. - Generates deterministic unit and integration tests for key behaviors. - Supports customizable inputs for test target, type, framework, and constraints. - Guides users through behavior identification, boundary setting, fixture creation, and test writing. - Ensures tests are deterministic and focused on acceptance criteria. - Provides output with generated test files, run instructions, and fixture/mocking notes.
Metadata
Slug axodus-test-generator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Tests Generator?

Generate deterministic unit/integration tests for critical behaviors. It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.

How do I install Tests Generator?

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

Is Tests Generator free?

Yes, Tests Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Tests Generator support?

Tests Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Tests Generator?

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

💬 Comments