testing

testing is a skill for Claude Code from BrainDAO/iq-claude-config. It costs 40 tokens per session (1,431 once invoked), scanned A, original, no licence file.

A testing guide for NestJS backend services using Vitest and Playwright. Vitest supports automated code tests, while Playwright supports tests that run through an application like a user.

In plain words
What is it for?
Use it when writing unit, integration, or end-to-end tests for NestJS controllers, services, guards, or pipes.
Why use it?
It helps apply consistent patterns when checking backend code at different levels.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the iq-nestjs plugin — 3 skills shipped together

Good fit Use it when writing unit, integration, or end-to-end tests for NestJS controllers, services, guards, or pipes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/braindao/iq-claude-config/testing
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 BrainDAO/iq-claude-config --skill testing
Clone the repo
git clone --depth 1 https://github.com/BrainDAO/iq-claude-config

Made for: Claude Code.

Or install iq-nestjs, the plugin that ships this one along with the rest of its 3 skills.

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/braindao/iq-claude-config/testing.svg)](https://agentmods.dev/skills/braindao/iq-claude-config/testing)
Your own site
<a href="https://agentmods.dev/skills/braindao/iq-claude-config/testing"><img src="https://agentmods.dev/badge/skills/braindao/iq-claude-config/testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,431 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 unknown 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.00040 $0.01431
Opus 5 $0.00020 $0.00715
Sonnet 5 $0.00008 $0.00286
Haiku 4.5 $0.00004 $0.00143

Measured 7d ago against content hash e7ad06468324, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

testing 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 7d 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.

plugins/iq-nestjs/skills/testing/SKILL.md · 222 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 222 lines · 40 tokens per session scan A e7ad06468324

Subscribe to this mod's changes

testing is a skill published in the GitHub repository BrainDAO/iq-claude-config (2 stars, last pushed 2mo ago), with no licence file. It adds 40 tokens to every session and 1,431 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-31.

Related

Other skills, from other repositories

memstack-development-test-writer

Use this skill when the user says 'write tests', 'add tests', 'test coverage', 'unit tests', 'integration tests', 'component tests', 'mocking', 'edge cases', or needs to generate tests with proper mocking and edge case coverage. Do NOT use for refactoring plans or database migrations.

cwinvestments/memstack · 70 tokens

test-commander

Generate unit, integration, E2E, and visual regression tests following the Testing Trophy methodology (80% integration). Covers Vitest/Jest, Testing Library, Playwright, MSW for API mocking, snapshot strategy, visual regression (Chromatic/Percy/Playwright), test factories with Faker, and CI sharding. Use when user…

EliasOulkadi/shokunin · 117 tokens

mandu-testing

Testing patterns for Mandu applications. Use when writing unit tests, integration tests, or E2E tests. Triggers on test, spec, Bun test, Playwright, or testing tasks.

konamgil/mandu · 42 tokens

testing-strategy

Choose the right test type for every change — unit, integration, contract, end-to-end, property-based, mutation, fuzz. Use when adding tests to a new feature, deciding what to test for a bug fix, designing a test pyramid for a service, evaluating coverage targets, or untangling a slow test suite. Stack-agnostic…

kouroshez/coding-os · 118 tokens

redbar.fix

Write the missing tests for the gaps redbar found, following the canonical standard for that layer (Playwright's best practices for e2e, Vitest/Jest idiom for unit, Testcontainers for integration). Reads .redbar/gaps.json, writes one test file per gap, RUNS each test it wrote, and never leaves a failing test behind …

emersonjds/redbar · 113 tokens

redbar.init

Set a project up so redbar can inspect it. Detects the language and the test runner it actually uses, then proposes the test libraries that are missing (unit, integration, e2e) and prints the exact install command. It NEVER installs anything and never edits a manifest — the human approves and runs the command. Use…

emersonjds/redbar · 96 tokens