agentsclimarketplace

Jest testing workflow

Skill planifest/planifest-framework/planifest-framework/external-skills/jest-testing-workflow

A specification framework for agentic development. Agents build from complete specs - not guesses.

Install
npx -y skills add planifest/planifest-framework --skill jest-testing-workflow

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

  • 0 stars0 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

Jest verification workflow for JavaScript/TypeScript codebases with deterministic tests, explicit mock boundaries, and actionable CI evidence. Use when JS/TS changes need executable Jest evidence before merge; do not use for browser-level E2E or language-agnostic policy design.

SKILL.md

2.5 KB, as published. Nobody here has run it

Jest Testing Workflow

Overview

Use this skill to design and run Jest suites that are stable, meaningful, and decision-ready for merge gates.

Scope Boundaries

  • Use this skill when the task matches the trigger condition described in description.
  • Do not use this skill when the primary task falls outside this skill's domain.

Shared References

  • Trigger examples and expected deliverables:
    • references/trigger-and-examples.md
  • Mock boundary decision rules:
    • references/mock-boundary-decision-rules.md
  • Determinism rules:
    • references/jest-determinism-rules.md

Templates And Assets

  • Test plan template:
    • assets/jest-test-plan-template.md
  • Command profile template:
    • assets/jest-command-profile-template.md
  • Flake triage checklist:
    • assets/jest-flake-triage-checklist.md

Inputs To Gather

  • Change scope and affected JS/TS modules.
  • Runtime assumptions (node/jsdom) and mock boundaries.
  • CI constraints for runtime and coverage gates.
  • Known flaky areas (async timers, shared state, external dependencies).

Deliverables

  • Jest test strategy with mock/timer/environment policy.
  • Assertion matrix for happy, edge, and failure paths.
  • Local-fast and CI-full command profiles.
  • Residual flakiness risk log with owner and next action.

Workflow

  1. Clarify decision question and mandatory quality constraints.
  2. Draft strategy using assets/jest-test-plan-template.md.
  3. Decide mock boundaries with references/mock-boundary-decision-rules.md.
  4. Define execution profiles in assets/jest-command-profile-template.md.
  5. Stabilize async/timer behavior with references/jest-determinism-rules.md.
  6. Run checks and close with assets/jest-flake-triage-checklist.md.

Quality Standard

  • Trigger fit and test depth are explicit.
  • Mock strategy preserves behavior confidence for critical paths.
  • Async/timer behavior is deterministic in local and CI runs.
  • Evidence is reproducible with exact commands and artifacts.

Failure Conditions

  • Stop when mock strategy hides behavior that must be integration-visible.
  • Stop when command profile is not reproducible across local/CI.
  • Escalate when flakiness persists after deterministic controls.

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.