jest-skill — Cursor AI Agent
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorAgentsjest-skill
    Back to Agents
    jest-skill

    jest-skill

    anivar February 23, 2026
    1 copies 0 downloads

    AI agent skill for Jest 29/30 — 28 rules: mocks, async, timers, snapshots, CI. Works with Claude Code, Cursor, Codex, Windsurf.

    Jest Skill

    An AI agent skill for writing, debugging, and reviewing Jest tests with modern best practices.

    Created by Anivar Aravind

    The Problem

    AI agents frequently generate outdated or incorrect Jest patterns — wrong mock cleanup semantics (clearAllMocks vs restoreAllMocks), missing await on async assertions, incorrect timer mock usage, factory hoisting bugs, and anti-patterns that cause tests to silently pass without actually asserting anything. These produce test suites that compile and pass but don't test what they claim to test.

    This Solution

    28 rules with incorrect→correct code examples that teach agents Jest's actual API behavior, mock lifecycle, async patterns, timer control, module mocking, snapshot testing, configuration, and CI optimization. Each rule targets a specific mistake and shows exactly how to fix it.

    Install

    npx skills add anivar/jest-skill -g
    

    Or with full URL:

    npx skills add https://github.com/anivar/jest-skill
    

    Baseline

    • jest ^29.0.0 / ^30.0.0
    • JavaScript / TypeScript

    What's Inside

    28 Rules Across 9 Categories

    PriorityCategoryRulesImpact
    1Mock Design5CRITICAL
    2Async Testing3CRITICAL
    3Matcher Usage3HIGH
    4Timer Mocking3HIGH
    5Test Structure3HIGH
    6Module Mocking3MEDIUM
    7Snapshot Testing3MEDIUM
    8Configuration3MEDIUM
    9Performance & CI2MEDIUM

    Each rule file contains:

    • Why it matters
    • Incorrect code with explanation
    • Correct code with explanation
    • Decision tables and additional context

    9 Deep-Dive References

    ReferenceCovers
    matchers.mdAll matchers: equality, truthiness, numbers, strings, arrays, objects, asymmetric, custom
    mock-functions.mdjest.fn, jest.spyOn, .mock property, return values, implementations, mock matchers
    `jest-objec

    Tags

    agent-rulesagent-skillagenticai-agentclaudecoding-agentcopilotcursor-rulesgeminijavascript

    Comments

    More Agents

    View all
    Emuloagent-memory

    Emulo

    Mine your Claude Code and Codex logs into a local you.md agent profile.

    O
    ohad6k
    193
    Nyx Local Ailm-studio

    Nyx Local Ai

    Local-first AI coding agent for VS Code & Cursor. Ollama, LM Studio & your inference fleet. Cursor-grade agent UX — offline, private, zero token cost.

    S
    sthamann
    248
    Self Learning Skills

    Self Learning Skills

    A self-improving skill for AI coding agents (Claude Code, Cursor, AGENTS.md): recognize a hard-won golden path in a session and harvest it into a reusable skill/rule for next time.

    K
    Kulaxyz
    895
    FDEOpsagentic-ai

    FDEOps

    Second brain for Forward Deployed Engineers. Engagement memory + 35 skills across 6 domains, all behind one @fde... Works with any AI coding agent.

    S
    suboss87
    303
    Awesome Gamedev Agent Skillsagent-skills

    Awesome Gamedev Agent Skills

    Game-development Agent Skills for AI coding agents: install once and a master router loads the right skill for your engine and task. 66 original, version-pinned skills (plus a master router) in the portable SKILL.md format that runs across Claude Code, Cursor, Codex, Copilot, Gemini CLI and more, for Godot, Unity, Unreal, web and beyond.

    G
    gamedev-skills
    301
    Honey For Devsagents

    Honey For Devs

    Honey (I Shrunk the AI) by GreenPT: a cross-tool coding skill that cuts AI coding-agent token usage and LLM API costs — write less code, less prose, and denser agent-to-agent handoffs (−53%, lossless in benchmarks) with no loss of quality. Works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, Windsurf, Cline & Kiro.

    G
    Green-PT
    177

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Automate Shopify SEO Content Creation with GPT-4 & Claude Multi-Agent Systemn8n · $24.99 · Related topic
    • Deploy Code to GitHub with Natural Language via Slack & Claude 3.5n8n · $14.99 · Related topic
    • PostgreSQL Conversational Agent with Claude & DeepSeek (Multi-KPI, Secure)n8n · $14.99 · Related topic
    • Explore Sequential, Agent-Based, and Parallel LLM Processing with Claude 3.7n8n · $24.99 · Related topic
    Browse all workflows