wshobson/agents

javascript-testing-patterns

All-time #1034 Trending #3119 First seen Jan 20, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/wshobson/agents

Summary

  • Comprehensive testing strategies for JavaScript/TypeScript using Jest, Vitest, and Testing Library.
  • Covers unit testing, integration testing, and component testing with patterns for pure functions, classes, async code, and React hooks Includes mocking strategies: module mocking, dependency injection, and spying on functions for isolated test execution Provides API and database integration test examples with real request/response handling and transaction cleanup Supports snapshot testing, test fixtures, coverage reporting, and best practices like the AAA pattern and TDD workflows

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Mar 26, 2026

No security issues detected. The skill provides standard documentation and code examples for implementing various JavaScript and TypeScript testing patterns using well-known frameworks like Jest and Vitest.

snyk LOW

Analyzed Mar 26, 2026

No issues detected.

socket Score 0.9000 · 0 alerts

Analyzed Mar 26, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from wshobson/agents · top by installs.

npx skills add https://github.com/wshobson/agents

Browse all from wshobson/agents

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 39.5K
License LICENSE
Default branch main
Open issues 4
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 18,521 installs