agentsclimarketplace

Test implement

Skill shinpr/claude-code-workflows/dev-workflows-frontend/skills/test-implement

Production-ready development workflows for Claude Code, powered by specialized AI agents.

Install
npx -y skills add shinpr/claude-code-workflows --skill test-implement

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

What its author says it does

Copied from the file, not written here

Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness. Use when creating or completing frontend tests and generated test skeletons.

SKILL.md

1.3 KB, as published. Nobody here has run it

Test Implementation Patterns

Reference Selection

Test TypeReferenceWhen to Use
Unit / Integrationreferences/frontend.mdImplementing React component tests with the repository's configured runner and network mocking layer
E2Ereferences/e2e.mdImplementing browser-level E2E tests in the existing harness, or Playwright when the approved work introduces a harness

Common Principles

AAA Structure

All tests follow Arrange-Act-Assert:

  • Arrange: Set up preconditions and inputs
  • Act: Execute the behavior under test
  • Assert: Verify the expected outcome

Test Independence

  • Each test runs independently without depending on other tests
  • No shared mutable state between tests
  • Deterministic execution — no random or time dependencies without mocking

Naming

  • Test names describe expected behavior from user perspective
  • One test verifies one behavior

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.