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.data-ai
Craft-prompt: interviews users and assembles a structured AI prompt using Anthropic best-practice techniques. Use when the user runs /plan-agent:craft-prompt or asks to craft a prompt.
development
Generates a SOCIAL.md project sharing config by analyzing the codebase. Use when asked to set up social sharing preferences or create a SOCIAL.md file.
development
Explains how any project file, component, or concept works. Reads source files and synthesizes developer-friendly principles, social copy, and a dark-mode card. Use when asked 'how does X work' or 'explain X'.
development
Generate an HTML implementation-plan document. Produces a self-contained .html plan file with steps, acceptance criteria, and metadata. Use when the user asks to create a plan document, generate an HTML plan, or write a plan file — not for general planning questions.