catchup
Rebuild working context fast after /clear or a fresh session — reads the handoff note and the…
Write comprehensive tests for new or changed code. Use automatically after adding a function, endpoint, or component, or changing behavior, when the change has no corresponding test changes. Not for config, docs, or test-only diffs. For judging whether existing tests adequately
$ npx -y skills add poshan0126/dotclaude --skill test-writer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/test-writerContext preview
The summary Claude sees to decide when to auto-load this skill.
Write comprehensive tests for new or changed code. Use automatically after adding a function, endpoint, or component, or changing behavior, when the change has no corresponding test changes. Not for config, docs, or test-only diffs. For judging whether existing tests adequately
name: test-writer description: Write comprehensive tests for new or changed code. Use automatically after adding a function, endpoint, or component, or changing behavior, when the change has no corresponding test changes. Not for config, docs, or test-only diffs. For judging whether existing tests adequately verify a change, use the pr-test-analyzer agent instead. # No disable-model-invocation. Claude can auto-trigger this when adding features. # Add "disable-model-invocation: true" below if you prefer manual-only via /test-writer. allowed-tools: - Read - Write - Edit - Bash(git diff *) - Bash(git log *)
Write comprehensive tests for the code that was just added or changed.
Change under test (injected at load — already in front of you, no tool call needed):
git diff --stat HEAD 2>/dev/null || echo "(no diff vs HEAD — inspect git status manually)"
git diff HEAD 2>/dev/null || true
For each new or modified function/method/component, map out:
For EACH scenario identified above, write a test. No skipping.
**Pure functions / business logic:**
**API endpoints / handlers:**
**UI components (if applicable):**
**Database / data layer:**
**Async operations:**
A lean .claude/ setup for daily development. Seven specialist agents, twelve workflow skills, six modular rules, and eight safety/productivity hooks. No bloat, no model assignments, no opinions you can't override.
Repo: poshan0126/dotclaude
Rebuild working context fast after /clear or a fresh session — reads the handoff note and the…
Keep CLAUDE.md current and lean — capture this session's durable learnings into it (default),…
Estimate per-turn token cost of `.claude/` and `CLAUDE.md` — always-loaded vs path-scoped vs…
Find and fix a bug. Default is careful (reproduce, investigate, test). Add `--fast` for…
Explain code. Default is a one-sentence summary plus a mental model. Add `verbose` to also…
Take a GitHub issue from number to tested fix — read the issue and comments, reproduce,…