Define Flow — Testing skill for Claude Code
Define a test flow by doing it: an agent-led session that executes each step live as you define it, then saves a runnable spec.
How to install Define Flow
Installs to ~/.claude/skills/mohamedelbadawi-qa-pilot-define-flow/SKILL.md
mkdir -p ~/.claude/skills/mohamedelbadawi-qa-pilot-define-flow && curl -fsSL https://raw.githubusercontent.com/mohamedelbadawi/qa-pilot/HEAD/commands/define-flow.md -o ~/.claude/skills/mohamedelbadawi-qa-pilot-define-flow/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Define Flow does
description: "Define a test flow by doing it: an agent-led session that executes each step live as you define it, then saves a runnable spec. Usage: /define-flow [url] [on ] [existing-spec-path]. Pass an existing spec path to walk it through step by step and clarify it."
Use the **define-flow** skill to run a guided definition session.
Arguments: $ARGUMENTS
**Mode (from the arguments):**
- If the arguments contain a path to an existing spec file (e.g.
test/suite1/checkout.md),
Alternatives in Testing
- Add Plugin — Integrate a spec-driven/skill framework as a bundled agtx plugin 1.5k ★
- Generic Browser Test — Execute browser UI testing workflows from a plan file against any URL 363 ★
- 8 Define Test Cases — Define Test Cases Command 105 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Draft Design Spec
Draft the implementation-ready DESIGN_SPEC.md for a product on the claude-led design path. Reads the signed-of
Hyper Process Document
Documents the process and methodology of the current session as a reproducible narrative. Saves to spec/proces
Anti Sloppifier
Audits a PM work session for AI slop, decision abdication, and thinking replacement. Run after strategy, specs
Agent Session Diff
Compare two AI coding-agent session exports (Claude Code, Codex CLI): file changes, commands, test runs and ti
Forge From Openapi
Auto-generate a Claude Code skill (commands + types + client) from any OpenAPI 3.x spec URL or file path
Groom
Critical grooming session for any task or idea — challenge necessity and approach, cover white spots, record d
Related Agents
Path Prover
Produces live evidence that every layer a lane touched actually works — boots the local stack or targets stagi
Repo Screenshot
Capture a clean PNG of a GitHub repository for use as a slide overlay. Given a repo URL or owner/repo, decides
Publish Verify
Read-only post-publish verifier. Given a published URL (or repo path), fetches the live artifact, runs the cro