Install
$ agentstack add skill-tomzx-agents-create-tests ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Create Tests
Produces a test plan with structured test cases derived from requirements, acceptance criteria, and a specification. Covers happy paths, edge cases, and failure scenarios across relevant test levels.
Prerequisites
- Apply the shared SDLC conventions in
skills/sdlc/references/shared.md. - If no argument is provided, locate the feature directory under
.sdlc/features/whose frontmatterissuefield references$ISSUE_NUMBER. .sdlc/features/N-/requirements.mdand.sdlc/features/N-/specification.md(both must have passed review with findings verdictapproved), or documents provided in context or as a file path ($1).sdlc/features/N-/telemetry.md(optional, if a telemetry plan was produced): include test cases that verify analytics events are emitted correctly.sdlc/features/N-/observability.md(optional, if an observability plan was produced): include test cases that verify metrics, logs, and traces are emitted correctly- Information about the testing stack (if available)
Steps
- Read the requirements, specification, telemetry plan, and observability plan (if present).
- List all acceptance criteria that need to be verified.
- For each acceptance criterion, write at least one test case.
- For each analytics event in the telemetry plan, write a test case verifying the event is emitted with correct properties.
- For each metric, log entry, and trace span in the observability plan, write a test case verifying it is emitted correctly.
- Add edge case and failure scenario tests beyond the acceptance criteria.
- Organize test cases by test level (unit, integration, end-to-end).
- Identify test infrastructure and fixtures needed.
- Write the output to
.sdlc/features/N-/tests.md.
Test Case Format
### TC-:
**Level:** Unit / Integration / E2E
**Covers:** FR-1 / NFR-2 / Edge case
**Setup:**
**Steps:**
1.
2.
**Expected:**
Output Format
Use the template at skills/sdlc/templates/features/tests.md (copied to .sdlc/templates/features/tests.md by /initialize-sdlc-directory; use the project's customized copy if present). Write the result to the artifact path named in the steps above.
Outcome
If $OUTCOME_YAML is set, emit verdict: approved there per skills/sdlc/references/shared.md, If the test plan could not be produced, omit the file.
Example Usage
Scenario 1: Password reset feature Requirements define a 4-step reset flow. Create unit tests for token generation and expiry, integration tests for the email dispatch call, and an E2E test for the full user journey. Edge cases: expired token, already-used token, invalid email.
Scenario 2: API endpoint Spec defines a POST /orders endpoint. Write unit tests for input validation, integration tests for DB writes, E2E test for the full order placement flow, and failure tests for duplicate requests and DB errors.
Completion Checklist
Before handing off to review, confirm:
- [ ] Telemetry events and observability signals have assertions verifying they fire correctly
Self-check the plan against the [review-tests checklist](../review-tests/SKILL.md) and fix what you can, so review finds less to flag.
Next Step
Run /review-tests to audit coverage, correctness, and missing scenarios before moving on. Once approved, continue with /create-implementation.
Useful Commands Reference
No CLI commands required. This skill operates on document content provided in context.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: tomzx
- Source: tomzx/agents
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.