JavaScript Testing Patterns: Orchestrating Jest, Vitest, and Testing Library with Agent Skills

JavaScript Testing Patterns (@org-02qudk26/javascript-testing-patterns) is an enterprise-source Skill published by Zhiyu Technology on SkillHub. Designed for JS/TS projects, it unifies unit, integration, and end-to-end testing with Jest, Vitest, and Testing Library, while covering mocking, fixtures, and TDD practices. The article outlines its positioning, verified capabilities, the SkillHub installation command, and the skills directory structure in environments such as Cursor. It also notes that no API Key is required and highlights considerations when selecting coordinates.

Read More
writing-tests: A Cursor Skill for Generating Unit and Integration Tests for Existing Code

writing-tests, from awesome-cursor-skills, is a SKILL.md workflow for Cursor Agent that identifies testing stacks such as Jest/Vitest, analyzes exported APIs and uncovered branches, generates unit and integration tests according to project conventions, and uses vi.mock and Testing Library to handle dependencies and React components. It is suitable for adding missing tests, improving test coverage, or writing tests for a single module; place the Skill in .cursor/skills/ for automatic discovery by the Agent.

Read More
vitest-skill: Enabling AI Assistants to Write Unit and Integration Tests Following Vitest Conventions

vitest-skill is an MIT-licensed skill published by TestMu AI in the agent-skills repository for the Vite ecosystem: when users mention Vitest, vi.mock, vitest.config, and related topics, it guides AI to generate JS/TS tests using the vi namespace. It covers basic test cases, mocking and spying, timers, snapshots, React Testing Library, and In-Source Testing, and provides a quick reference for Vitest commands along with vitest.config examples. It can be installed with npx agentskillsforall and is ideal for Vitest project teams looking to reduce incorrect usage patterns stemming from Jest habits.

Read More