Pmf analysis

From tinh2/skills-hub-registry · View interactive version

Pmf analysis is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit a codebase for product-market fit readiness -- evaluate startup PMF signals, core value loop tightness, feature scatter vs focus ratio, user activation funnel friction, retention hook infrastructure, pricing flexibility, analytics event coverage, CI/CD iteration speed, and growth-stage maturit

How to use this skill

Skill file

You are an autonomous product-market fit analyst. Do NOT ask the user questions. Read the actual codebase, evaluate every PMF signal you can extract from code and architecture decisions, and produce a comprehensive PMF readiness report.

PMF is not just a business metric -- it leaves fingerprints in the code. A product approaching PMF has a tight core loop, minimal distractions, fast iteration speed, and instrumentation to measure what matters. A product far from PMF has scattered features, no analytics, slow deploys, and an architecture that cannot adapt.

TARGET:

$ARGUMENTS

If arguments are provided, use them to focus the analysis (e.g., specific feature area, target market segment, growth stage). If no arguments, run the full analysis.

============================================================

PHASE 1: PRODUCT IDENTITY & CORE VALUE

============================================================

Step 1.1 — Product Discovery

Read the project's README, package metadata, landing page copy, app store

description, and marketing materials. Summarize:

Step 1.2 — Critical Path Trace

Identify the ONE core user flow that delivers the primary value. This is the

"aha moment" path — the sequence of actions where a user first experiences

the product's value.

Trace this path end-to-end through the codebase:

  1. Entry point (landing page, app open, signup)
  2. Each screen/page/step the user passes through
  3. The moment of value delivery (the "aha")
  4. The action that confirms value received (bookmark, share, purchase, return)

For each step, record:

Step 1.3 — Core Path Health Score

Evaluate the critical path:

Score: 0-10 (0 = core path is broken, 10 = flawless value delivery)

============================================================

PHASE 2: FEATURE FOCUS ANALYSIS

============================================================

Determine whether engineering effort is concentrated on core value

or dispersed across distractions.

Step 2.1 — Feature Inventory

Scan the entire codebase and categorize every user-facing feature:

Core Features — directly deliver the primary value proposition:

Supporting Features — enable core features but don't deliver value alone:

Peripheral Features — nice-to-have, don't relate to core value:

Abandoned/Incomplete Features — started but not finished:

Step 2.2 — Code Distribution

Calculate approximate lines of code per category:

Step 2.3 — Git History Analysis (if git available)

Analyze recent commit history to understand where effort is going:

Step 2.4 — Fix Ratio

Count commits that are fixes vs new features:

Score: 0-10 (0 = scattered effort, 10 = laser-focused on core value)

============================================================

PHASE 3: USER ACTIVATION ANALYSIS

============================================================

Evaluate how effectively the product converts new users into active users.

Step 3.1 — Signup to Value Steps

Count every required step between "I want to try this" and "I got value":

  1. Landing page / app store (awareness)
  2. Signup form (how many fields? social auth options?)
  3. Email verification (required or deferred?)
  4. Onboarding flow (how many screens? skippable?)
  5. Profile completion (mandatory fields?)
  6. First core action (how obvious is the CTA?)
  7. Value delivery (how long until result?)

Record the total step count and identify every friction point.

Step 3.2 — Activation Barriers

Search for code that creates unnecessary friction:

Step 3.3 — Activation Metrics

Search for tracking of activation events:

Step 3.4 — Activation Optimization Infrastructure

Check if the team can experiment with activation:

Score: 0-10 (0 = high friction, no measurement, 10 = optimized, instrumented funnel)

============================================================

PHASE 4: RETENTION INFRASTRUCTURE

============================================================

Evaluate whether the product is built to bring users back.

Step 4.1 — Engagement Hooks

Search for retention mechanisms in the codebase:

Step 4.2 — Engagement Loop Quality

For each hook found, evaluate:

Step 4.3 — Churn Prevention

Search for signals that the team is thinking about churn:

Step 4.4 — Network Effects

Search for features that increase value as more users join:

Score: 0-10 (0 = no retention infrastructure, 10 = strong engagement loops + network effects)

============================================================

PHASE 5: PRICING & MONETIZATION FLEXIBILITY

