/productos:develop-agent-evalsfrom productos
Writes docs/EVALS.md — a scenario-based test suite for AI-native products (skills, MCP servers, agents). Defines core jobs with typical/hard/boundary scenarios, rubrics, baseline runs, and multi-model evaluation. Use when building or refining agentic products.
Ships in productos. 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.
An AI product's quality lives in what a model does with it — whether a skill fires and follows its steps, whether an agent picks the right tool with valid arguments, whether an assistant stays in scope across turns. Code tests can't see that. docs/EVALS.md defines "good" as scenarios with checkable rubrics before the build, so build tasks verify against it and every refinement is measured rather than guessed.
When it runs: Develop Step 1b — Full for agent-skill, agent-plugin, mcp-server, and chat-assistant; optional for any product whose core is an AI output (an AI feature inside a web app, an AI-run productized service). After develop-prd-roadmap, before develop-build; the roadmap's eval tasks re-run it during the build, and it re-runs whenever the product, the prompts, or the target models change.
docs/PRD.md — required. Core jobs come from its P0 functional requirements and user stories, plus the shape sections (Skill Structure and Description & Triggering; Tools, Resources & Prompts; Conversation Design and Guardrails). Missing → run develop-prd-roadmap first. Outside ProductOS, ask the member for the core jobs instead.docs/DEFINE.md → ## Product Shape → ### Primary Shape. Read the matching section of references/by-shape.md before writing scenarios — it holds what to test, rubric examples, and common failures per shape.docs/DEFINE.md → ## 2. Customer Persona, for requests in the customer's own words.docs/MAGIC-MOMENT.md — the job whose scenarios matter most.docs/EVALS.md — resume: keep its scenarios and run log; add, never silently rewrite. Never delete a scenario that has caught a failure.List the 2–6 jobs the product must do, from the P0 requirements — each as one line: "Given {situation}, the product {does what}." Confirm the list with the member.
At least three per job:
Each scenario has an ID (J1-S1), the request verbatim, its context (input files saved in docs/evals/<ID>/, or the account state, prior turns, and other tools present, described precisely enough to reproduce), and expected behaviours as a rubric: 3–7 items, each pass/fail from reading the transcript or output — "asks for the date range before querying", "calls search_contacts before update_contact", "writes report.md with the four headings" — never "is high quality". Mark the must-pass items. Requests never name the product's skills, tools, or internal vocabulary; customers don't.
Write every scenario before running anything, using templates/evals.md for the shape of the file. Have the member approve the jobs and skim the scenarios.
The models customers will actually run it on — e.g. the small, mid, and large model from each target host. Record exact model names and the date. A product locked to one model (a Custom GPT) uses that one, and re-runs when the platform changes it.
Run each scenario on the mid model with nothing installed: no skill, plugin, server, or system prompt — the plain model, or however the customer does the job today. Grade it and log it. The baseline shows what the product must add; a scenario the plain model already passes tests nothing — make it harder, unless it's there to guard against a regression. If the product isn't built yet, run the baseline now; product runs happen during the build's Evals & tuning phase.
Run each scenario in a fresh session per model, with the product installed exactly as a customer would install it, the request pasted verbatim, and no hints. For skills and plugins this is the "Claude A writes, Claude B tests" method: this session (A) writes and refines the product; a clean instance (B) that has only the product installed receives the request. In Claude Code, run B as a fresh subagent with the model set; in other tools, the member opens a fresh chat per model and pastes back the transcript.
Observe how it failed, not just whether: didn't trigger, read the wrong reference, skipped a step, picked the wrong tool, sent a bad argument, invented a fact, drifted out of scope. Grade each rubric item pass/fail with a quoted line of evidence.
Refine the product — description, instructions, references, tool descriptions and schemas, system prompt — aimed at the observed failure. One change at a time where possible. Fix the cause, not the scenario: no instructions that only make sense for one test.
Re-run the failed scenarios, then every scenario for that job to catch regressions. Log every run.
The pass bar: every must-pass item passes on the mid and large models in every scenario; small-model failures are fixed or recorded under Known limits; no boundary scenario misfires. The PRD's success criteria and the roadmap's Verify: lines point at this bar.
docs/EVALS.mdWrite (or update) the file in the template's shape: header, model set, how to run, pass bar, scenarios by job with their baselines, the triggering table for skills and plugins, the run log, and known limits.
references/by-shape.md are covered.docs/evals/, or the context is reproducible from its description.Next step: develop-build — the roadmap's eval tasks run these scenarios as the product is built.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub buildgreatproducts/product-os-public --plugin productos45 skills in this plugin
/build-loopBuilds plan tasks or a feature prompt in Claude Code, Codex, or Cursor through a build → test → fix loop per task, then one review pass with the tool's own /review (plus a security pass for sensitive surfaces) once the work is finished. Use when the user says "run the build loop", "build the next task", "continue the plan", or asks to implement work from a plan file or a direct prompt. Works in any repo. Not for running a whole roadmap in one go — use develop-build./continuePicks up the member's ProductOS work where they left off — reads setup, any open challenge, the programme plan, docs/PATH.md, and docs/, tells the member in plain words where they are and what the next step does for them, then hands over to the skill that owns it: setup, a challenge check-in, product-refactor, or a phase orchestrator. Use when the member starts or returns to a session and says "continue", "keep going", "what's next", "where was I", or "pick up where I left off". Not for carrying on a task already under way in this conversation — just keep going with it./define-business-strategyWorks out the economics behind the price — cost per customer and gross margin, unfair advantage, north star metric — and writes the optional Business Strategy section of docs/DEFINE.md. Use when the money questions get real (before paid acquisition, at first revenue, when an investor asks): "what are my margins", "unit economics", "what does each customer cost me", "what's my north star metric". Requires the Offer and Pricing sections. Not for choosing the business model or price — use define-pricing.Other plugins' skills for the same job