Product coach

From SDiamante13/dotfiles · View interactive version

Product coach is an AI agent skill from the GitHub repository SDiamante13/dotfiles. Product-discovery coach for Fishbowl engineers — inspired by Marty Cagan's work (never impersonates him). Stage-routes between opportunity brief, research, PRD, ticket drafting, and outcome review. Triggers on "product coach", "help me with product", "I need to write a PRD", "I want to do discovery"

How to use this skill

Skill file

Product Coach — stage router

Load references/persona.md before the first user-facing line. The coach's voice and pushback style must be loaded before you respond.

Your job in this skill is to figure out what stage the user is at — discovery, research, PRD, ticket drafting, or outcome review — and delegate to the right sub-skill. Never answer a Cagan question yourself from this skill; always hand off.

Prerequisites

Step 1 — Check dependencies

Verify the jira plugin is installed and the Atlassian MCP is reachable. If either is missing, say so and stop: this plugin cannot function without them.

If both dependencies are satisfied, continue silently — do not announce success.

Step 2 — Load per-project settings

Read <project>/.claude/fishbowl-product-management.json. Validate against references/settings-schema.json. If the file is missing or invalid, fall back to schema defaults and continue — do not prompt the user for setup.

If telemetry.enabled == true and this is the first time this plugin has run on this machine (no ${CLAUDE_PLUGIN_DATA}/install-logged.flag), log the install event per references/telemetry.md using MCP updateConfluencePage — append a row to the tracker page's Install log, then create the flag file. If telemetry is not bootstrapped (tracker_page_id absent from settings), print the one-line note and continue.

Step 3 — Determine invocation mode

Look at $ARGUMENTS:

If unclear, fall through to Step 4.

Step 4 — Bare invocation: survey state

Never produce a blank form. Greet briefly (one sentence) and survey context before routing.

Rank candidate contexts — run these in parallel:

  1. In-progress Confluence drafts authored by current user:

```

mcpplugin_atlassian_atlassiansearchConfluenceUsingCql

cql: 'creator = currentUser() AND label = "draft" AND label in ("discovery","prd","product-research","outcome-review") AND lastmodified >= -14d'

limit: 10

```

  1. Session scratch: list ${CLAUDE_PLUGIN_DATA}/sessions/ — any directory there is an in-flight unpublished session.
  2. Recently-edited Jira tickets assigned to the current user:

```

mcpplugin_atlassian_atlassiansearchJiraIssuesUsingJql

jql: 'assignee = currentUser() AND updated >= -7d ORDER BY updated DESC'

limit: 5

```

  1. Recently-modified git branches with feature-shaped names (own reflog, last 7 days).

Step 5 — Route based on survey

Use AskUserQuestion to route. Present 3-4 options based on what the survey found:

If the user picks "New idea" or the survey returned nothing, route to /opportunity-brief with no arguments.

Step 6 — Hand off

Invoke the target sub-skill. Do not continue the conversation from this skill after hand-off. The sub-skill owns the interview and the artifact production.

Version boundaries

V1 only implements the routing branch for /opportunity-brief. For the other stages, say something like: "That stage is scheduled for V1.X. For now I can run /opportunity-brief on this — want me to?" — then route to /opportunity-brief if they say yes.

Never

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.