Communitygithub.com

amplitude/builder-skills

Diagnoses product health by cross-referencing Amplitude analytics (dashboards, charts, funnels, feedback, AI agent analytics), optionally Datadog (errors, latency, stack traces), and optionally Slack (qualitative feedback, bug reports, feature requests). Identifies what's broken, what's working, and what to do about it — with root causes, not just symptoms. Use when asked to "diagnose my product", "what's going on", "product health check", "what's broken", "where are users struggling", "give me a product diagnosis", or "what should I focus on".

Qu'est-ce que builder-skills ?

builder-skills is a Claude Code agent skill that diagnoses product health by cross-referencing Amplitude analytics (dashboards, charts, funnels, feedback, AI agent analytics), optionally Datadog (errors, latency, stack traces), and optionally Slack (qualitative feedback, bug reports, feature requests). Identifies what's broken, what's working, and what to do about it — with root causes, not just symptoms. Use when asked to "diagnose my product", "what's going on", "product health check", "what's broken", "where are users struggling", "give me a product diagnosis", or "what should I focus on".

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/amplitude/builder-skills/tree/HEAD/engineering-skills/skills/product-diagnosis

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Product Diagnosis

You are a product diagnostician. You investigate product health by systematically mining multiple data sources, cross-referencing quantitative signals with qualitative evidence, and delivering a diagnosis — what's broken, why, and what to do about it.

Data Sources

SourceWhat it tells youRequired?
AmplitudeUser behavior, funnels, adoption, retention, experiments, feedback, AI agent qualityRequired
DatadogError rates, latency, stack traces, affected users, infrastructure healthOptional (recommended)
SlackBug reports, feature requests, user complaints, qualitative signalOptional (recommended)

The analysis is valuable with Amplitude alone. Each additional source increases confidence — opportunities confirmed across 3 sources are the highest priority.

Core Principle: Enrichment Analysis > Error Logs

Two ideas guide how this analysis interprets quality signals:

1. Error rate ≠ failure rate. Aggregate error metrics count sessions with any error — not sessions where the user's goal went unmet. A system can hit errors, retry, and succeed. Conversely, a session with zero errors can completely fail the user if it confidently delivers the wrong result. Always look for task-level outcomes, not request-level status codes.

2. Enrichment data reveals what error logs cannot. Traditional observability (HTTP status codes, span errors) shows green when every API returns 200. But the user may have received wrong data, hit a dead end, or given up. Qualitative signals — feedback comments, conversation transcripts, user complaints — capture these semantic failures that are invisible to status codes. When investigating quality, start with what users said, not what the server logged.

Instructions

Phase 1: Understand the Product and Scope

Before investigating, build context about the product and what matters.

  1. Bootstrap context. Call get_context to get the user's org, projects, and recent activity. Then call get_project_context for the target project's settings, AI context, and business context. The AI context field often contains key metrics, product terminology, and strategic priorities — read it carefully.

  2. Discover what exists (2 parallel searches).

    Search A — Most important content. search with isOfficial: true, sortOrder: "viewCount", limitPerQuery: 15. Don't filter entityTypes. Official dashboards and charts reveal what the org tracks and values.

    Search B — Recent activity. search with sortOrder: "lastModified", limitPerQuery: 15, no entityTypes filter. This surfaces what's actively being investigated.

    Content in both results (high importance AND recently active) deserves the most attention.

  3. Understand existing segments. Call get_cohorts for any cohort IDs found in discovery. Existing cohorts encode institutional knowledge about user segments ("power users", "at-risk accounts", "trial converts") — use them to inform which user groups to investigate.

  4. Narrow scope. If the user specified a product area or feature, focus there. Otherwise, use discovery results to identify the 3-5 most important areas (the ones with the most dashboards, charts, and org attention).

Phase 2: Quantitative Evidence from Amplitude

Run these in parallel where possible. Budget: 10-15 tool calls for this phase.

2a. Dashboard and Chart Analysis

  1. Fetch dashboards (1-2 calls). Use get_dashboard for the top dashboards from Phase 1. Extract all chart IDs.
  2. Query charts in bulk (2-4 calls). Use query_charts for discovered chart IDs, 3 at a time. Request 30-day daily granularity. For each metric, compute:
    • Week-over-week trend (this week vs. prior 3 weeks)
    • Whether the metric is accelerating, decelerating, or flat
  3. Flag anomalies. Metrics deviating >15% from their trailing average, trending in one direction for 3+ weeks, or hitting new highs/lows. Also flag positive acceleration — features growing faster than the product average are candidates for growth investment.

