kit/plugins/code-testing-agent/skills/code-testing-agent/SKILL.md
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.
npx skillsauth add shawn-sandy/agentics code-testing-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.development
Checks whether the branch's PR is ready and merges it when green. Runs the readiness gate, lint, and an approval prompt. Use when the user asks "merge?" or if a PR is ready to merge.
development
Implements a plan file that already exists. Walks its steps, ticks the spec, re-renders, and runs the completion gates. Use when asked to implement an existing plan.
development
Audits and optimizes CLAUDE.md project memory files. Checks adherence to Claude Code best practices and produces actionable fixes. Use when the user asks to audit, optimize, or diagnose a CLAUDE.md.
development
Converts an HTML artifact or Markdown file into a draft post for a static site. Scopes CSS to keep interactive blocks alive and escapes prose for MDX. Use when asked to turn an artifact into a post.