Index of every page on this site: llms.txt
All skills
Run it yourself

This skill should be used when the user asks to "write tests", "add test coverage", "check test coverage", "test this function", "run test audit", "add regression tests", "verify tests pass", "run tests", or "/tester". Verifies, creates, and updates test coverage.

Use this Skill: https://skilld.dev/gh/utkudarilmaz/claude-code-setup/tester

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescomprehensive-mode.md

≈784 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Comprehensive Mode: /tester all

Perform a planned, modular test audit covering every testable area of the repository.

Do not skip any aspect. Continue until ALL areas are reviewed.

Execution Flow

  1. Explore repository structure - Identify all testable code areas
  2. Create TodoWrite plan - One todo item per testing aspect
  3. Process sequentially - Complete each aspect before moving to the next
  4. Mark progress - Update todos as each section completes

Testing Aspects to Review

Process each area one-by-one:

Aspect What to Test
Unit tests Individual functions, methods, utilities
Integration tests Module interactions, service connections
API tests Endpoints, request/response, error handling
Component tests UI components, rendering, user interactions
Model tests Data models, validation, relationships
Service tests Business logic, service layer
Middleware tests Auth, validation, error handling middleware
Utility tests Helper functions, formatters, parsers
Edge cases Boundary conditions, null handling, errors
Error handling Exception paths, error responses
Configuration Config loading, environment handling
Database Queries, transactions, migrations

Example TodoWrite Plan

When /tester all is invoked, create todos such as:

  • Audit and test utility functions
  • Audit and test data models
  • Audit and test service layer
  • Audit and test API endpoints
  • Audit and test middleware
  • Audit and test components
  • Audit and test integration points
  • Audit and test error handling paths
  • Audit and test edge cases
  • Verify overall test coverage

Dispatch the tester agent for each aspect sequentially, marking each complete as it finishes.

Coverage Requirements

The full audit enforces a minimum 50% overall project code coverage threshold:

  1. Measure coverage - Run the project's coverage tool after writing tests for each aspect
  2. Track overall project coverage - Record the total coverage percentage across the entire codebase
  3. Flag if below 50% - Overall project coverage under 50% is a blocking finding
  4. Prioritize by risk - Focus on business-critical logic, security-sensitive code, and frequently-changed areas first
  5. Report coverage gaps - Provide a clear list of what remains untested with recommended priority

Coverage Commands by Language

Language Command
Go go test -coverprofile=coverage.out ./... && go tool cover -func=coverage.out
JavaScript/TypeScript npx vitest --coverage or npx jest --coverage
Python pytest --cov=. --cov-report=term-missing

Final Coverage Report

Include a project coverage summary in the audit output:

Metric Value
Overall project coverage 62%
Status PASS (above 50%)
Lines covered 1,240 / 2,000

Mark the audit as incomplete if overall project coverage remains below 50% after test additions. Document remaining gaps and recommend follow-up actions.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    This skill provides structured automated testing capabilities, including identifying coverage gaps and running standard test coverage tools for Go, Python, and JavaScript. No malicious behavior was detected.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: LOW · No issues

Signed by skilld at 7ee2637. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 days ago

README badge

README badge for utkudarilmaz/claude-code-setup/tester