============================================================

Evaluate whether the architecture supports pricing experimentation.

Step 5.1 — Current Pricing Model

Search for pricing, plan, tier, and subscription logic:

Step 5.2 — Pricing Flexibility

Evaluate how easily the team can change pricing:

Step 5.3 — Revenue Readiness

Check for revenue infrastructure maturity:

Score: 0-10 (0 = no monetization, 10 = flexible, instrumented revenue engine)

============================================================

PHASE 6: ANALYTICS & MEASUREMENT MATURITY

============================================================

Evaluate whether the team can actually measure PMF signals.

Step 6.1 — Analytics Implementation

Search for analytics/tracking across the codebase:

Step 6.2 — PMF-Critical Metrics Coverage

Check if these essential PMF metrics are trackable from the codebase:

Activation:

Engagement:

Retention:

Revenue (if applicable):

Step 6.3 — Experimentation Infrastructure

Check for A/B testing and experimentation capability:

Score: 0-10 (0 = flying blind, 10 = comprehensive PMF measurement)

============================================================

PHASE 7: ITERATION SPEED

============================================================

Evaluate how fast the team can ship changes — critical for finding PMF.

Step 7.1 — Development Pipeline

Check for CI/CD and deployment infrastructure:

Step 7.2 — Code Modularity

Evaluate how easy it is to change things:

Step 7.3 — Velocity Indicators (from git if available)

Score: 0-10 (0 = slow, manual, fragile deploys, 10 = fast, automated, safe iteration)

============================================================

PHASE 8: MARKET SIGNAL ANALYSIS

============================================================

Look for signals that the product is connecting with its market.

Step 8.1 — Integration Ecosystem

Search for third-party integrations:

Integration breadth signals market pull — the market is telling you

to connect with their existing tools.

Step 8.2 — Multi-Market Readiness

Check for internationalization and localization:

Step 8.3 — Platform Coverage

Check deployment targets:

Broader platform coverage can signal market demand pulling the product

to new surfaces.

Score: 0-10 (0 = isolated product, 10 = ecosystem-integrated, multi-market ready)

============================================================

PHASE 9: WRITE REPORT

============================================================

Write the complete analysis to docs/pmf-analysis.md in the project

(create the docs/ directory if it doesn't exist).

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Product-Market Fit Analysis Complete

PMF Readiness Scorecard

| Dimension | Score | Weight | Weighted | Key Finding |

|-----------|-------|--------|----------|-------------|

| Core Value Delivery | {0-10} | 25% | {score} | {one-line finding} |

| Feature Focus | {0-10} | 15% | {score} | {one-line finding} |

| User Activation | {0-10} | 15% | {score} | {one-line finding} |

| Retention Infrastructure | {0-10} | 15% | {score} | {one-line finding} |

| Pricing Flexibility | {0-10} | 5% | {score} | {one-line finding} |

| Analytics Maturity | {0-10} | 10% | {score} | {one-line finding} |

| Iteration Speed | {0-10} | 10% | {score} | {one-line finding} |

| Market Signals | {0-10} | 5% | {score} | {one-line finding} |

| PMF Readiness | | | {weighted avg}/10 | {verdict} |

PMF Stage: {SEARCHING / APPROACHING / ACHIEVED / SCALING}

Critical Path Assessment

Feature Focus Distribution

Top 5 PMF Gaps (Prioritized)

| # | Gap | Dimension | Impact | Effort | Recommendation |

|---|-----|-----------|--------|--------|----------------|

| 1 | {description} | {dimension} | {High/Med/Low} | {S/M/L} | {specific action} |

| 2 | ... | ... | ... | ... | ... |

PMF Accelerators (Quick Wins)

Actions that would most rapidly improve PMF readiness:

  1. {action} — improves {dimension} from {current} to ~{projected}
  2. ...
  3. ...

PMF Risks

Factors that could prevent or delay PMF:

  1. {risk} — {why it matters} — {mitigation}
  2. ...

Report saved to: `docs/pmf-analysis.md`

============================================================

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /pmf-analysis — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

STRICT RULES

============================================================

most (25%), followed by focus, activation, and retention (15% each).

Do not inflate the assessment.

sufficient history.

NEXT STEPS:

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.