/pmstack:pmstack-startfrom pmstack: Eval Studio for product managers
Routes users to the right pmstack skill for evaluating AI products. Shows the six-step method (read traces, write notes, group failure modes, count by stage, build checks, test) and loads the matching skill based on what exists in the folder.
Ships in pmstack: Eval Studio for product managers. 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.
Find where the user is in the method, name the next skill and why in one sentence, then load that skill and follow its phases in order. This skill holds routing only; the workflows live in the skills it loads.
Show this to a user who is new to pmstack, with their user word (patient, employee, shopper) in place of "customer" when you know it.
Find how your AI product fails.
Iterate. Raw pattern recognition meets Product Sense.
Read real traces, name the failure modes, and turn the ones that matter into checks you can trust.
| Step | What you do | Eval Studio tab | Skill that helps |
|---|---|---|---|
| 1. Read traces | See each trace the way your customer saw it. | Review traces | pmstack-find-failures |
| 2. Write notes | Note the first thing that went wrong, in plain words. | Review traces | pmstack-find-failures |
| 3. Group into failure modes | Sort your notes into a short list of named problems, and name what went well as success modes. | Failure modes | pmstack-find-failures |
| 4. Count by stage | See where each failure mode starts and how often, then decide: fix it now, build a check, or keep watching. | Funnel | pmstack-find-failures |
| 5. Build checks | Turn each failure mode worth tracking into a code check or an AI judge. | Checks | pmstack-build-judge, pmstack-check-sources, and for agents that use tools pmstack-tool-policy, pmstack-tool-relevance, pmstack-tool-grounding |
| 6. Test, then keep running | Make sure each check agrees with your labels, then run it on every change. | Checks, Report | pmstack-test-judge, pmstack-regression-checks |
A trace is one full conversation or task, with every step the AI took and what the customer saw. A failure mode is a named, recurring way the product lets the customer down.
Run these read-only checks from the working directory:
find . -maxdepth 3 \( -name "*.jsonl" -o -name "*.csv" -o -path "*pmstack/project.json" \) -not -path "*/node_modules/*" | head -20
evals, *judge*, *eval*, or promptfoo*, and scripts that score model outputs.grep -c -E '"(tool_calls|tool_use|function_call)"|"type": *"tool"' path/to/traces.jsonl
pmstack/project.json, read its state:
node -e '
const p = JSON.parse(require("fs").readFileSync(process.argv[1], "utf8"));
const reviewed = Object.values(p.reviews ?? {}).filter((r) => r.verdict === "pass" || r.verdict === "fail").length;
const modes = (p.modes ?? []).filter((m) => m.kind === "failure").map((m) => `${m.name}: ${m.decision ?? "no decision yet"}`);
const checks = (p.checks ?? []).map((c) => c.type === "judge"
? `AI judge ${c.id} (${c.modeId}): ${Object.keys(c.results ?? {}).length} results, final test ${c.test ? "done" : "not run"}`
: `code check ${c.id} (${c.modeId}): runs on every change ${c.ci ? "yes" : "no"}`);
console.log(JSON.stringify({ product: p.experience?.product ?? p.name, reviewed, modes, checks }, null, 2));
' "path/to/pmstack/project.json"
Match what you found:
| What you found | Next skill |
|---|---|
| Trace files, no pmstack project | pmstack-find-failures |
| A project with fewer than 100 reviewed traces, no failure modes, or new ones still appearing | pmstack-find-failures (it picks up where the reviewer left off) |
Failure modes marked "Build a check" (decision: "check") with no check | pmstack-build-judge for judgment calls; a code check in the Checks tab for visible patterns |
| An AI judge whose final test has not run | pmstack-test-judge |
| Checks that agree with the labels, and fixes shipping | pmstack-regression-checks |
| Eval code or judge prompts, no pmstack project | pmstack-evals-checkup |
| Nothing | Phase 2 |
When one row fits, state what you found in one or two lines and go to Phase 3; the user can redirect you. When the traces hold tool calls, ask the tools question in Phase 2 first, unless the user already said what they want to check.
Where are you with your AI product's quality? A. I have traces (logs or exports of real conversations or tasks) to review B. I have no traces yet C. I already have evals or checks and want to know whether to trust them D. I have a failure mode and want an AI judge for it E. I have a judge and want to test it against my own labels F. I want checks that run on every change G. Show me an example first
Put the option the evidence supports first and mark it "(recommended)" with the reason; with no evidence, recommend A, since reading traces is the first step. On G, share the dental booking sample, https://ryanalberts.github.io/pmstack/studio/#/open/clinic-booking, and ask again.
Ask a second question only for these answers:
A. Generate test conversations now (recommended before launch) B. Add trace logging to the app, then collect real sessions (recommended when the product has users)
An agent that looks things up or changes things through tools gets three Tool call checks:
Does your agent use tools, such as looking up an account or issuing a credit? A. Yes, and my company has rules for what it may do with them (recommended when the agent changes money, accounts, or bookings: these rules can be written down before reading traces) B. Yes, and I want to know whether it picks the right tool for each request C. Yes, and I want to know whether its replies match what the tools returned D. Yes, and I'm not sure what to check yet E. No
Route A to pmstack-tool-policy. Route B and C through pmstack-find-failures first, since relevance and grounding problems are confirmed in the traces, then to pmstack-tool-relevance or pmstack-tool-grounding. Route D and E to pmstack-find-failures.
| Situation | Load |
|---|---|
| Has traces to review | pmstack-find-failures |
| No traces; generate test conversations | pmstack-make-traces |
| No traces; add logging to the app | pmstack-find-failures (its Phase 1 gives the logging brief) |
| An answer bot that searches documents | pmstack-find-failures first, then pmstack-check-sources |
| Output that looks like none of chat, calls, email, answers with sources, documents, code reviews, form fields, or ranked lists | pmstack-custom-view, then pmstack-find-failures |
| A failure mode ready for an AI judge | pmstack-build-judge |
| A judge to validate | pmstack-test-judge |
| Existing evals to review | pmstack-evals-checkup |
| Checks that run on every change | pmstack-regression-checks |
| Company rules for an agent's tool calls | pmstack-tool-policy |
| An agent that picks the wrong tool or passes wrong details | pmstack-find-failures first, then pmstack-tool-relevance |
| An agent whose replies don't match what its tools returned | pmstack-find-failures first, then pmstack-tool-grounding |
pmstack:pmstack-find-failures; the slash command is /pmstack:find-failures). An agent without skill loading reads <skill-dir>/../pmstack-find-failures/SKILL.md, where <skill-dir> is this skill's base directory.Every pmstack skill asks this way:
pmstack-tool-policy writes down first.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/pmstack-build-judgeBuilds an AI judge (a prompt that asks a model for Pass or Fail) for one failure mode found while reviewing traces, and saves it as a check in the pmstack project. Checks the prerequisites (at least 20 Problem and 20 Good labels, no simple rule that could decide it, the product's instructions already ask for the behavior), turns the failure mode's definition into Pass and Fail rules, picks 2 to 4 examples from the examples split only, puts the critique before the result, limits what the judge sees, pins an exact model version, and runs it on the tuning set. Use when a failure mode is marked Build a check and needs judgment a simple rule cannot make, or when someone asks to write, draft, or improve a judge prompt./pmstack-check-sourcesChecks an answer bot that searches documents by testing the search and the answer separately. Reviews full traces first, has the reviewer mark the sources each answer needed, measures the search with Recall@k and mean reciprocal rank, fixes search before the answer step, then builds one judge for answers backed by their sources and another for answers that address the question. Use when a product answers questions from a document collection, knowledge base, help center, or search results, when its answers cite sources, or when someone mentions RAG./pmstack-custom-viewMakes Eval Studio draw each trace the way the user saw it when no built-in view fits. Chooses between a panel layout in the product setup and a custom view file in pmstack/renderers/, writes it, and confirms it renders in the studio. Use when traces look like raw fields in Review traces, or when the product's output is not a chat, text message, phone call, email, document, answer with sources, agent steps, code review, form fields, or ranked list./pmstack-evals-checkupGives an existing AI eval setup a checkup and returns findings ordered by product impact, each with evidence and a fix. Looks at six areas: where the failure modes came from, how checks are designed, whether judges were measured against human labels, who reviews and what they see, how many labels exist, and whether checks stay current. Use when inheriting evals, when a team reports AI quality scores nobody has verified, or before a release decision rests on eval numbers./pmstack-find-failuresFinds how an AI product fails, with a person reviewing real traces in Eval Studio. Finds or creates a trace file, sets up a pmstack project (how traces look, the product's stages, filters), starts the local studio, watches reviews as they come in, and suggests likely problems, groupings, and the next traces to read for the reviewer to accept or dismiss. Reports coverage and when new failure modes stop appearing, and helps rank failure modes by stage and severity. Use when someone has traces, logs, or conversation exports from an AI feature and wants to know how it fails, asks for an error analysis, wants help reviewing traces, or needs to start saving traces from an app./pmstack-make-tracesMakes realistic test traces for an AI product that has few or no real ones: writes test requests, runs them through the product, and saves the results as traces ready to review in Eval Studio. Starts from three ways the product is likely to fail, checks 20 combinations with the user, writes one request per combination with a separate model call, drops unrealistic ones, confirms each scenario can happen in the test setup, and tags every trace with its values so Eval Studio can filter by them. Use when a product has not launched, real traces are too few to review, or someone wants to probe a known rare failure before users hit it.npx claudepluginhub ryanalberts/pmstack --plugin pmstackOther plugins' skills for the same job