From code-testing-agent
Suggests purpose-driven tests tied to actual behavior. Writes test files covering untested paths and behavior gaps in the codebase. Use when the user asks to suggest tests or find untested behavior.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-testing-agent:code-testing-agentThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
---
Analyze code and suggest specific, purpose-driven tests tied to actual behavior. Strive to meet the project's coverage target, or maximize coverage when no target is defined.
Freedom level: Flexible — Follow these steps in order. Adapt depth to the code's complexity and the user's request.
Does not run tests — use running-tests. Does not review code quality — use code-review-agent.
Use TodoWrite to create todos for Steps 1–6 (all status: "pending"). Mark
each status: "completed" as you finish.
Resolve the target code using this priority order. Load
references/input-resolution.md for detailed parsing heuristics.
git diff --name-only HEAD~1 (exclude test/config/lock
files); confirm with userReport: file(s) to analyze, function scope if any, full-file vs. scoped. Read each target file in full.
Search for design intent (stop at first match):
docs/plans/ — match by filename similarity to target code~/.claude/plans/ — same matching logicgit log --oneline -5 — commit messages describing intent// TODO, // PLAN:, // PURPOSE:, or JSDoc @description in the
target codeIf found: report
"Found plan: [path]. Using it to understand intended behavior." Extract goal,
key behaviors, edge cases, and acceptance criteria.
If not found: report
"No implementation plan found. Inferring intent from code and context."
Proceed to Step 3.
Load references/test-analysis-guide.md for detailed heuristics. Analyze:
Load references/test-infrastructure.md for config file locations and glob
patterns. Detect:
package.json, pytest.ini, Cargo.toml, CI
config, etc.*.test.*, *.spec.*, *_test.* near
the targetjest.config.*, pyproject.toml, .nycrc,
codecov.ymlReport:
"Detected: [framework]. Existing tests use [patterns]. Coverage target: [X]%."
Load references/output-guide.md for the full output template and suggestion
principles.
For each suggestion provide: What (behavior), Why (blast radius if missing), How (approach + key assertions), Where (file path). Group by file; prioritize by blast radius.
Ask: "Would you like me to write the test file(s)? I will create [path(s)] with the tests above."
[test command] to verify.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub shawn-sandy/agentics-kit --plugin code-testing-agent