awesome-agv: Skill for Claude Code

.agents/skills/testing-strategy/SKILL.md

testing-strategy is a skill for Claude Code, Codex from irahardianto/awesome-agv. It costs 67 tokens per session (1,026 once invoked), scanned A, original, MIT.

A testing reference covering test doubles, integration-test setup, test naming, and test organization. Test doubles are controlled substitutes for real services, while integration tests check that code works with real infrastructure.

In plain words
What is it for?
It is for writing tests and setting up test infrastructure with tools such as Testcontainers and Firebase emulators.
Why use it?
It helps teams choose suitable tests and keep unit tests isolated while checking real service integrations separately.

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 irahardianto/awesome-agv's own configuration. It tells Claude Code and Codex how to work on awesome-agv 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 awesome-agv configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/awesome-agv. 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/irahardianto/awesome-agv/main/.agents/skills/testing-strategy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/irahardianto/awesome-agv

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 testing-strategy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/irahardianto/awesome-agv/testing-strategy"><img src="https://agentmods.dev/badge/skills/irahardianto/awesome-agv/testing-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00067 $0.01026
Opus 5 $0.00034 $0.00513
Sonnet 5 $0.00013 $0.00205
Haiku 4.5 $0.00007 $0.00103

Measured 6d ago against content hash 11f9353d4a64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

testing-strategy 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 6d 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/testing-strategy/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing Strategy Skill

This skill provides detailed implementation guidance for testing. The core mandates (TDD, AAA, test pyramid ratios) are in the testing-strategy rule and are always active. Load this skill when you need specific patterns, tools, or language conventions.

Test Doubles Strategy

Unit Tests: Use mocks/stubs for all driven ports

  • Mock repositories return pre-defined data
  • Mock external APIs return successful responses
  • Mock time/random for deterministic tests
  • Control test environment completely

Integration Tests: Use real infrastructure

  • Testcontainers spins up PostgreSQL, Redis, message queues
  • Firebase emulator spins up Firebase Authentication, Cloud Firestore, Realtime Database, Cloud Storage for Firebase, Firebase Hosting, Cloud Functions, Pub/Sub, and Firebase Extensions
  • Test actual database queries, connection handling, transactions
  • Verify adapter implementations work with real services

Best Practice: Generate at least 2 implementations per driven port:

  1. Production adapter (PostgreSQL, GCP GCS, etc.)
  2. Test adapter (in-memory, fake implementation)

Test Organization

Co-located Tests (Unit & Integration)

Place tests next to the file they test. This keeps tests visible, encourages maintenance, and supports refactoring.

Naming Conventions by Language:

Language Unit Integration
TS/JS framework-dependent — see note below framework-dependent
Go *_test.go *_integration_test.go
Dart/Flutter *_test.dart (in test/ mirroring lib/) *_integration_test.dart
Python test_*.py test_*_integration.py
Java *Test.java *IT.java
Rust #[cfg(test)] mod tests inline tests/ at crate root

TS/JS test-naming is framework-dependent, not a single suffix. Authoritative rule: @.agents/skills/typescript-idioms/references/project-structure.md §Test Organization. Summary: Vue & Angular use *.spec.ts (CLI default); React uses *.test.tsx; generic TS, Hono, and Next.js App Router use *.test.ts (Next.js co-locates in __tests__/). Do not mix test and spec suffixes within a single package — follow that package's framework convention.

Read the full file on GitHub · 94 lines

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. 6d ago First seen · 94 lines · 67 tokens per session scan A 11f9353d4a64

Subscribe to this mod's changes

testing-strategy is a skill published in the GitHub repository irahardianto/awesome-agv (156 stars, last pushed 19d ago), licensed MIT. It adds 67 tokens to every session and 1,026 once invoked, about $0.0003 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-09-03.