/flagrare:bug-bashfrom Flagrare
Ingests a test plan (Notion, markdown, spec) and drives a live system via browser/API tools to execute every case with evidence, then performs exploratory testing. Writes results to a local MD file or back to the source.
Ships in Flagrare. 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.
Read when SKILL.md points to them.
A disciplined pass through a prescribed test plan against a real running system. The pass ends when every in-scope scenario has been run, every bug has been reproduced (not assumed), evidence is captured, and the results have landed where the user wants them.
This skill exists because of a specific failure mode: when someone hands you a test plan and a transcript of past discussion, the temptation is to just write up "the team already found these bugs" without actually testing. That produces noise, not signal. The whole point of a bash is that you ran it and saw it.
Most "QA passes" rot in two directions. Either they're a single happy-path click-through that never finds the interesting bugs, or they're an essay summarizing what other people said in meetings. The first misses real defects; the second pollutes the bug tracker with unverified claims that someone else later has to chase down.
A good bash does the prescribed work and explores around it and keeps a strict line between "I reproduced this" and "someone mentioned this." That line is what makes the output trustworthy.
The second reason this skill exists: the source-of-truth (a Notion test case database, a PRD with acceptance criteria, a markdown checklist) is usually the most important artifact, and it's the part that doesn't get updated. Filling Eng QA columns, adding bugs to the right database, and posting notes in the team's tone is half the work.
Hard requirement. Before any other tool call, you (the executing model) MUST call /goal yourself, not merely state a goal in prose. A bash walks many cases across many turns and emits a large findings file partway through; without a durable goal, the model tends to stop after the strict pass or after writing the findings file, before the exploratory pass and the write-back. /goal is a session-scoped Stop-hook: a fast evaluator checks your condition against the conversation after every turn and makes you continue until it holds. (Grounded in docs/research/2026-06-11-claude-code-goal-anti-stall.md.)
Surface the goal to the user first so they can correct scope, then call /goal with a condition phrased as something your own output demonstrates (the evaluator cannot run tools or read files):
Bash
[feature / ticket / PR]: every prescribed test case has been run against the live system with captured evidence and a recorded status (pass / fail / skip-blocked / skip-external); the eight-lens exploratory pass is complete; every bug recorded is one I reproduced myself (no second-hand claims); results have landed in[user's chosen sink]; and the close has been confirmed via the Step 8 AskUserQuestion. Stop after 30 turns if not met.
After setting the goal, create a Todo list (TodoWrite), one item per prescribed test case plus one per exploratory lens, so coverage is tracked while the goal keeps the harness from letting you stop early.
If /goal is unavailable (untrusted workspace, or disableAllHooks / allowManagedHooksOnly set): proceed without it, but treat each step's completion as mandatory and do not yield the turn until Step 8.
Ask the user where the test cases live. The skill must not assume a format. Use AskUserQuestion with:
After ingestion, restate the test cases back to the user as a numbered list with the What and Should for each. This is the chance to catch a misread before driving the browser.
If the source contains pre-set columns for results (a Notion "Eng QA" column, a "Status" cell, a checkbox), note them, those are where results will land in Step 7.
Inspect what's being tested and pick the surface area:
| Signal | Target |
|---|---|
| Test cases describe browser navigation, clicks, form submission, URL changes | ui |
| Test cases describe API endpoints, request/response shapes, status codes | backend |
| Both | both |
| Ambiguous | ask via AskUserQuestion |
Verify the right MCP / tool is reachable:
postman:send-request), curl via Bash, or an MCP that hits the service. Confirm before assuming.If the UI bash needs a browser MCP and neither Chrome DevTools nor Playwright is connected, ask via AskUserQuestion:
Read the matching reference for tactics:
references/ui.md, browser-driven flows, isolated contexts, screenshot evidence, viewport handlingreferences/backend.md, request shaping, auth, status/contract assertions, observability checksThree things to confirm before any scenario runs:
Where is the live system? The user almost always knows from context. If the answer isn't obvious, ask via AskUserQuestion:
Auth. Default to asking the user to log in themselves in the browser window the MCP is attached to. Automated login is a tarpit, MFA, captchas, OAuth redirects, and corporate SSO all break it. Wait for the user to confirm they're logged in.
Feature flags / preconditions. If the spec calls out a flag (release-foo is on, partner X has enabled = true), verify it's set before bashing. If a precondition can only be set by a developer (DB seed, environment toggle), name it and ask them to do it before continuing, don't run a session that's blocked from the start.
Enough data to spend. Many cases consume a record for good: you can only report an order once, accept an invite once, cancel a booking once. Before the strict pass, ask the app's own list API (from the logged-in page, see references/backend.md) for every eligible record, and keep the ids in localStorage so a page reload doesn't lose them. Prefer records owned by throwaway or test accounts. If other people are bashing the same environment at the same time (look for fresh records by other users), leave their records alone. When the pool is empty, create fresh records yourself in the test environment rather than stopping to ask.
If the test plan requires multiple user roles (inviter / invitee / admin), use isolated browser contexts (new_page with isolatedContext), they share no cookies, no storage. This is the only reliable way to test impersonation, invite-acceptance, or cross-tenant flows without log-out/log-in churn.
Every free-text field you fill is a chance to test something and to make the results fun to read. Bug bashes are long and the people reading the results are tired; "test test asdf" teaches nothing and nobody remembers it. Write each value as a tiny, plausible scene from the product's world, with a tag up front so it's findable later:
MARKETING-OFF #1: Member insisted the oat milk was "spiritually dairy" and demanded a refund in exposure. Told the cashier she would leave a 1-star review on her Spotify.Race x10: tried to redeem one order for the whole pickleball team.Double-click test: member returned the same iced latte three times because it was 'too iced', then filmed the barista for TikTok.The rules that keep it light without making it noise:
HTML-EMAIL, LONG-50K, Race x10), so you can search for it in the inbox, the admin page and the database, and so nobody mistakes it for a real report.pediu açaí sem açúcar 😡), Japanese and Arabic, a <b> tag and a link, template syntax ({{user_first_name}} {% if true %}RAN{% endif %}), blank lines and bullets, a 50,000-character monologue.Walk the list in order. For each case:
[workspace]/bug-bash-screenshots/ with descriptive names (tc2-03-invite-link-generated.png, not screenshot1.png).pass, fail, skip-blocked, skip-external.skip-blocked means a prior case failure makes this one unreachable, fix the prior first or surface it.
skip-external is for cases that can't be run from this seat: expired states needing a DB write, mobile-only flows needing a real device, partner config needing a config push. Name what's missing and who would need to do it. Do not mark these as pass: they are not verified.
When a case fails, capture evidence and keep going. Don't fix-as-you-go, a bash is observation, not implementation. The exception is P0-equivalent "feature didn't load at all", that blocks everything else. Surface it via AskUserQuestion:
Strict cases catch what the team thought to ask about. Exploratory catches what they didn't. Do this every time the strict pass is done, not "if time allows."
Eight lenses, in this order. See references/exploratory.md for tactics on each.
For each exploratory finding, the rules are the same: reproduce it yourself, capture evidence, record it. If you can't reproduce a finding someone else mentioned, that is itself a useful result, file it as "could not reproduce" with the steps you tried.
Default sink is a local MD file at the user's working dir: bug-bash-[feature]-results.md. Always produce this, it's the audit trail the user reads first.
The MD has these sections:
# [Feature] bug bash: [date]
## Summary
| # | Test case | Status | Notes |
## Detailed results
[per test case: step / expected / actual / status / evidence ref]
## Bugs reproduced
[per bug: description / repro steps / evidence (record ids, timestamps) / severity / likely owner / source: strict or exploratory]
## Product calls
[working as built, but someone has to decide: e.g. cancelled orders can be reported, the window counts from placement not pickup]
## Could not verify
[external-blocked items with what's needed and who from]
## Data left behind
[records created, settings changed and whether they were restored]
Keep "bug" for behaviour that is wrong by any reading. Behaviour that matches the code but might not match intent goes under product calls, so nobody files a ticket against a decision.
Then ask the user via AskUserQuestion whether to also write back to the source:
When writing back, match the team's tone in that source. If the existing Eng QA cells use "✅ CB" style, match. If the bug DB entries are casual / first-person, match. Read the surrounding rows before composing yours. This is what makes the output feel like it belongs there.
If the user authored prior content in a recognizable voice (you can usually tell from earlier rows / comments), mirror it. Conversational, informal, no corporate softening unless that's what the team uses.
Surface the final state via AskUserQuestion:
The button-prompt is the audit trail. Don't declare done in prose.
skip-external, not pass. Naming what's missing is more useful than pretending it worked.input.checked) before you name the condition a case ran under. A case run under the wrong condition proves nothing, and the label is easy to misread.[acceptance criteria written / feature implemented]
↓
/flagrare:bug-bash (this skill, verify the spec with evidence, find what the spec missed)
↓
[bugs filed back to source]
↓
[follow-up tickets created for sev-1/sev-2]
↓
[smoke-test reruns on each fix; bash rerun before release]
The bash is distinct from /flagrare:smoke-test. Smoke-test is "the feature I just implemented works end-to-end", narrow, ten-minute budget, one author. Bug-bash is "the team's prescribed test plan plus exploratory coverage", wider, longer budget, often runs against features other people built. Both are evidence-driven; they're not interchangeable.
references/ui.md, Chrome DevTools MCP / Playwright tactics: isolated contexts, screenshot conventions, viewport sweeps, evidence directory structure, common assertion patternsreferences/backend.md, request shaping, auth matrix, contract assertions, status-code checks, observability lookupsreferences/exploratory.md, the eight-lens framework expanded: viewport sweep checklist, edge-input patterns, multi-actor scenarios, codebase-derived concerns, ingesting transcripts and follow-up context without falling into the "paraphrase the meeting" trap, emails and links checked with a control case, language switches, failure injection and racesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flagrare/agent-skills --plugin flagrare43 skills in this plugin
/atdd-planProduce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they earn their keep. The skill enters plan mode automatically (via the EnterPlanMode tool), runs /flagrare:codebase-explore to ground the plan in the actual codebase, then produces a plan-mode plan that MUST include both: (1) 3-5 acceptance tests in plain English defining 'done' before any implementation, written behavior-first against the public API only; and (2) any non-trivial structural decisions named as design patterns with a one-line rationale. Plan mode's native approve/edit/reject button UI is the close, ExitPlanMode is how the skill ends. Use whenever the user wants to plan a feature, fix, or refactor, 'how should we implement X', 'plan this', 'let's design X', 'where do we start on Y'. Tests follow Kent Dodds Testing Trophy: behavior over implementation, integration-heavy, public-API-only, refactor-proof. The skill stops at the plan; it does not write implementation code./brag-docGenerate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom). Pulls authored PRs, reviews given, commits, deploys, and linked tickets across GitHub, local git, and configured MCPs, then synthesises a themed narrative, leading with outcomes, quantifying impact, owning the work in first-person past tense, separating IC contributions from amplification, and naming the judgment exercised. Output is designed to drop straight into a developer journal, a personal bragging sheet, or a performance-review packet. Accepts a mode argument, `/flagrare:brag-doc resumancer` renders the output as ready-to-paste Resumancer CLI commands (`resumancer impact "..." --branch ...`) instead of markdown. Use whenever the user says "brag doc", "brag sheet", "what did I do this week", "weekly recap", "monthly recap", "performance review prep", "what should I tell my manager", "summarise my impact", "career log entry", "give me my wins", "biweekly recap", or any variant about looking back over a longer window than a single day's standup. Also trigger near review season ("self-review", "perf packet", "evaluation prep"), and on phrases like "log my wins to resumancer" or "make resumancer entries for this week" (which should pass the `resumancer` mode). For windows longer than about a month, a tenure retrospective, a departure record, or "everything I did at this company", hand off to `/flagrare:impact-timeline` instead; this skill's window tops out at a month.Other plugins' skills for the same job