genkit: Skill for Claude Code

.agents/skills/genkit-tools-testing/SKILL.md

genkit-tools-testing is a skill for Claude Code, Codex from genkit-ai/genkit. It costs 39 tokens per session (454 once invoked), scanned A, original, Apache-2.0.

A guide for writing and reviewing Vitest unit tests in the genkit-tools project. Unit tests check one small piece of code in isolation.

In plain words
What is it for?
Use it when creating, editing, fixing, or reviewing TypeScript test files under genkit-tools.
Why use it?
It helps keep tests focused on one behavior and avoids brittle checks that depend on incidental details such as object key order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is genkit-ai/genkit's own configuration. It tells Claude Code and Codex how to work on genkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything genkit configures →

About the project

Genkit is an open-source framework for building AI-powered applications with JavaScript, Go, Python, and Dart. Developers use it to connect language models and other AI providers while implementing chatbots, automations, recommendations, multimodal features, structured outputs, tools, and agent workflows. The catalogue skills support development with Genkit.

genkit-ai/genkit · 6,653 stars · on GitHub · genkit.dev

Reuse

Borrowing it

Nothing to install: this file belongs to genkit-ai/genkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/genkit-ai/genkit/main/.agents/skills/genkit-tools-testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/genkit-ai/genkit

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 genkit-tools-testing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/genkit-ai/genkit/genkit-tools-testing"><img src="https://agentmods.dev/badge/skills/genkit-ai/genkit/genkit-tools-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 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.00039 $0.00454
Opus 5.5 $0.00016 $0.00182
Sonnet 5.5 $0.00008 $0.00091
Haiku 4.5 $0.00004 $0.00045

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

Security

Grade A, and why

genkit-tools-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.

.agents/skills/genkit-tools-testing/SKILL.md · 21 lines

What it actually says

Genkit Tools Testing Guide

1. Test Structure & Philosophy

  • One behavior per test: Keep each it(...) block focused on a single behavior following arrange -> act -> assert with a clear, behavior-driven description. Split tests that assert multiple independent functions or behaviors.
  • Prefer single structured assertions: Use one toMatchObject / toEqual assertion on structured outputs instead of scattering field-by-field expect(...) calls on the same object, and avoid asserting incidental ordering (e.g. Object.keys(...) insertion order) when order isn't part of the contract.
  • Parameterized variations (it.each): Use it.each when verifying the same behavior across multiple input variations and a table meaningfully reduces duplication:
    • Prefer separate it(...) blocks when cases exercise distinct behaviors or branches, need different setup or assertions, or are simple enough that it.each adds more indirection than clarity.
    • Prefer named-object rows (it.each([{ name: '...', ..., expected: ... }]) with $name in the test title) over positional tuples whenever rows have 3+ fields or complex objects; simple 2-element [input, expected] scalar tuples are fine for concise mappings.
  • Test our logic, not library internals: Do not write unit tests that merely verify third-party library or Zod schema validation behavior. Focus on our domain logic, transformations, edge-case fallbacks, and error handling.

2. File Layout & Shared Fixtures

  • Mirror src/ in tests/: Place tests in tests/<subpath>/<name>.test.ts (kebab-case) mirroring src/<subpath>/<name>.ts.
  • Keep fixtures separate from test suites: Put reusable test builders and fixture constants in dedicated testing/mock_data.ts helpers rather than duplicating large inline objects across *.test.ts files.
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 · 21 lines · 39 tokens per session scan A 36c7b3d0f1b8

Subscribe to this mod's changes

genkit-tools-testing is a skill published in the GitHub repository genkit-ai/genkit (6,653 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 454 once invoked, about $0.0002 per session on Opus 5.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-11-24.

Related

genkit-tools-testing compared with skills from other repositories

genkit-tools-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genkit-tools-testinggenkit-ai/genkitSkill6.7ktodayApache-2.0A39Claude Code, Codex
architecture-patternsyonatangross/orchestkitSkill312todayMITA37Claude Code
testing-llmyonatangross/orchestkitSkill312todayMITA55Claude Code
testing-patternsyonatangross/orchestkitSkill312todayMITA59Claude Code
deepevalsammcj/agentic-codingSkill174todayApache-2.0A19Claude Code, Codex
zunitAdamBien/airailsSkill76yesterdayMITA111Claude Code
continuous-testingAdamBien/airailsSkill76yesterdayMITA84Claude Code