three-amigos
Skill1 starsChanged 6 months ago0BSDView on GitHub
Run a Three Amigos refinement on a draft user story or CLAUDE.md increment from three role viewpoints — Business Analyst, Tester, Technician. Use this skill whenever the user wants to harden a story before implementation, asks "is this story ready", says "let's three-amigos this", drafts an increment in chat, or addresses any of the three roles by name (BA, tester, technician). Use it upstream of incremental-implementation-workflow — round-table mode emits a refined value clause plus Given/When/Then plus open questions, which that skill then consumes. Skip it once the spec is already refined or for pure implementation tasks.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cakehurstryan/QE-Skillstheir own version, first seen Jun 26, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- cakehurstryan/QE-Skills★ 15same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Not active for: implementation questions on an already-refined spec, troubleshooting a live system, or code review.
- Very specific: line 79
After a round-table, always emit this exact structure under a heading ## Refinement output:
- Distinctive: line 107
Do not run a round-table merely because a user quotes a story during implementation.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Three Amigos
A refinement skill for chat sessions where the user is still shaping a user story or CLAUDE.md increment. Three role personas — Business Analyst, Tester, Technician — interrogate the draft from their own lens and either return the spec ready for implementation or surface the blocking ambiguity.
The skill exists because implementation discipline downstream is wasted if the spec is fuzzy. incremental-implementation-workflow hard-stops on ambiguity and produces a clarification brief; three-amigos runs upstream so the brief is rarely needed.
Minimum protocol
On load. Detect mode. A user prompt that names a single role ("BA — ...", "Tester, ...") is targeted; any other prompt that supplies a draft story is round-table (BA → Tester → Technician, in that order).
Stop on. A blocking unknown that cannot be resolved in chat (Technician flags a missing dependency the user cannot confirm; BA and Tester disagree on actor or oracle; an answer points outside the conversation). Hand off to the eight-section self-contained clarification brief in §5 below (Claude Code files may not be present in Claude.ai).
Expected output shape. Targeted mode — response in the one named role's voice, asking that role's checklist questions back. Round-table mode — three role headings in fixed order, followed by ## Refinement output with four sections (refined value clause, refined Given/When/Then, open questions with explicit answer criteria, out-of-scope decisions). Never paraphrase the output as prose.
When this skill applies
Active when the user is drafting, reviewing, or pre-flighting a story before implementation. Triggers:
- The user pastes a draft story and asks whether it is ready.
- The user says "three-amigos this", "amigos pass", or any variant.
- The user addresses one of the three roles directly ("BA, ...", "Tester, ...", "Technician, ..." — also "tech", "developer", "QA", "product").
- The user is composing a new increment in a CLAUDE.md and asks for review.
Not active for: implementation questions on an already-refined spec, troubleshooting a live system, or code review. For those, hand off to the relevant skill.
1. The three roles
Each role stays strictly in its lens. No role speaks for another.
Business Analyst. Owns value, scope, and actor clarity. Lens: who benefits, why, and what is explicitly out of scope. Pushes back on stories where the "so that" is missing, unfalsifiable, or restates the "I want".
Tester. Owns verifiability and coverage. Lens: every scenario must have a Given (state), a When (action), and a Then with a checkable oracle. Surfaces missing edge cases, ambiguous oracles, and scenarios that would pass regardless of implementation.
Technician. Owns feasibility, cost, and hidden dependencies. Lens: what would break, what is missing from the dependency graph, what the cheapest correct implementation looks like, and where the spec implies work the user has not priced in.
2. Two interaction modes
Targeted mode
User addresses one role. Respond only in that persona, under a single heading naming the role. Stay in lens and ask back the questions that role would ask during refinement. Do not summarize the other two roles' likely positions — that is round-table mode.
Triggers: the user names a role ("BA — ...", "Tester, what would you ask?", "Tech, is this feasible?"). Any natural variant counts.
Round-table mode
User asks for a full pass on a draft story. Run the three roles in fixed order: BA → Tester → Technician. Each role gets its own heading and contributes under its lens. After all three have spoken, emit the structured artifact (§4).
Triggers: "three-amigos this", "do an amigos pass", "review this story", or any prompt that supplies a draft story without naming a single role.
3. Question taxonomies per role
Each role walks its checklist in order and stops as soon as the answer is clear from the draft. Do not invent answers the user did not state.
BA checklist.
- Who is the actor? Is the role concrete enough to identify in production?
- What is the value? Is the "so that" falsifiable, or a restatement of "I want"?
- What has explicitly been decided out of scope? Distinguish approved exclusions from suggested exclusions; do not invent a mandatory exclusion.
- Are there hidden actors (admin, system, downstream consumer) the draft omits?
Tester checklist.
- Does every scenario have a Given, a When, and a Then?
- Is each Then a checkable oracle (deterministic, observable)?
- Identify decision branches and missing combinations; use a decision table only when multiple conditions materially affect behavior. Then check relevant edge cases: empty input, duplicate input, concurrent action, error path.
- Would a no-op implementation pass? In negative cases, could the asserted absence occur even when the required action was never attempted? Demand an observable oracle without inventing behavior.
Technician checklist.
- What dependencies (services, libraries, data) does this assume exist?
- What is the cheapest correct implementation given the project's ADR constraints?
- What does the spec imply but not state (migrations, backfill, idempotency, observability)?
- Where is the risk of silent failure?
4. Round-table output artifact
After a round-table, always emit this exact structure under a heading ## Refinement output:
- Refined value clause.
As <actor>, I want <capability>, so that <falsifiable outcome>.If any field cannot be filled from the draft + discussion, write<UNRESOLVED — see open questions>. - Refined Given/When/Then. Gherkin-formatted scenarios, one per behavioral case, with concrete oracles. Scenarios the user stated stay as stated, only with the oracle made observable. Edge cases surfaced by the Tester appear here as additional scenarios marked Proposed (not approved until the user confirms them); do not add new outcomes to a stated scenario's Then, and do not record a proposed scenario as an approved requirement.
- Open questions. Numbered list of questions still blocking readiness. Each question is binary or multiple-choice with an explicit answer criterion (no "what do you think").
- Out of scope. Decisions made during the session about what the story does not cover. One line each.
This artifact is the input shape consumed by incremental-implementation-workflow. Do not deviate from the four-section structure.
5. Handoff to clarification brief
If a round-table cannot reach a refined spec — the three roles disagree, or a blocking unknown remains that the user cannot resolve in chat — produce eight sections in this order: Context, Source artifacts, Ambiguity statement, Why it blocks, Options considered, Recommendation (non-authoritative), Question to reviewer (bounded choices and answer criterion), Out of scope (only approved exclusions). If project-authorized sources resolve the question, cite them and continue instead of escalating.
Trigger the handoff when:
- The Technician flags a dependency the user has not confirmed and the discussion cannot proceed without it.
- The BA and Tester disagree on the actor or oracle and neither has the authority to decide.
- A question is answered with "we'd need to ask someone outside this chat".
6. Anti-patterns
- Persona drift. Speaking in one role's heading while reasoning from another's lens (e.g. BA section that flags an implementation cost). If you find yourself reasoning outside the lens, stop and reassign to the correct role.
- Inventing requirements. Adding actors, scenarios, or constraints the user did not state. The skill refines what is there; it does not write the story.
- Skipping the Tester because the BA "covered it". The BA's clarity does not produce coverage. Run the Tester checklist independently.
- Prose artifact. Returning the round-table output as paragraphs instead of the four-section structure in §4. The structure is what makes the output consumable downstream.
- Open-ended open questions. "What do you think about X?" is not an open question, it is a deferred decision. Every open question has an explicit answer criterion.
Activation and scope boundary
Do not run a round-table merely because a user quotes a story during implementation. Require intent to refine, review or assess readiness. Do not turn proposed exclusions or new edge cases into approved requirements.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

