AgentStack
SKILL verified Apache-2.0 Self-run

Test Generator

skill-mingo07-dev-claude-skills-test-generator · by Mingo07-dev

Generate and run automated tests (unit, integration, API, E2E) adapted to the project stack. Use when the user asks to add tests, improve coverage, or test specific modules or flows. Runs a three-subagent pipeline: stack analysis -> test generation -> execution with report and user confirmation.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-mingo07-dev-claude-skills-test-generator

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Test Generator? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Test generator (three subagents)

When to use

  • Missing tests or low coverage
  • Before refactoring (safety net)
  • After implementing a feature
  • Explicit requests to add or generate tests

Goal

Generate realistic, stack-aligned tests and run them only after explicit user approval.

Pipeline overview

Parent Agent
  -> Subagent 1: Stack Analyzer (write /tmp/test-context.md)
  -> Subagent 2: Test Generator (write tests, /tmp/test-manifest.md)
  -> Pause for user approval
  -> Subagent 3: Test Runner (write TEST_REPORT.md)

Phase 1: Parent reconnaissance

  1. Identify scope from the prompt (file, module, or test type)
  2. Inspect project config (package.json, pyproject.toml, etc.)
  3. Find existing tests and conventions
  4. Provide scope/context to Subagent 1

Phase 2: Subagent 1 (Stack Analyzer)

Detect language, test frameworks, conventions, and target files. Write /tmp/test-context.md.

Phase 3: Subagent 2 (Test Generator)

Use the patterns in [references/test-patterns.md](references/test-patterns.md). Write tests and record a manifest in /tmp/test-manifest.md with file paths, test types, coverage, and run commands.

Phase 4: Pause and confirm

Summarize generated tests and ask whether to run all tests, only a category, or none.

Phase 5: Subagent 3 (Test Runner)

Run approved suites, capture failures, and write TEST_REPORT.md. Clean up temp files.

Notes

  • Use realistic domain data in tests.
  • Align with existing test style when present.
  • Never run tests without explicit user confirmation.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.