do-discover-pathslisted
Install: claude install-skill tomcounsell/ai
# Discover Happy Paths
Explore one flow on a target site with BYOB MCP and record it as **structured trace JSON**: durable CSS selectors, the inputs used, and assertions about the final state. The trace is the deliverable — a file another tool can replay deterministically, without an LLM. Success means the trace conforms to the schema below, every selector is the most stable one available, the end state is asserted, and no real credential appears anywhere in it.
## Repo context probe
If `.claude/skill-context/do-discover-paths.md` exists, read it and honor its declarations; otherwise use the generic defaults described below.
The context file is where a repo declares its trace consumers: a schema validator, a script generator and its target test runner, canonical trace/output directories, and environment specifics. When it is absent (the common case in a foreign repo), write the trace to `tests/happy-paths/traces/<path-name>.json`, then stop and report the trace path — do not invent a downstream generator.
## Browser surface
This skill drives the user's real, logged-in Chrome via BYOB MCP (`mcp__byob__browser_*`). Selector extraction and final-state assertions require `mcp__byob__browser_eval`, which is gated behind `BYOB_ALLOW_EVAL=1` in the BYOB MCP server's environment. If eval returns "browser_eval is disabled", that env var is missing — it must be set and the BYOB server restarted before this skill can produce durable selectors.
## Input
`$ARGUMENTS`: `<target-url