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.
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.
curl -O https://raw.githubusercontent.com/genkit-ai/genkit/main/.agents/skills/genkit-tools-testing/SKILL.mdgit clone --depth 1 https://github.com/genkit-ai/genkitWrote 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.
[](https://agentmods.dev/skills/genkit-ai/genkit/genkit-tools-testing)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 followingarrange -> act -> assertwith a clear, behavior-driven description. Split tests that assert multiple independent functions or behaviors. - Prefer single structured assertions: Use one
toMatchObject/toEqualassertion on structured outputs instead of scattering field-by-fieldexpect(...)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): Useit.eachwhen 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 thatit.eachadds more indirection than clarity. - Prefer named-object rows (
it.each([{ name: '...', ..., expected: ... }])with$namein 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.
- Prefer separate
- 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/intests/: Place tests intests/<subpath>/<name>.test.ts(kebab-case) mirroringsrc/<subpath>/<name>.ts. - Keep fixtures separate from test suites: Put reusable test builders and fixture constants in dedicated
testing/mock_data.tshelpers rather than duplicating large inline objects across*.test.tsfiles.
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.
- 7d ago First seen · 21 lines · 39 tokens per session scan A 36c7b3d0f1b8
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.
genkit-tools-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| genkit-tools-testinggenkit-ai/genkit | Skill | 6.7k | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| architecture-patternsyonatangross/orchestkit | Skill | 312 | today | MIT | A | 37 | Claude Code |
| testing-llmyonatangross/orchestkit | Skill | 312 | today | MIT | A | 55 | Claude Code |
| testing-patternsyonatangross/orchestkit | Skill | 312 | today | MIT | A | 59 | Claude Code |
| deepevalsammcj/agentic-coding | Skill | 174 | today | Apache-2.0 | A | 19 | Claude Code, Codex |
| zunitAdamBien/airails | Skill | 76 | yesterday | MIT | A | 111 | Claude Code |
| continuous-testingAdamBien/airails | Skill | 76 | yesterday | MIT | A | 84 | Claude Code |