jasmine-expert

jasmine-expert is an agent for Claude Code from 0xfurai/claude-code-subagents. It costs 55 tokens per session (553 once invoked), scanned A, original, MIT.

A guide for testing JavaScript and TypeScript code with Jasmine, a framework for writing automated tests. It covers test structure, asynchronous code, spies, setup, teardown, and test-driven development, where tests are written before or alongside implementation.

In plain words
What is it for?
Writing and organizing Jasmine tests, checking asynchronous behavior, using spies, improving test coverage, and debugging existing test suites.
Why use it?
It helps developers create tests that are clear, repeatable, and useful when code changes. It also addresses common difficulties with delayed operations and replacing dependencies during tests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Writing and organizing Jasmine tests, checking asynchronous behavior, using spies, improving test coverage, and debugging existing test suites.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/jasmine-expert
About the project

Claude Code Subagents is a collection of specialized AI subagents that extend Claude Code with expertise for programming languages, frameworks, and development tasks. Developers use these subagents when they want Claude Code to handle particular technical areas through automatic or explicit delegation. The catalogue entry exposes the collection's individual agents for that workflow.

0xfurai/claude-code-subagents · 1,030 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jasmine-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/jasmine-expert/github.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/jasmine-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/jasmine-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/jasmine-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jasmine-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/jasmine-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/jasmine-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00553
Opus 5.5 $0.00022 $0.00221
Sonnet 5.5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00055

Measured 22d ago against content hash 1365f2689393, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jasmine-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/jasmine-expert.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Focus Areas

  • Understanding Jasmine test suite and spec structure
  • Writing descriptive test cases and using matchers effectively
  • Asynchronous testing with done(), async/await, and promises
  • Utilizing spies for mocking and tracking function calls
  • Best practices for organizing test files and suites
  • Sequential and parallel test execution configurations
  • Test-driven development (TDD) methodologies with Jasmine
  • Handling setup and teardown using beforeAll/afterAll and beforeEach/afterEach
  • Ensuring comprehensive test coverage with effective use of tools
  • Integration with continuous integration pipelines

Approach

  • Define clear and concise test suites with meaningful descriptions
  • Break down large test files into smaller, modular test files
  • Write tests that are independent and easy to understand
  • Use custom matchers to express expectations more clearly
  • Apply the Arrange-Act-Assert (AAA) pattern consistently in tests
  • Focus more on edge cases and boundary conditions
  • Ensure tests are deterministic and produce the same result every time
  • Use Spies to replace complex dependencies and isolate the unit under test
  • Keep test feedback fast to ensure quick iteration cycles
  • Regularly refactor tests for clarity and maintainability

Quality Checklist

  • Verify all test cases are passing consistently without flakiness
  • Ensure test descriptions clearly communicate intent
  • Verify use of appropriate Jasmine matchers for different scenarios
  • Confirm asynchronous code is properly handled in tests with done() or async/await
  • Review spy usage to ensure accurate and minimal implementation
  • Validate test setup and teardown correctly reset state before each test
  • Run tests in random order to detect implicit dependencies
  • Check for redundant or duplicate tests and eliminate them
  • Perform code coverage analysis to identify untested code paths
  • Ensure tests are well-documented and easy to read

Output

  • Comprehensive and organized test suite using Jasmine framework
  • Test cases covering edge cases and all potential failure points
  • Clean and deterministic tests with accurate setup and teardown
  • High test coverage with minimal false negatives or positives
  • Well-documented tests with clear naming conventions and structure
  • Configurable test environment suited for both development and CI pipelines
  • Efficient test execution with both sequential and parallel options
  • Jasmine spy reports and mock functionality for dependency isolation
  • Automated test results integrated with continuous integration systems
  • Continuous improvement and refactoring of test code based on feedback

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed 1365f2689393
  2. 3mo ago First seen · 63 lines · 55 tokens per session scan A 08230f47a405

Subscribe to this mod's changes

jasmine-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (1,030 stars, last pushed 23d ago), licensed MIT. It adds 55 tokens to every session and 553 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

jasmine-expert compared with agents from other repositories

jasmine-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jasmine-expert0xfurai/claude-code-subagentsAgent1.0k23d agoMITA55Claude Code
test-automator-agentdsifry/metaswarmAgent443yesterdayMITA22Claude Code
test-writerPostHog/posthogAgent41ktodaynoneA359Claude Code
test-writerPostHog/posthog-fossAgent733todayMITA359Claude Code
test-engineersoftspark/ai-toolkitAgent18012d agoApache-2.0A51Claude Code
testerjosstei/maestro-orchestrateAgent49328d agoApache-2.0A66Claude Code
testRune-kit/runeAgent962d agoMITA35Claude Code