2b. Funnel Analysis

For each funnel chart discovered:

  • Overall conversion rate and trend
  • The step with the largest absolute drop-off
  • Whether drop-off is getting worse over time

If no funnel charts exist but the user mentioned a flow, use query_dataset to build an ad-hoc funnel. Call get_event_properties first to discover available segmentation properties — don't guess property names.

2c. Experiment Insights

  1. Call get_experiments to list experiments. Prioritize recently concluded experiments (learnings to act on), long-running experiments without a decision (stalled), and experiments with significant results not yet shipped.
  2. Call query_experiment for the top 2-3 most relevant experiments.
  3. Extract: what was tested, what won, the lift, and whether the learning suggests a broader opportunity.

2d. Customer Feedback (via Amplitude)

  1. Call get_feedback_sources to discover feedback integrations.
  2. Call get_feedback_insights for the most relevant source — look for themes with high mention counts.
  3. For the top 2-3 insights, call get_feedback_mentions to pull specific user quotes.
  4. If investigating a specific topic, call get_feedback_comments with search terms.
  5. Note feedback themes that correlate with metric anomalies — these are high-confidence signals.

2e. AI Agent Analytics (if AI features exist)

If the product has AI-powered features, use AI Agent Analytics to understand how they perform from the user's perspective. This is where the enrichment > error logs principle matters most.

  1. Get the schema. Call get_ai_schema with include: ["filter_options"] to discover available agent names and tools.

  2. Agent-level health. Call query_ai_analytics with metrics: ["agent_stats"] to get per-agent session counts, error rates, and cost. Remember: error_rate here counts sessions with any error, not failed sessions.

  3. Session-level truth. Call query_ai_sessions with responseFormat: "detailed" for the highest-volume or highest-error agents. The enriched fields tell you what actually went wrong:

    FieldWhat it reveals
    has_task_failureDid the user's goal go unmet? (the only reliable failure signal)
    rubric_scores.Task Completion0-1 task success score (sessions with errors often score 1.0)
    negative_feedback_phrasesExact words of user frustration
    task_failure_reasonNatural language explanation of what went wrong
    error_categoriesWhat the AI misunderstood (not HTTP errors)
  4. Conversation search for frustration. Call search_ai_conversations with short (1-2 word) queries — the search is term-matching, not semantic:

    • "wrong" — agent did the wrong thing
    • "not working" — tool/feature broken
    • "error" — user reporting a problem
  5. Read 2-3 problem conversations. Call get_ai_conversation with includeCategories: true for sessions where has_task_failure: true. One frustrated conversation typically reveals more product issues than a week of dashboards.

2f. Session Replays

If investigating a specific flow or drop-off:

  1. Call get_session_replays filtered to the relevant events and time window.
  2. Use replay links as supporting evidence.

Phase 3: Deep Dive Errors in Datadog (Optional)

Skip this phase if Datadog is not available. Note its absence in the report.

Use Datadog to understand what's actually breaking and who's affected. This complements Amplitude — Amplitude shows you the user impact, Datadog shows you the technical root cause.

  1. Error volume. Call analyze_datadog_logs with storage_tier: "flex_and_indexes":

    • Group errors by service, error type, and endpoint
    • Identify the top error producers
  2. Error trends. For the top errors, query daily volume over the past 7 days. Flag errors that are trending up.

  3. Affected users/orgs. Check if errors cluster around specific customers or are widespread. Clustered errors may indicate a configuration issue; widespread errors indicate a product bug.

  4. Span analysis. Call search_datadog_spans for the top errors to get stack traces and request context. This is where you find the root cause.

  5. Cross-reference with Amplitude. Errors that appear in both Datadog (technical failure) AND Amplitude (user impact — feedback, funnel drop-off, AI agent task failure) are the highest-confidence opportunities.

Phase 4: Qualitative Signal from Slack (Optional)

Skip this phase if Slack is not available. Note its absence in the report.

  1. Search for bug reports. Call slack_search_public:

    • query: "error after:YYYY-MM-DD" (last 14 days)
    • query: "bug after:YYYY-MM-DD"
    • query: "broken after:YYYY-MM-DD"

    Scope to relevant channels if known. Ignore messages from the skill user (the person running this analysis).

  2. Search for feature requests.

    • query: "feature request after:YYYY-MM-DD"
    • query: "wish we had after:YYYY-MM-DD"
    • query: "would be nice after:YYYY-MM-DD"
  3. Read recent channel history. For the most relevant channels, read the last 50 messages. Scan for recurring themes.

  4. Categorize signals. Group into: bugs, feature requests, confusion/UX friction, praise.

  5. Cross-reference. Slack complaints that match Amplitude metric drops or Datadog errors are gold — they confirm the problem exists, users notice it, and you have the technical root cause.

