Install
$ agentstack add skill-edfenton-claude-skills-nean-unit-test ✓ 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
Purpose
Run unit tests, report failures with enough detail to debug, then (with approval) fix issues and re-run to confirm.
Arguments
--scope— Limit toapi,web,libs, orall(default: all)--no-fix— Report only, don't offer to fix
Workflow
1. Run tests
# All tests
npm run test
# With coverage
npm run test -- --coverage
# Scoped (using Nx)
npx nx test api
npx nx test web
npx nx run-many --target=test --projects=shared-*
# Affected only (CI optimization)
npx nx affected --target=test
2. Report results
Include:
- Pass/fail/skip counts
- Coverage summary (if available)
- Each failing test: file, test name, assertion diff or error
- If coverage not configured, note this and offer to set it up
3–4. Approval gate, fix and confirm
See /shared-review-workflow for approval gate protocol, fix constraints, and severity definitions.
Test file conventions
# NestJS
apps/api/src/modules//__tests__/.service.spec.ts
apps/api/src/modules//__tests__/.controller.spec.ts
# Angular
apps/web/src/app//.component.spec.ts
# Libraries
libs///src/**/*.spec.ts
Coverage thresholds
Default targets (configure in jest.config.ts):
- Libs: 80% statements, 80% branches
- Apps: 60% statements, 50% branches
Reference
For coverage setup and common fix patterns, see reference/nean-unit-test-reference.md
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: edfenton
- Source: edfenton/claude-skills
- 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.