All authors

Claude Skills by kavachlabs
github.com/kavachlabs13 skills0 installs26 views
- Condition Based WaitingUse when tests have race conditions, timing dependencies or flaky, intermittent behavior. Replaces arbitrary timeouts with polling for the actual condition.Votes: 0GitHub stars: 3
- Defense In DepthUse when invalid data causes failures deep in execution, requiring validation at multiple system layers. Validates at every layer data passes through to make the bug structurally impossible.Votes: 0GitHub stars: 3
- Property Based TestingUse when writing tests for code with invariants, state machines, parsers or financial calculations, or when example-based tests miss edge cases. Generates inputs with Hypothesis, fast-check or gopter and shrinks failures.Votes: 0GitHub stars: 3
- Root Cause TracingUse when an error occurs deep in execution and you need to trace back to find the original trigger, including production incidents, intermittent failures and corrupted state. Traces bad values backward through the call stack.Votes: 0GitHub stars: 3
- Systematic DebuggingUse when encountering any bug, test failure, crash or unexpected behavior, before proposing fixes. Four phases: investigate the root cause, analyze patterns, form and test a hypothesis, then implement a fix with a failing test first.Votes: 0GitHub stars: 3
- Test Driven DevelopmentUse when implementing any feature or bugfix, before writing implementation code. Write the test first, watch it fail, write minimal code to pass, refactor.Votes: 0GitHub stars: 3
- Verification Before CompletionUse when about to claim work is complete, fixed or passing, before committing or creating PRs. Requires running verification commands and confirming output before making any success claims.Votes: 0GitHub stars: 3
- Writing PlansUse when you have a spec or requirements for a multi-step task or feature, before touching code. Produces a step-by-step implementation plan with exact files and tests.Votes: 0GitHub stars: 3
- Kavach FixReproduce a production bug that won't reproduce locally, fix it, and prove the fix. Use when a crash, error, wrong balance or corrupted state came from a service that handles events or requests one at a time and keeps state (queue or Kafka consumers, webhook handlers, payment and ledger services, order or workflow state machines), when the bug is intermittent or appeared only after redeliveries or retries, when the user has a `.kavach` fixture, or when asked whether a fix really works beyond ...Votes: 0GitHub stars: 3
- Kavach ImplementAdd a feature to a stateful service without breaking what it already does: record traffic on the current build, write invariants from the specification, have a person approve the contract, then implement until `kavach contract check` returns `pass`. Use when adding an event type, command, endpoint, state transition or business rule to a service that handles events or requests and keeps state (ledgers, payments, subscriptions, queue consumers, webhook handlers, state machines) and existing beh...Votes: 0GitHub stars: 3
- Kavach InvariantsFind the rules a stateful service must always obey (sink delivery semantics, causal effect ordering, Kafka offset safety, at-least-once payload consistency, scoped at-most-once side effects on retry, no silent output drops, balances never negative, money neither created nor destroyed), declare them in `.kavach/invariants.yaml` (zero boilerplate) or in code (`kv.Invariant` / `kv.invariant`), and mutation-test each invariant in milliseconds so it provably catches corrupted state. Use when the u...Votes: 0GitHub stars: 3
- Kavach SetupAdd deterministic record and replay to a service with zero business-logic rewrites and zero in-memory DB mocks (`memrepo`), so production or local traces replay offline across mutated retry and failure schedules. Use when setting up Kavach in a codebase, capturing traffic or crashes for replay, making intermittent or prod-only bugs reproducible, or turning incidents into PR regression gates. Defaults to v0.2 Driver Capture (`kavach init`, `kavach doctor`, `github.com/kavachlabs/kavach-go`, `@...Votes: 0GitHub stars: 3
- Kavach VerifyCheck another agent's fix or feature with Kavach and report the verdict; never change the code yourself. Use when you are the verifier in a team of agents (an Antigravity /swarm, a sub-agent pipeline, a review step) and an author says a change is done, or when asked to confirm that someone else's patch to a stateful service really fixes a recorded `.kavach` incident or meets an approved `contract/`. Replays the incident on the old and new builds with `kavach diff` (or `kavach contract check` ...Votes: 0GitHub stars: 3