alexnesteruk

Write Unit Tests — Development skill for Claude Code

Development community

Generate thorough unit tests for a function or component.

How to install Write Unit Tests

Installs to ~/.claude/skills/alexnesteruk-agent-registry-write-unit-tests/SKILL.md

Terminal
mkdir -p ~/.claude/skills/alexnesteruk-agent-registry-write-unit-tests && curl -fsSL https://raw.githubusercontent.com/alexnesteruk/agent-registry/HEAD/skills/write-unit-tests.md -o ~/.claude/skills/alexnesteruk-agent-registry-write-unit-tests/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Write Unit Tests does


name: write-unit-tests description: Generate thorough unit tests for a function or component arguments:

  • name: target description: The function, class, or component to test required: true
  • name: framework description: Test framework to use (e.g. Jasmine, Jest, Vitest) required: false

Write Unit Tests

Generate thorough unit tests for `{{target}}`.

  • Cover the happy path, edge cases, and error conditions
  • Each test should have a single clear assertion focus
  • Us

Alternatives in Development

  • Create Handoff — You are tasked with writing a handoff document to hand off your work to another agent in a new session 10k ★
  • Dive — Dive is an open-source MCP Host Desktop Application that seamlessly integrates with any LLMs supporting functi 1.8k ★
  • Claude Code Sub Agent Collective — 🧠 Context Engineering Research - Not just another agent collection, but using research and context engineerin 523 ★

Full documentation available on GitHub

View Source Repository