test-writing

test-writing is a skill for Claude Code, Codex from KarmaloopAI/Jiva. It costs 35 tokens per session (345 once invoked), scanned A, original, MIT.

A test-writing workflow for creating unit tests, integration tests, and end-to-end tests. These test individual code, connected components, and complete user journeys.

In plain words
What is it for?
Use it to inspect code, choose test cases, write tests that follow project conventions, run the test suite, and document what is covered.
Why use it?
It helps find bugs in normal use, edge cases, errors, and boundary conditions before changes reach users.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect code, choose test cases, write tests that follow project conventions, run the test suite, and document what is covered.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/karmaloopai/jiva/test-writing
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.

Any agent
npx skills add KarmaloopAI/Jiva --skill test-writing
Clone the repo
git clone --depth 1 https://github.com/KarmaloopAI/Jiva

Made for: Claude Code, Codex.

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 test-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/karmaloopai/jiva/test-writing/github.svg)](https://agentmods.dev/skills/karmaloopai/jiva/test-writing)
Your own site
<a href="https://agentmods.dev/skills/karmaloopai/jiva/test-writing"><img src="https://agentmods.dev/badge/skills/karmaloopai/jiva/test-writing/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 test-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/karmaloopai/jiva/test-writing"><img src="https://agentmods.dev/badge/skills/karmaloopai/jiva/test-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 345 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.00035 $0.00345
Opus 5 $0.00017 $0.00172
Sonnet 5 $0.00007 $0.00069
Haiku 4.5 $0.00003 $0.00034

Measured 11d ago against content hash 7898272dc7bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

test-writing 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 11d 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.

examples/personas/tester/skills/test-writing/SKILL.md · 67 lines

What it actually says

Test Writing Skill

Overview

Create thorough test coverage for software components.

Workflow

  1. Analyze Code: Understand what needs testing
  2. Identify Test Cases:
    • Happy path scenarios
    • Edge cases
    • Error conditions
    • Boundary values
  3. Write Tests: Create test files following project conventions
  4. Verify: Run tests to ensure they pass
  5. Document: Add test descriptions

Test Types

Unit Tests

  • Test individual functions/methods
  • Mock dependencies
  • Fast execution
  • High coverage

Integration Tests

  • Test component interactions
  • Real dependencies when possible
  • Test data flow
  • API contracts

End-to-End Tests

  • Test complete user workflows
  • Real environment
  • Critical paths
  • User scenarios

Test Quality Standards

  • Clear test names describing what is tested
  • Arrange-Act-Assert pattern
  • One assertion per test (generally)
  • Independent tests (no shared state)
  • Fast and reliable

Tools

  • view: To read code being tested
  • create_file: To create new test files
  • run_terminal_command: To execute test suites
  • grep_search: To find existing tests

Best Practices

  • Test behavior, not implementation
  • Cover edge cases thoroughly
  • Keep tests maintainable
  • Use descriptive test names
  • Don't test framework code
  • Mock external dependencies
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. 11d ago First seen · 67 lines · 35 tokens per session scan A 7898272dc7bf

Subscribe to this mod's changes

test-writing is a skill published in the GitHub repository KarmaloopAI/Jiva (35 stars, last pushed 26d ago), licensed MIT. It adds 35 tokens to every session and 345 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

chrome-ext-testing

This skill should be used when writing or setting up tests for a Chrome extension. Trigger when: "test chrome extension", "extension unit test", "extension e2e test", "Vitest extension", "Playwright extension", "@webext-core/fake-browser", "test content script", "test service worker", "test messaging", "test storage"…

RadOrigin-LLC/RAD-Claude-Skills · 101 tokens

baguette

Drive iOS simulators programmatically via the baguette CLI — taps, swipes, multi-finger gestures, hardware buttons (Home / Lock / Volume / Action / Power), ASCII keyboard text, and frame capture, all without opening Xcode. Use when: (1) an agent needs to drive a booted iOS simulator from a script — tap a coordinate…

tddworks/baguette · 249 tokens

06-test

Write and iterate tests until they pass, or validate a user journey end to end in the browser. Use when the user wants to add coverage, find what's untested, or walk a flow. Not for auditing test health or debugging a failure.

ai-driven-dev/framework · 52 tokens

req-to-test

Generates comprehensive test scenarios from requirements including BDD/Gherkin scenarios, unit tests, integration tests, and end-to-end test cases. Use when converting requirements, user stories, or specifications into testable scenarios with full coverage including happy paths, error cases, edge cases, and boundary…

ArabelaTso/Skills-4-SE · 71 tokens

run-smoke-tests

Inspect an unfamiliar repository, interpret a broad Markdown user journey at runtime, operate the real product through its supported web, API, CLI, desktop, or mobile surface, and produce an auditable pass, fail, or blocked judgment with screenshots, logs, recordings, and a step timeline when available. Use when asked…

tamdogood/builder-essential-skills · 122 tokens

archestra-dev-testing

Use when deciding whether a change needs a test and at which level — unit, backend route-level integration, MSW-backed frontend integration, or e2e — or when reviewing tests for the "fluff test" anti-pattern. Start here before archestra-dev-backend-tests or archestra-dev-e2e.

archestra-ai/archestra · 68 tokens