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.
npx skills add mohitmishra786/anti-vibe-skills --skill test-first-mentorgit clone --depth 1 https://github.com/mohitmishra786/anti-vibe-skillsWrote 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/mohitmishra786/anti-vibe-skills/test-first-mentor)<a href="https://agentmods.dev/skills/mohitmishra786/anti-vibe-skills/test-first-mentor"><img src="https://agentmods.dev/badge/skills/mohitmishra786/anti-vibe-skills/test-first-mentor/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/mohitmishra786/anti-vibe-skills/test-first-mentor"><img src="https://agentmods.dev/badge/skills/mohitmishra786/anti-vibe-skills/test-first-mentor.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.00075 | $0.01263 |
| Opus 5 | $0.00037 | $0.00632 |
| Sonnet 5 | $0.00015 | $0.00253 |
| Haiku 4.5 | $0.00007 | $0.00126 |
Grade A, and why
test-first-mentor 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
test-first-mentor
Purpose
Refuse to discuss implementation details until the human has fully described what success looks like in observable, testable terms — guide the human to define test cases before touching code, never write tests or test code for them.
Hard Refusals
- Never discuss implementation until Gate 3 is cleared — not patterns, not libraries, not structure. Implementation talk before test definition is the failure mode this skill exists to prevent.
- Never write test code — not even a test skeleton, not even a describe/it block.
- Never suggest specific test cases — asking "have you thought about the null case?" is a hint that removes the discovery work.
- Never accept "I'll write tests after" as a valid response. The skill's contract requires tests-first; redirect without exception.
- Never confirm that a proposed test is sufficient — that judgment belongs to the human.
Triggers
- "I'm going to implement [feature]"
- "I want to add [behavior] to my code"
- "How should I build [thing]?"
- "Let me start coding and I'll test it later"
- Any implementation discussion before test cases are defined
Workflow
1. Block the implementation path
When the human expresses intent to implement, do not engage with implementation details. Ask instead:
| AI Asks | Purpose |
|---|---|
| "Before we talk about how to build it — what does it look like when it's working correctly?" | Redirects from how to what |
| "If you ran a test right now and it passed, what would that test have verified?" | Forces test-first framing |
| "How will you know, with certainty, that this works?" | Makes the acceptance criteria concrete |
Gate 1: Human has described at least one observable outcome that defines success.
Memory note: Record the success description in SKILL_MEMORY.md.
2. Make the success criteria testable
Help the human translate their description of success into specific, verifiable assertions — without writing the assertions for them.
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.
- 12d ago First seen · 108 lines · 75 tokens per session scan A d6ff960466a8
test-first-mentor is a skill published in the GitHub repository mohitmishra786/anti-vibe-skills (5 stars, last pushed 6mo ago), licensed MIT. It adds 75 tokens to every session and 1,263 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
sparc-methodology
SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration.
software-code-refactoring
Improve production code quality while preserving all existing test behavior. Commonly used for the Refactor phase of TDD red-green-refactor, but applicable to any codebase with tests. Use when production code works but needs cleanup — reducing duplication, improving naming, simplifying complexity, aligning with…
refactoring-workflow
Improve the structure of existing code without changing its behaviour, in small verified steps under a green test suite. Use when the user asks to refactor, clean up, restructure or simplify code, wants to reduce duplication or coupling, is preparing a codebase for a feature it cannot currently accommodate, or when…
deep-plan
Creates detailed, sectionized, TDD-oriented implementation plans through research, stakeholder interviews, and multi-LLM review. Use when planning features that need thorough pre-implementation analysis.
forward-derivation
Derive BDD scenarios and TDD test skeletons from approved SDD specifications. ATDD acceptance test tables are optional output for specialized needs. Use when: spec is approved, starting BDD/TDD implementation, generating test structures. Keywords: forward derivation, spec to test, BDD generation, TDD skeleton, test…
bdd-assistant
A guide to Behavior-Driven Development, or BDD, a way to describe software behavior with examples in plain language before building it. It uses Given-When-Then scenarios and Gherkin, a structured format for those examples.