Build/Update Tests
Risk-scores a file, then writes or fills in the unit/integration/E2E tests it's missing.
Fungerar med konfiguration
Vad den gör
Reads a target file, classifies it as High/Medium/Low risk, checks for existing unit/integration/E2E tests against pattern-compliance docs, then writes or updates the missing tests and reports gaps fixed. Triggers on phrases like "build tests for X", "update tests", "test [component]", or "check test coverage".
Testrapport
Ran it twice on a throwaway formatCurrency.ts: the skill-guided pass produced 11 organized P0/P1/P2 tests (null/NaN/rounding/unknown-currency-code edge cases, correct __tests__ path) versus 4 flat tests from an unguided baseline, all 15 passing under real vitest. Its 'CRITICAL' pattern-compliance step reads claude-patterns/testing-patterns.md, vitest-testing-patterns.md and playwright-best-practices.md, which don't ship with the skill and won't exist in a typical consumer repo, so that whole check silently no-ops out of the box.
Testad: 2026-07-16 · Claude Code 2.x (agent harness)
Installation
git clone https://github.com/enbyaugust/zacs-claude-skills cd zacs-claude-skills mkdir -p ~/.claude/skills cp -r skills/build-update-tests ~/.claude/skills/build-update-tests
Kommandon och exempelprompter
/build-update-testsRisk-scores a file, then writes or fills in the unit/integration/E2E tests it's missing.
Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):
check test coverage for the payment service before I ship itwrite missing unit tests for my LoginForm componenttest my new formatCurrency util for edge cases like null and NaN