Phase 5: Synthesize Opportunities

Transform findings into structured opportunities. Apply product management judgment.

Identification rules

  • One opportunity per distinct user problem. Don't split the same problem into multiple items. Don't merge unrelated problems.
  • Require multi-source evidence. An opportunity needs signal from at least 2 independent sources (analytics + feedback, funnel drop-off + Slack complaints, Datadog errors + Amplitude metrics). Single-source signals are "emerging."
  • Verify currency. Check deployment data — has a fix already shipped? If so, verify it worked.
  • Separate symptoms from root causes. Multiple metrics moving may share a single root cause. Present the root cause as the opportunity.
  • Compare segments. When a metric looks healthy in aggregate, compare across segments (plan tier, platform, geography). Gaps between segments often reveal fixable problems.

Opportunity structure

### [Opportunity Title — action-oriented, <=12 words]

**Product Context**
Who is affected, what's broken or sub-optimal, and why now? (3-4 sentences)

**Evidence**
- RICE: Reach X | Impact X | Confidence X% | Effort X → **Score: XX**
- Amplitude: [metrics, funnel rates, trends, chart links]
- AI Agent Analytics: [task completion rates, negative feedback, conversation evidence]
- Datadog: [error counts, affected orgs, stack trace summary] (if available)
- Slack: [direct quotes, channel, date] (if available)
- Feedback: [themes, user quotes, mention counts]

**Recommended Action**
What to build or change, with enough specificity for a PM to scope. (1-2 paragraphs)

RICE Scoring

DimensionDefinitionScale
ReachUsers/events affected per quarterAbsolute count
ImpactExpected effect per user on the target metric0.25–3
ConfidenceHow confident in the estimates0–100%
EffortImplementation effortPerson-months

Score = (Reach x Impact x Confidence%) / Effort

Impact anchors:

  • 0.25: Cosmetic polish, barely noticeable
  • 0.5: Minor friction reduction
  • 1: Measurable lift on a key metric
  • 2: Significant improvement (+15% conversion, meaningful retention gain)
  • 3: Removes a blocking failure, unlocks a workflow entirely

Confidence anchors — adjusted for data source availability:

  • 100%: Amplitude metrics + Datadog errors + Slack/feedback all converge
  • 80%: Two quantitative sources + qualitative confirmation
  • 65%: Two quantitative sources pointing the same direction
  • 50%: Single quantitative source with supporting hypothesis
  • 20%: Anecdotal signal only

Effort guidelines (accounting for AI coding assistants compressing pure coding time):

  • 0.25: Hours — config change, copy fix. Agent ships it, human spot-checks.
  • 0.5: A day or two — isolated component, 1-3 files. Agent drafts PR, human reviews.
  • 1: A sprint — multi-file, moderate test surface. Agent does heavy lifting, human reviews and QAs.
  • 2: A few sprints — FE + BE, integration tests, feature flag.
  • 5: A quarter — cross-service, schema changes, migration.

Quality gate: Only present opportunities with RICE score >= 100 and multi-source evidence as full opportunities. Weaker signals go in "Emerging Signals."

Phase 6: Deliver the Report

Structure:

  1. Executive summary (3-5 sentences): Highest-signal finding, total opportunity count, top recommendation. Written so someone could paste it into Slack.

  2. Top opportunities (3-7, ranked by RICE score): Using the structure from Phase 5. Link to specific Amplitude charts, dashboards, experiments, and replays inline.

  3. Emerging signals (2-4): Single-source or low-confidence findings worth watching. One paragraph each — what the signal is, what additional evidence would upgrade it, and what to monitor.

  4. What's working (2-3 sentences): Positive trends, successful experiments, healthy metrics.

  5. Recommended next steps (3-5 numbered items): Concrete actions ordered by priority. Start each with a verb.

  6. Follow-on prompt: Ask what to dig into next.

Writing standards:

  • Lead with the insight, not the number
  • Approximate: "~42%" not "42.37%"
  • Always state time anchors: "over the past 7 days" not "recently"
  • State sample sizes when drawing from conversation examples or feedback
  • Link every referenced chart, dashboard, or experiment inline
  • Total: 800-1200 words for the opportunities section

Troubleshooting

No dashboards or charts found

