Skip to main content

test-before-ship

Use this skill when implementing a new feature or fixing a bug. Write or update tests before marking the task done. Never consider code complete without verifying it works through automated tests.

Quellinformationen

Repository
aiming-lab/MetaClaw
Letzte Quellaktivität
10. März 2026 um 18:04
Erkannte Sprache von SKILL.md
Englisch
Sterne
3.464
Forks
452

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
test-before-ship
description
Use this skill when implementing a new feature or fixing a bug. Write or update tests before marking the task done. Never consider code complete without verifying it works through automated tests.
category
coding
# Test Before Ship **Test pyramid:** - Unit tests for pure functions and business logic (fast, many). - Integration tests for service interactions and DB queries (medium). - End-to-end tests for critical user journeys (slow, few). **Test quality checklist:** - Does the test actually fail when the code is broken? - Does it cover the happy path AND the most likely error cases? - Is the test name descriptive enough to diagnose a failure from the name alone? **For bug fixes:** add a regression test that reproduces the bug before fixing it. **Anti-patterns:** - Tests that only test the mock, not the real behavior. - Skipping tests because "it probably works".
Auf GitHub ansehen