test-map

test-map is a skill for Claude Code, Codex from samibs/skillfoundry. It costs 10 tokens per session (2,618 once invoked), scanned A, original, MIT.

A documentation generator that reads a project's test files and creates an HTML or Markdown report explaining what each test checks, why it matters, and how strong the coverage is.

In plain words
What is it for?
It is for documenting test suites, classifying tests by value, reviewing assertions, and reporting coverage for a project or directory.
Why use it?
It turns scattered test code into a report that developers, clients, or auditors can understand and use to find testing gaps.

Skill for Claude CodeCodex

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

Good fit It is for documenting test suites, classifying tests by value, reviewing assertions, and reporting coverage for a project or directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/samibs/skillfoundry/test-map
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 samibs/skillfoundry --skill test-map
Clone the repo
git clone --depth 1 https://github.com/samibs/skillfoundry

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 test-map

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/samibs/skillfoundry/test-map"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/test-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,618 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.00010 $0.02618
Opus 5.5 $0.00004 $0.01047
Sonnet 5.5 $0.00002 $0.00524
Haiku 4.5 $0.00001 $0.00262

Measured 1mo ago against content hash 9b13f8aa85ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-map 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 1mo 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/test-map/SKILL.md · 257 lines

How it starts

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

/test-map — Test Cases Documentation Generator

Read every test file in the project, classify each test by value tier, and produce a structured HTML deliverable documenting what is tested, why, and how good the coverage actually is.


Usage

/test-map                    Generate full report for current project
/test-map [path]             Generate report for a specific directory
/test-map --format=html      Output as HTML file (default)
/test-map --format=md        Output as Markdown
/test-map --open             Generate HTML and open in browser (if tool available)

Output saved to: docs/test-map-[YYYY-MM-DD].html (or .md)


Instructions

You are the Test Cartographer. You read every test file in the project, understand what each test actually verifies (not just what its name says), classify it by business value tier, and produce a deliverable-grade HTML report that a client, auditor, or engineering lead can read and act on.

This is NOT a static checker. You READ the test bodies. You UNDERSTAND the assertions. You EXPLAIN the value in plain language.


Phase 1: Discovery

Find all test files matching these patterns:

*.spec.ts       *.spec.tsx      *.test.ts       *.test.tsx
*.spec.js       *.test.js
test_*.py       *_test.py
*.Tests.cs      *Tests.cs
*Test.java      *Spec.java
*_test.go

Exclude: node_modules/, dist/, .next/, build/, coverage/, __pycache__/

For each file, record:

  • File path (relative to project root)
  • Number of test cases (it(...), test(...), it.each(...), @Test, def test_)
  • Framework detection (Jest, Vitest, pytest, NUnit, JUnit, Go test)

Phase 2: Classification

Read each test file body. Classify the file's primary tier based on what the tests actually do:

Tier 1 — Business Logic (HIGH VALUE)

A file is Tier 1 if ANY test in it:

  • Asserts conditional rendering or visibility based on input combinations
  • Verifies state transitions (step 1 → step 2, open → closed, disabled → enabled)
  • Tests data transformation rules (format strings, concatenation, filtering logic)
  • Validates business rules (permission checks, validation logic, calculation correctness)
  • Verifies that specific fields are/aren't exposed (information hiding)
  • Tests orchestration: component A calls service B with exact payload shape
  • Tests multi-step flows (open popup → reset form → call API with formatted payload)

Read the full file on GitHub · 257 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. 1mo ago First seen · 257 lines · 10 tokens per session scan A 9b13f8aa85ea

Subscribe to this mod's changes

test-map is a skill published in the GitHub repository samibs/skillfoundry (12 stars, last pushed 23d ago), licensed MIT. It adds 10 tokens to every session and 2,618 once invoked, about $0.0000 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-09-03.

Related

Other skills, from other repositories

ring:running-dev-cycle

Running the backend dev cycle: implements every task in a rolling-wave plan.md (ring:writing-plans format) for a Go/TS service, driving specialist agents through Gate 0 implementation/TDD, Gate 8 parallel review, and Gate 9 validation per epic, elaborating later phases at each phase boundary. Use when starting or…

LerianStudio/ring · 122 tokens

ring:writing-skills

Writing or editing a Ring skill: SKILL.md structure, frontmatter and Agent-Search-Optimization rules, token-efficiency targets, and bulletproofing (Iron Law, rationalization tables, Red Flags) so discipline-enforcing skills resist excuses. Use when creating or revising a skill. Delegates pressure-testing to…

LerianStudio/ring · 100 tokens

ring:detecting-goroutine-leaks

Detecting goroutine leaks in Go: greps for goroutine patterns, audits goleak coverage (VerifyTestMain/VerifyNone), runs goleak, and dispatches ring:backend-go to fix leaks and add regression tests. Use after implementation or during review when code spawns goroutines or a leak is suspected. Runs before…

LerianStudio/ring · 109 tokens

ring:test-driven-development

Enforcing the RED-GREEN-REFACTOR loop: write one failing test and watch it fail, write minimal code to pass, then refactor green. Use when starting implementation of a new feature or bugfix, or writing any new production code. Requires pasted failure output as proof of RED; code written before its test must be…

LerianStudio/ring · 89 tokens

ring:validating-acceptance-criteria

Validating a completed task against its acceptance criteria, mapping each AC to evidence, and gating completion on explicit user sign-off (self-approval prohibited). Gate 5 of ring:running-dev-cycle / ring:running-dev-cycle-frontend, run at task cadence after ring:reviewing-code. Use when implementation and tests are…

LerianStudio/ring · 100 tokens

ring:creating-handoffs

Creating a handoff document that captures session state (completed work, decisions, open items, next steps) and delivering it via Plan Mode so the user gets the native 'clear context and continue implementing' resume option. Use when ending a session, when context grows large, or the user says 'handoff', 'save…

LerianStudio/ring · 93 tokens