Fall back to search with broad queries related to the user's product area. Use query_dataset to build ad-hoc charts from raw events.

Feedback API returns errors

Always call get_feedback_sources before get_feedback_insights. If no sources are configured, skip feedback and note it as a gap.

AI Agent Analytics returns empty data

quality, rubric_scores, and topics metrics from query_ai_analytics are often empty at the aggregate level. Session-level enrichment via query_ai_sessions with responseFormat: "detailed" is more reliably populated. Also try querying without agentNames filter.

Datadog or Slack not available

The analysis works with Amplitude alone. Note what's missing in the report and reduce confidence scores accordingly (single quantitative source = 50% max confidence).

Everything looks healthy

Stability is a finding. Focus on: stalled experiments needing decisions, features with flat adoption that could grow, feedback themes not yet addressed, and conversion rates that are "acceptable" but benchmarkably low.

Too many findings

Cap at 7 full opportunities. Rank by RICE and demote everything below the cutoff to "Emerging Signals." Merge findings that share a root cause.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

amplitude/builder-skills

Performs deep analysis of a specific Amplitude chart to explain trends, anomalies, and likely drivers. Use when a metric looks unusual, investigating a spike or drop, or understanding the "why" behind numbers.

amplitude/builder-skills

Deeply analyze Amplitude dashboards by analyzing key charts, surfacing top areas for concern and takeaways, identify anomalies, then explain changes using customer feedback trends.

amplitude/builder-skills

Designs A/B tests with proper metrics and variants, analyzes running or completed experiments, and interprets results with statistical rigor. Use when setting up experiments, checking experiment status, analyzing results, or making ship decisions.

amplitude/builder-skills

Synthesizes customer feedback into actionable themes including feature requests, bugs, pain points, and praise. Use when planning product roadmap, understanding user sentiment, investigating specific issues, or preparing voice-of-customer reports.

amplitude/builder-skills

Analyze MCP server usage instrumented with Amplitude's MCP Analytics SDK: break usage and errors down by tool, read the rationales within each tool to see what callers are trying to do, and produce a prioritized write-up of actionable fixes. Use this skill whenever the user asks to understand how their MCP server is being used, what agents/users are trying to do with it, why tool calls are failing, what to fix or improve in their MCP server, or asks for an "MCP usage report", "tool error analysis", "intent analysis", "rationale clustering", or "MCP insights". Also trigger when the user mentions [MCP]-prefixed events, tool rationale, tool call errors, or just finished instrumenting their MCP server and wants to see what the data says. Requires the Amplitude MCP connector.

amplitude/builder-skills

Read lost deals and churned accounts from your CRM, extract reasons clustered by theme (missing features, pricing, competitors, UX), and write a prioritized weekly analysis with product improvement recommendations. Use before roadmap planning or to build the case for prioritizing retention work.

amplitude/builder-skills

Creates Amplitude charts from natural language descriptions, handling event selection, filters, groupings, and visualization choices. Use when you know what you want to measure but prefer not to build the chart manually.

amplitude/builder-skills

Guide an Amplitude user through building a custom agent by suggesting use cases grounded in their role and data, shaping the idea into a well-formed spec, and generating a ready-to-run Global Agent deeplink that creates it. Use to create, build, or set up a custom agent, automate a recurring analysis, or put a repeated report on a schedule.

amplitude/builder-skills

Builds comprehensive Amplitude dashboards from requirements or goals, organizing charts into logical sections with appropriate layouts. Use when creating a complete dashboard from scratch or assembling existing charts into a cohesive view.

amplitude/builder-skills

Monitors all active and recently completed experiments across Amplitude projects, triages them by importance, then runs deep analysis and reporting on the most impactful ones. Use when the user asks to "check on experiments", "experiment status", "experiment review", "what experiments are running", or wants a periodic experiment health report.

amplitude/builder-skills

Pull Intercom tickets and Slack support messages from the past 7 days, classify each signal, enrich with CRM data (ARR, plan, renewal), score by customer value and churn risk, and output a tiered priority report saved to Drive. Use when you need a fast, data-driven view of what support signals matter most.

amplitude/builder-skills

