Skip to content
Agentmart
Submit a tool

authoring-tests

Use when writing, reviewing, or modifying any test files, or when asked to add test coverage.

Skill by TomerAberbach

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tomeraberbach-authoring-tests

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when writing, reviewing, or modifying any test files, or when asked to add test coverage.

Use cases: testing, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/authoring-tests

What's inside

Skill name
authoring-tests
Description
Use when writing, reviewing, or modifying any test files, or when asked to add test coverage.
License
MIT
Instructions
41 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

Adhere to these principles when writing tests:

- Use arrange-act-assert with empty lines in between:
  1. Arrange: set up the requisite state and inputs
  2. Act: run the code that triggers the behavior under test
  3. Assert: assert the expected outcomes

- Keep each test focused and independent of other tests unless you're testing an
  interaction between two behaviors or each test is expensive

- Prefer parameterized testing over multiple independent calls and assertions in
  the same test

- Test behaviors, not functions. A single function may exhibit many behaviors,
  and a single behavior sometimes spans multiple functions

- Write test names that describe the scenario and the expected outcome

- Avoid overspecifying tests. Rule of thumb: if changing the expected data in an
  assertion does not change the meaning of the test, then don't assert it

- Test the public API only, not implementation details

- Prefer real implementations and test doubles over mocks. Reserve mocks for I/O
  boundaries and third-party services. If you must use mocks, then mock only
  public APIs

- Extract well-named variables to split up and clarify complex test data

- Use helper functions to remove redundant details from the test body. Don't
  hide details relevant to the test in helper functions. Pass the relevant data
  into the helper function from the test instead

- Don't put logic in tests. Avoid conditionals and loops, and state inputs and
  outputs directly to avoid bugs in the tests themselves. If the logic is
  necessary, then extract it to a function and test it as well

- Do not write redundant change detector tests. If the test would break for any
  change in the code under test, then it's likely a change detector test

From TomerAberbach/claude-config, MIT.

More from TomerAberbach/claude-config

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 7, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from TomerAberbach

Cite this page

authoring-tests skill. Agent Mart. https://agentmart.dev/skills/tomeraberbach-authoring-tests (last updated 2026-10-24)