/codagent:test-flowsfrom codagent
Exercises a small software change through representative user or client flows, reporting observed evidence, defects, and ambiguities without fixing code or running automated suites.
Ships in codagent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Exercise the checked-out product as a user or real client would. This is a lightweight flow check, not automated validation or formal acceptance preparation.
Read the caller-supplied:
scratch_dir, the caller-provided scratch folder (for example, a per-step Agent Runner folder).If expected behavior is unavailable, report what is missing instead of inferring the contract from implementation alone. If a selected UI flow has no evidence directory, report the missing input instead of testing that flow without its required screenshot.
Size the pass to what changed. Identify the meaningful changed journeys and public surfaces, and keep the inventory proportional to the small change rather than replaying every requirement scenario or input variation. Skip anything an existing automated test already asserts properly; check before assuming it does.
For targeted verification, exercise the named affected flows and obvious direct dependencies. Verify the prior finding first. Do not start a new broad review or search unrelated surfaces for additional issues.
Use typical data, configuration, and roles. Do not fuzz or build an exhaustive edge-case matrix; keep exploration targeted by risk rather than volume. Running the same operation twice is cheap and catches a large share of real defects.
Before each flow, write down the expected result in specifics. A wrong prediction means the model and the system disagree, and one of them is a defect. Emit actual values rather than pass or fail, since a boolean can only answer the question already thought of.
For a deeper pass on a substantial change, use codagent:prepare-acceptance instead.
Check each candidate location: scratch_dir, the evidence directory, and the report path folder.
Consider only locations the caller supplied. Resolve relative paths and symlinks for each candidate
and both comparison roots. Get the worktree root with git rev-parse --show-toplevel.
Reject any candidate inside the git worktree or the system temp folder. Use the first allowed location
in that order. Never use a hard-coded temp path.
When scratch_dir is allowed, put every temporary file, clone, fixture project, seeded data, and
server working folder inside it. Leave cleanup of a caller-provided scratch folder to the caller.
Otherwise, create a new, unique scratch subfolder under the allowed evidence directory or report path
folder. Do not reuse an existing folder. Copy any evidence to be retained out of this folder, then
remove only the folder this skill created before the skill ends on any path, including early stops when
a defect makes remaining flows unreachable, unsafe, or untrustworthy, and failures.
If no allowed scratch location exists, exercise only flows that need no scratch files, list each skipped flow under untested or blocked flows with the reason, and never create scratch files in the worktree or the system temp folder.
Use the project's normal setup, build, install, seed, and start commands needed to expose the current worktree. Do not run automated unit, integration, or end-to-end suites, linters, Validator, or CI.
For each selected flow, verify resulting state rather than trusting an agent assertion or successful command exit. Continue through independently testable flows after finding a defect; stop only when the problem makes remaining flows unreachable, unsafe, or untrustworthy.
For any tested UI flow, capture a meaningful stable screenshot under the caller's evidence directory. Capture more than one only when multiple states are necessary to understand the flow. Record what the reviewer should notice and a concise text equivalent. For non-visual surfaces, retain a sanitized request/output excerpt or comparable client-visible evidence.
Return a concise report containing:
HEAD as context;Write the same report to a caller-specified path when requested. Do not create status markers or machine-control files.
Do not fix defects, modify approved artifacts, commit, push, wait for CI, inspect PR state, or claim human acceptance. The caller decides how findings are handled and whether targeted verification is needed after a fix.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/ask-questionsHow to ask users questions interactively: which tool to use, how to batch questions, and when to ask serially. Follow this skill when asking clarifying questions, requesting confirmation, collecting missing requirements, or pausing for user input. Invoked by other skills rather than directly by the user.
/call-agentCall AgentSafely invokes one Runner-owned child agent with a complete standalone prompt, independently verifies its findings, and reports results without hiding failures or disagreements. Use when a workflow or caller asks to use codagent:call-agent, call the Runner-owned call_agent tool, obtain an independent agent review, or delegate one bounded task to an Agent Runner profile or declared named session./npx claudepluginhub codagent-ai/agent-skills --plugin codagentOther plugins' skills for the same job