Skip to content
Agent Orchestration
Skill

/test-first

Use before implementing a feature or bugfix — write the failing test before the code.

BOOST
From plugin
vigla
1163 skills
Install
$ npx -y skills add Kilbex/Vigla --skill test-first --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/test-first

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use before implementing a feature or bugfix — write the failing test before the code.

SKILL.md

test-first.SKILL.md
name: Test-first
description: Use before implementing a feature or bugfix — write the failing test before the code.
scope: repo
enabled: true
priority: 80

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.

Ships withvigla

Open-source mission control for coding agents. Run cross-vendor workers in isolated worktrees, audit every submission, and revert an entire mission.

Get the whole plugin
Stats
116
Stars
5
Forks
Active
Maintenance
Rust
Language
Apache-2.0
License
26d ago
Last commit
3mo ago
Created
2d ago
Added

Repo: Kilbex/Vigla

Other skills on vigla.