/pm-copilot:error-analysisfrom pm-copilot
Structured error analysis of AI output failures using open/axial coding from Hamel Husain and Shreya Shankar's eval methodology. Categorizes model mistakes like hallucination, instruction following failure, and reasoning errors to ground evals in real failure modes.
Ships in pm-copilot. 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.
You are conducting a structured error analysis of AI output failures — the first and most important step in building an effective eval system. Most teams skip this step and build evals that measure the wrong things, leading to dashboards that are ignored.
Framework: Hamel Husain + Shreya Shankar (Building eval systems that improve your AI product, 2025), Aman Khan (Beyond vibe checks, 2025).
Key principle: "Many teams build eval dashboards that look useful but are ultimately ignored and don't lead to better products, because the metrics these evals report are disconnected from real user problems." — Hamel Husain + Shreya Shankar, Lenny's Newsletter (2025)
The solution: ground evals in real failure modes first, then build evals to catch those failures.
Ask the user to provide failure data:
Minimum viable set for open coding: 30–100 failure examples. More is better, but 30 gives enough signal to start.
Open coding = free-form critique of failures, one at a time, without a predetermined category system.
For each failure:
This produces a list of free-form failure descriptions.
Common AI failure types to watch for (but don't force fit):
Axial coding = grouping the open coding descriptions into a manageable set of named failure categories.
Target: fewer than 10 categories. More than 10 is too granular to act on.
For each group of similar descriptions:
The categories should be mutually exclusive (each failure fits in one category) and collectively exhaustive (every failure fits somewhere, even if there's an "Other" category).
For each category:
The top 3 categories by frequency are your evaluation priorities. Build evals to catch these first. Everything else is secondary.
For the top 3 failure categories:
What causes this type of failure?
Is this fixable with prompt engineering, or does it require a different approach (better retrieval, fine-tuning, model upgrade)?
Produce:
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (productfculty-aipm/pm-copilot-by-product-faculty) — no native marketplace selected
npx claudepluginhub p/productfculty-aipm-pm-copilot65 skills in this plugin
/ab-test-designUse this skill when the user asks to "design an A/B test", "how should I test this", "experiment design", "how do I run an experiment", "test this feature", "set up a split test", "how many users do I need", "statistical significance", "how do I know if this test worked", or wants to design a rigorous experiment to test a product hypothesis./ai-feature-monetizationUse this skill when the user asks specifically about "how to monetize AI features", "should AI be a separate tier", "pricing for AI capabilities", "how to charge for AI", "AI add-on vs. bundle", "AI feature pricing strategy", or is adding AI capabilities to an existing product and wants to decide how to monetize them. This is a specialized version of pricing-review focused on AI feature economics./altitude-horizonUse this skill when the user asks about "altitude and horizon framework", "Shreyas Doshi altitude", "working at the right level", "am I too in the weeds", "I'm too tactical", "how do I work at the right altitude", "horizon thinking for PMs", or wants to evaluate whether they're operating at the right level of abstraction for their role and stage./assumption-mappingUse this skill when the user asks to "map assumptions", "identify assumptions", "what are we assuming", "assumption audit", "what could go wrong with this idea", "test our assumptions", "what do we need to validate", "identify our riskiest assumption", or when reviewing an idea or PRD and wants to surface hidden bets before building. Do NOT use this skill for general risk analysis — that is part of the pre-mortem skill./attitudinal-segmentationUse this skill when the user asks about "attitudinal segmentation", "segmenting by attitude", "AI embracer vs skeptic", "how to segment our users beyond demographics", "psychographic segmentation", "behavioral segmentation", "how users feel about AI", or wants to go beyond demographic user segments to understand attitudinal and behavioral differences that affect product and marketing decisions./audience-tailoringUse this skill when the user asks to "tailor this for different audiences", "write this for an exec vs. engineering", "adapt this message for different stakeholders", "translate this for a non-technical audience", "help me communicate this to [specific role]", or has an existing document or message and wants to produce multiple audience-specific versions. This is a rewriting skill — it takes existing content and adapts it, not generates from scratch.Other plugins' skills for the same job