w3-hypothesis
Schwartzfarb W3 — define WHO/WHAT/WHY for each ICP candidate, generate disproval hypotheses, and validate via targeted research
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- w3-hypothesis
- type
- research
- parent
- customer-discovery
- version
- v0.4
- invocation
- sub-skill
- description
- Schwartzfarb W3 — define WHO/WHAT/WHY for each ICP candidate, generate disproval hypotheses, and validate via targeted research
03 SKILL.md 正文
Pack Availability Guard
Before telling the user to run a skill from another project-local pack, check .agents/project.json.enabled_packs. If the target pack is not enabled, recommend npx skillpacks install <pack> from the project shell, instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
W3 Hypothesis — Schwartzfarb WHO/WHAT/WHY Analysis
Report-First Approval Gate
Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a review alignment page plus a concise conversation summary.
Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.
After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the review alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.
Do not include Recommended next skill, Recommended next command, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
Staged Research Workflow
Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
- Stage 1 - Scope discovery and approval. Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the
reviewHTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1. - Stage 2 - Research and artifact review. Only after approved research-scope YAML with no unresolved
needs-clarification, unresolveddownfeedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode usesresearch/_working/preliminary-<skill>-research.md; product-path mode usesresearch/{slug}/_working/preliminary-<skill>-research.md. Replace<skill>with this skill'snamevalue. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update thereviewHTML alignment page so it renders the complete working-packet substance as structured HTML review UI: purpose-built sections, tables, matrices, gates, cards, and tier-appropriate charts or diagrams that preserve every packet section, finding, caveat, and decision detail without summary loss. Raw Markdown packet text may appear only as a supplemental source view after the rendered review UI; do not make aFull Preliminary PacketorFull Working Packetraw Markdown dump, giant<pre><code>block, link-only view, or source-only view the primary review surface. Include the evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2. - Stage 3 - Finalize approved artifacts. Consume final compiled YAML for artifact approval only when it has no unresolved
needs-clarification, unresolveddownfeedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet todocs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page toconfirmedwith the approval record preserved.
Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
Evidence And Feedback Handling
Treat user feedback as input to evaluate, not as automatic ground truth.
- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. Push back clearly and cite the evidence when the user appears to misunderstand.
- For taste, prioritization, or subjective judgment calls: weigh user feedback heavily and adapt unless it conflicts with verified evidence.
- When uncertain, say what is known, what is inferred, and what would change the conclusion.
Prerequisites
- Hard: ICP candidates from orchestrator working packet (
research/_working/preliminary-customer-discovery-research.md) orresearch/icp.md(orresearch/{slug}/icp.md) must exist. If neither exists, tell the user to run$customer-discoveryfirst and stop. - Soft:
research/competitive-analysis.md,research/customer-feedback.md, idea brief, specs, and codebase context when available.
Process
0. Product-Path Scope Resolution
Resolve research scope by product path before using code or app structure as a hint:
- If
$ARGUMENTSnames a non-archivedresearch/{slug}/directory or a product-path ID whosescope_pathpoints there, use that path. Treat{slug}as the product/app name, not the ICP, audience, or segment label. - If
$ARGUMENTSnames onlyresearch/_archive/{slug}/or a manifest entry withstatus: archivedor legacystatus: abandoned, stop and warn that the path is archived; do not write or update scoped outputs there. - Read
research/.progress.yamlwhen present. Normalize legacyactive_pathtoactive_pathson read and write backactive_pathson manifest updates. Treat legacyabandonedasarchived; excludearchived,abandoned,deferred,revisit_candidate,promoted, and anyscope_pathunderresearch/_archive/from active target selection. - If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.
- If no active manifest target exists, list non-archived product directories under
research/, excludingresearch/_archive/and dot directories. Auto-select only when exactly one exists; ask when multiple exist. - If no product directories exist, use flat
research/single-product mode. - Detect monorepo/app/package structure only as a secondary hint.
When product path {slug} is active, read and write research under research/{slug}/, specs under specs/{slug}/.
1. Load Context
- Read ICP candidates from orchestrator working packet (
research/_working/preliminary-customer-discovery-research.md) orresearch/icp.md - Read idea brief (
research/idea-scope-brief.md) if it exists - Read
research/competitive-analysis.mdif it exists - Read
research/customer-feedback.mdif it exists - Read CLAUDE.md, README for product context
- Scan codebase and existing research for additional signal
2. Define W3 for Each ICP Candidate
For each ICP candidate, construct the three-variable hypothesis:
WHO — narrowly defined buyer/customer:
- Demographics: age, location, education, income level
- Firmographics: company size, stage, industry, revenue, funding status
- Psychographics: values, motivations, risk tolerance, decision-making style
- Role/title, budget authority, buying power
- Behavioral patterns: where they spend time, what they read, who they trust
WHAT — what they're actually buying (the outcome, not the product):
- The specific problem being solved
- The outcome or transformation they expect
- What success looks like in their words
- The difference between what they say they want and what they actually need
- How they measure whether they got what they paid for
WHY — the business driver and measurable impact:
- Primary business driver: revenue growth, cost reduction, compliance, competitive pressure, efficiency
- Measurable impact: quantifiable benefit they expect
- Urgency level: why now, not later
- Macro trends or market forces creating the window
- What happens if they do nothing (cost of inaction)
3. Generate Disproval Hypotheses
For each W in each candidate's W3, generate 2-3 hypotheses that would disprove the assumption. The goal is falsification, not confirmation.
- WHO disproval: "If our WHO is wrong, we'd expect to see [specific evidence]. For example: the actual buyer is a different role, the company size doesn't match, the budget holder is someone else."
- WHAT disproval: "If our WHAT is wrong, we'd expect to see [specific evidence]. For example: customers describe the problem differently, they measure success by different metrics, the outcome they want is adjacent but distinct."
- WHY disproval: "If our WHY is wrong, we'd expect to see [specific evidence]. For example: the urgency driver is different, the business case doesn't hold at their scale, the macro trend is weaker than assumed."
4. Targeted Research
Run WebSearch queries designed to test each disproval hypothesis:
- Search for evidence that contradicts each W assumption
- Search for evidence that supports each W assumption
- Log every query and its key findings
- Look for competitor positioning that implies a different WHO/WHAT/WHY
- Look for community discussions, job postings, industry reports that reveal actual buyer behavior
- Prioritize disconfirming evidence — confirmation bias is the enemy
5. Score Hypothesis Confidence
For each ICP candidate, score each W dimension:
- Strong: multiple independent sources support the assumption; disproval hypotheses tested and no significant contradicting evidence found
- Moderate: some supporting evidence; one or more disproval hypotheses partially supported; key uncertainties remain
- Weak: limited evidence; disproval hypotheses found supporting evidence; significant risk the assumption is wrong
Calculate an overall candidate confidence based on the weakest dimension — a candidate is only as strong as its weakest W.
6. Validate with User
Present W3 definitions, disproval evidence, and confidence scores. Ask for corrections, missing context, and whether any candidates should be eliminated or refined.
Output
research/customer-discovery-w3-hypothesis.md (or research/{slug}/customer-discovery-w3-hypothesis.md)
# W3 Hypothesis Analysis
> Based on: [sources]
> Date: [current date]
> Methodology: Schwartzfarb W3 (WHO/WHAT/WHY)
## ICP Candidate: [Name]
### WHO
[Narrow buyer definition — demographics, firmographics, psychographics, role, budget authority]
### WHAT
[What they're actually buying — the outcome, not the product]
### WHY
[Business driver and measurable impact, urgency, macro trends]
### Disproval Evidence
| Hypothesis | Evidence For | Evidence Against | Confidence |
|------------|-------------|-----------------|------------|
| WHO: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
| WHAT: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
| WHY: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
## ICP Candidate: [Name 2]
...
## Cross-Candidate Comparison
| Candidate | WHO Confidence | WHAT Confidence | WHY Confidence | Overall |
|-----------|---------------|-----------------|----------------|---------|
| [name] | Strong/Moderate/Weak | Strong/Moderate/Weak | Strong/Moderate/Weak | Strong/Moderate/Weak |
## Research Log
| Query | Key Findings | Disproval Target |
|-------|-------------|-----------------|
| [search query] | [what was found] | [which W hypothesis this tested] |
## Evidence Matrix
| Claim | Evidence Source | Evidence Type | Confidence |
|-------|---------------|---------------|------------|
| [claim] | [source] | Observed/Inferred/Hypothesized | High/Medium/Low |
Constraints
- Ground every W3 definition and confidence score in evidence from ICP candidates, research, specs, feedback, or codebase.
- Prioritize disconfirming evidence — the framework demands falsification, not confirmation.
- Do not prescribe UI or architecture — describe the customer hypothesis, not the solution.
- Present findings before writing.
- Do not overwrite existing output without asking the user first.
- This is a sub-skill — do not emit next-step routing.
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/w3-hypothesis-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
04 同仓库更多 Skills
source-checkout-allowed
Valid source-checkout-only fixture.
deck-install-valid
Valid deck install fixture.
codex-pack-guard-valid
Valid Codex Pack Availability Guard fixture.
codex-missing-skill-valid
Valid Codex missing skill fallback fixture.
codex-base-skill-fallback-valid
Valid Codex base skill fallback fixture.
claude-pack-guard-valid
Valid Claude Pack Availability Guard fixture.