agentsclimarketplace

Mern unit test

Skill edfenton/claude-skills/mern/mern-unit-test

A collection of Claude Code skills for iOS, MERN, NEAN, and shared development workflows

Install
npx -y skills add edfenton/claude-skills --skill mern-unit-test

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Run MERN unit tests, report results, and optionally fix failures.

SKILL.md

1.1 KB, as published. Nobody here has run it

Purpose

Run unit tests, report failures with enough detail to debug, then (with approval) fix issues and re-run to confirm.

Arguments

  • --scope <target> — Limit to apps/web, packages/shared, or all (default: all)
  • --no-fix — Report only, don't offer to fix

Workflow

1. Run tests

# All tests
pnpm test

# With coverage (if configured)
pnpm test -- --coverage

# Scoped
pnpm -C apps/web test
pnpm -C packages/shared 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.

Reference

For coverage setup and common fix patterns, see reference/mern-unit-test-reference.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.