CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

red-green-proof

Turns a suspected bug into a proven one. Verify the cause against reality before claiming it, write a test that FAILS on the current code, apply the fix, watch it pass — then revert the fix and confirm the test goes red again, because a test that passes both ways proves nothing. Invoked bare after a debugging conversation, it takes the target from context rather than asking. Use when fixing a bug, investigating an incident, hardening a flaky area, or when asked to "add tests that reveal the bug". Triggers on "/red-green-proof", "prove the bug", "red-green", "make the test fail first", "is that test load-bearing", "reveal the bug with a test".

75

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers an exceptionally actionable, well-sequenced procedure with explicit feedback loops and concrete commands, examples, and decision tables. Its weaknesses are mild redundancy of the core thesis and a bundle inconsistency: an evidence-checking script exists in scripts/ but is never referenced (and contradicted) by the skill text.

Suggestions

Reference scripts/red_green_evidence.py from the body (e.g., in the Output Format or Reporting section, as a way to validate that a recorded evidence run contains RED_BEFORE_FIX, GREEN_AFTER_FIX, and RED_AFTER_REVERT markers), and fix scripts/README.md which currently claims the skill is "intentionally script-free".

Trim the restatements of the core thesis — the 'One-line version' section and the Overview paragraph largely repeat the opening line; cutting them would tighten conciseness without losing guidance.

Narrow the two broad 'Use when' clauses in the description ("fixing a bug", "investigating an incident") toward the proof-of-fix niche so the skill is less likely to trigger over generic debugging or test-writing skills.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence (no explanations of test frameworks or basic concepts) and every section carries real guidance, but the core thesis is restated four times (opening line, Overview, One-line version, Anti-patterns) and rhetorical asides like "This is not paranoia" and "← the whole point" could be trimmed — matching 'efficient; minor instances of over-explanation' rather than the lean 5 anchor.

4 / 5

Actionability

Guidance is fully executable: a copy-paste bash sequence for the revert loop (cp backup, revert, run test, restore), `git log -S '<the exact line>'` for history checks, concrete test-naming examples, a decision table for unreachable code, and two worked real-world failure examples covering the common cases.

5 / 5

Workflow Clarity

The loop is a clearly sequenced 5-step process with explicit validation checkpoints and error-recovery feedback loops: "If it does not fail, you have not reproduced the bug. Go back to step 1" and "If it stayed green, the test is fake. Rewrite it and repeat", plus guardrails ("Do not skip 1, and never skip 4") and a final full-suite verification step.

5 / 5

Progressive Disclosure

The body is well-sectioned with appropriately inlined core content, but the actual bundle is not navigated: scripts/red_green_evidence.py is never referenced from SKILL.md, and scripts/README.md even claims the skill is "intentionally script-free" — a minor organization gap that keeps it below the clean split-and-navigation of the 5 anchor.

4 / 5

Total

18

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it states a concrete, complete action sequence and gives explicit, natural trigger phrases for both what and when. The only weakness is that two of the 'Use when' clauses are broad enough to compete with general debugging/testing skills for invocation.

DimensionReasoningScore

Specificity

The description lists the complete concrete action sequence — "Verify the cause against reality before claiming it, write a test that FAILS on the current code, apply the fix, watch it pass — then revert the fix and confirm the test goes red again" — which matches the comprehensive-coverage anchor rather than the minor-gaps anchor at 4.

5 / 5

Completeness

It explicitly answers both questions: the what is the red-green-red proof loop, and the when is stated concretely ("Use when fixing a bug, investigating an incident, hardening a flaky area, or when asked to 'add tests that reveal the bug'"), matching the 5 anchor with concrete trigger phrases.

5 / 5

Trigger Term Quality

Trigger phrases cover natural user language comprehensively: "fixing a bug", "investigating an incident", "prove the bug", "make the test fail first", "is that test load-bearing", "reveal the bug with a test", plus the "/red-green-proof" command; no obvious synonyms are missing for this domain.

5 / 5

Distinctiveness Conflict Risk

The niche triggers ("red-green", "make the test fail first", "prove the bug") are highly distinct, but the broad clause "Use when fixing a bug, investigating an incident" overlaps with generic debugging and test-writing skills, so it sits between the minor-overlap anchor (4) and the minimal-conflict anchor (5) — noticeably above midpoint but not a clean 5.

4 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

alirezarezvani/claude-skills

Path

engineering-team/skills/red-green-proof/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.