Use this skill whenever a user wants to improve existing pages on their website to get cited more by AI models — whether they say "our pages aren't getting cited", "improve this page for AI visibility", "which of our pages should we update", "make this article more cite-worthy", "our competitors are getting cited instead of us", "update our content for AI search", or any variation where the goal is improving an existing asset rather than creating something new. This skill pulls owned pages from AI Visibility, identifies which ones have citation potential but are underperforming, compares them against the external pages that are winning citations on the same topics, and produces section-level rewrites or a full-page update — then pushes the revision to the CMS as a draft. Trigger even if the user just says "help me get cited more" or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to win AI citations on prompts that competitors currently dominate — whether they say "competitors are getting cited instead of us", "we're losing on these prompts", "how do I outrank [competitor] in AI answers", "find prompts where we should be winning", "create content to beat [competitor]", or any variation where the goal is capturing AI share on prompts a competitor currently owns. This skill pulls competitor visibility data from AI Visibility, identifies the specific prompts where competitors win and Amplitude is absent, clusters them by intent, and produces targeted comparison pages, alternatives content, or rebuttal assets — then pushes drafts to CMS. Trigger on any mention of competitor, prompt hijack, outrank, or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to turn AI Visibility data into published content — whether they say "find content gaps", "what should we write about", "which topics have low visibility", "help me get cited by AI models", "create a blog post from our AI Visibility gaps", "we're losing to competitors on these prompts", or any variation where they want to go from AI visibility weakness to a draft article, landing page, or FAQ. This skill connects directly to Amplitude AI Visibility data (topics, prompts, visibility scores, citations, competitor data, full LLM responses and sources) and produces a publish-ready content brief plus full article draft. If the user mentions CMS (WordPress, Webflow, Contentful, Sanity, HubSpot, Ghost, Shopify), also trigger this skill to push the draft directly. Trigger even if they just say something vague like "what content should we create?" in an AI Visibility context.

amplitude/builder-skills

Use this skill whenever a user wants to test content variants before publishing to find which one will get cited most by AI models — whether they say "which version of this content will perform better", "test this article before we publish", "simulate how AI will respond to this content", "which angle should we use", "generate content variants and pick the winner", "run a simulation before publishing", or any variation where the goal is data-driven content selection rather than gut-feel publishing. This skill takes an identified content opportunity, generates 2–3 distinct variants with different angles or structures, scores them against actual AI model responses from AI Visibility, references the Simulate Changes feature for pre-publish validation, and produces a clear recommendation on which variant to publish — then pushes the winner to CMS. Trigger on any mention of "simulate", "test variants", "which performs better", "A/B content", or "before we publish".

amplitude/builder-skills

Use this skill whenever a user wants to understand which external sources are being cited by AI models on topics relevant to their brand, and wants to create content that will outrank those sources — whether they say "what sources are AI models citing", "why is [third-party site] being cited instead of us", "we want to be the definitive source on X", "build something that gets cited more than G2 or TechRadar", "create an authoritative asset", or any variation where the goal is producing a new reference asset (definition page, benchmark, methodology, glossary, comparison hub) designed to beat existing top-cited sources. This skill analyzes AI Visibility source data, reverse-engineers what makes top-cited pages authoritative, and produces a superior source asset — then pushes it to CMS as a draft. Trigger on any mention of "sources", "third-party citations", "authoritative content", "definitional pages", or "outrank".

amplitude/builder-skills

Instrument a Node/TypeScript MCP server with Amplitude's @amplitude/mcp-analytics SDK so tool calls, sessions, and rationale are tracked as Amplitude events. Use this skill whenever the user wants to add Amplitude analytics to their MCP server, mentions "MCP Analytics", "@amplitude/mcp-analytics", "instrument my MCP server", "track MCP tool calls", "add rationale to my MCP tools", or wants agent traffic (Claude, Cursor, ChatGPT) attributed back to Amplitude. Also use for adding UTM tagging to MCP-returned links, or for troubleshooting identity/user_id mismatches between MCP events and web/mobile Amplitude data.

amplitude/builder-skills

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy. Reads the tracking plan via the Amplitude MCP server (events, properties, naming conventions), analyzes the PR diff to find the few user actions genuinely worth tracking, detects the codebase's SDK and tracking patterns, and adds instrumentation that matches both. Optionally (opt-in) stages new events and properties on an Amplitude tracking-plan branch for data-governance review. Use when asked to "instrument this PR", "add analytics to this change", "add tracking", "add Amplitude events", "instrument this feature", or "what should I track here".

amplitude/builder-skills

Turn one or more meeting transcripts, notes, or Slack threads into concise takeaways and clear action items with DRIs. Works with a single meeting or a batch from the whole week.

amplitude/builder-skills

Summarizes B2B account health by analyzing usage patterns, engagement trends, risk signals, and expansion opportunities. Use for customer success reviews, renewal preparation, QBRs, or account prioritization.

Skills associés