Test-first

Test-first is a skill for Claude Code, Codex from Kilbex/Vigla. It costs 20 tokens per session (120 once invoked), scanned A, original, Apache-2.0.

A test-first coding method that requires a failing test before implementation code. After the smallest fix makes it pass, the code can be cleaned up while the test remains green.

In plain words
What is it for?
Use it before implementing a feature or bug fix, especially when you want the expected behavior documented in an automated test.
Why use it?
It turns the desired behavior into a check before the code is written and limits changes to what is needed. This helps catch regressions and avoids modifying unrelated code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before implementing a feature or bug fix, especially when you want the expected behavior documented in an automated test.

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

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-first

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kilbex/vigla/test-first"><img src="https://agentmods.dev/badge/skills/kilbex/vigla/test-first.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 120 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.00020 $0.00120
Opus 5.5 $0.00008 $0.00048
Sonnet 5.5 $0.00004 $0.00024
Haiku 4.5 $0.00002 $0.00012

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

Security

Grade A, and why

Test-first 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.

crates/orchestrator/resources/skills/test-first/SKILL.md · 15 lines

What it actually says

Before writing implementation code:

  1. Write a test that asserts the behavior you want and currently fails.
  2. Run it and confirm it fails for the expected reason (not a typo/compile error).
  3. Write the minimum code to make it pass.
  4. Run the test and confirm it passes.
  5. Refactor only with the test green. Keep changes surgical; do not touch unrelated code.
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 · 15 lines · 20 tokens per session scan A 69534fd06adc

Subscribe to this mod's changes

Test-first is a skill published in the GitHub repository Kilbex/Vigla (116 stars, last pushed 18d ago), licensed Apache-2.0. It adds 20 tokens to every session and 120 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

orchestrated-execution

Execute work units through the rigorous 4-phase Metaswarm cycle (Implement -> Validate -> Adversarial Review -> Commit) with independent quality gate enforcement.

a5c-ai/babysitter · 37 tokens

ast-pe

An engineering delivery role for turning an approved design into working, tested, reviewable, and reversible software across modules. It covers implementation, integration, debugging, and delivery checks.

aAAaqwq/AGI-Super-Team · 87 tokens

mutation-testing

Use when adding or reviewing a gate, guard rule, CI grep, or test assertion in this plugin's own scripts — and whenever a suite is green and you need to know whether that means anything. Runs scripts/mutate.sh, which breaks the code on purpose and reports which assertions failed to notice. Triggers from code-reviewer…

vmobifystudio/app-dev-team · 83 tokens

team-implement

Use for executing implementation plans only on explicit request. Never infer from a ready plan. Implements and verifies slices.

bostonaholic/team · 26 tokens

test-driven-development

Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality. Use when asked to add tests to a function, fix a bug…

addyosmani/agent-skills · 92 tokens

qa-acceptance

Produce QA acceptance criteria and a manual validation plan for a feature change — golden path, edge cases, error states, performance limits, and explicit pass/fail evidence.

paperclipai/paperclip · 38 tokens