@open-product-primer/cli 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/commands/init.js
CHANGED
|
@@ -128,5 +128,11 @@ function initCommand() {
|
|
|
128
128
|
console.log('\n' + chalk_1.default.green('✓') + ` Agent skills installed: ${selectedAgents.join(', ')}`);
|
|
129
129
|
}
|
|
130
130
|
console.log('\nRun ' + chalk_1.default.cyan('oprim doctor') + ' to verify your setup.');
|
|
131
|
+
console.log('\n' +
|
|
132
|
+
chalk_1.default.bold('Next:') +
|
|
133
|
+
' capture your first product decision. A bet is a time-bound commitment — what you\'re building, why now, and what would make you stop.' +
|
|
134
|
+
'\nOpen your AI agent and run ' +
|
|
135
|
+
chalk_1.default.cyan('/oprim:bet') +
|
|
136
|
+
' to create one.');
|
|
131
137
|
});
|
|
132
138
|
}
|
|
@@ -392,6 +392,10 @@ Create a new bet in \`oprim/bets/\` and register it on the sequencing board.
|
|
|
392
392
|
|
|
393
393
|
**Interactive prompts:** Use the **AskUserQuestion tool** for every question in this skill — do not write questions as plain text.
|
|
394
394
|
|
|
395
|
+
## What you're creating
|
|
396
|
+
|
|
397
|
+
A bet is a product decision you're committing to explore: a problem worth solving, a hypothesis worth testing, or a direction worth taking. You'll name it, explain why now, and set a kill criterion so you know when to stop.
|
|
398
|
+
|
|
395
399
|
## Steps
|
|
396
400
|
|
|
397
401
|
### 1. Get the bet title
|
|
@@ -800,7 +804,7 @@ function pdrInlineContent() {
|
|
|
800
804
|
return `Create a new PDR in \`oprim/decisions/\`. Scan for \`PDR-(\\d+)-\` to assign next ID (zero-padded, default 001). Gather: title, context, decision, alternatives, consequences, evidence, related bets/specs. Ask if superseding an existing PDR. Write \`oprim/decisions/PDR-NNN-<slug>.md\`. If superseding: update old PDR Status to "Superseded by PDR-NNN". Report what was created.`;
|
|
801
805
|
}
|
|
802
806
|
function betInlineContent() {
|
|
803
|
-
return `Create a new bet in \`oprim/bets/\`.
|
|
807
|
+
return `Create a new bet in \`oprim/bets/\`. First explain: "A bet is a product decision you're committing to explore — a problem worth solving, a hypothesis worth testing, or a direction worth taking. You'll name it, explain why now, and set a kill criterion." Then show: "Naming tip: verb + object [for context] — Good: 'Improve bet naming for scannability' / Bad: 'Naming'". Scan \`BET-(\\d+)\` dirs for next ID (zero-padded, default 001). Check \`oprim/sequence.yaml\` exists (stop if not — advise oprim init). After receiving the title, validate: if fewer than 4 words OR fewer than 25 characters, warn "this title may be too vague", suggest a reformulation, and ask "Proceed anyway? (y/N)" — if "n", prompt for a revised title. Gather: decision (default Build now), owner, review date, why-now, alternatives, expected outcomes, kill criteria, PDR links. Write \`oprim/bets/BET-NNN/bet-decision.md\` with an inline naming tip comment in the header. Append entry to sequence.yaml backlog: \`{id, title, blocked_by: [], unlocks: [], requires_pdrs: []}\`. Then ask: "Do you want to scaffold a discovery.md now? (y/N)" — if "y", write \`oprim/bets/BET-NNN/discovery.md\` from the discovery template (sections: Problem Framing, User Research Signals, Competitive Context, Open Questions); if "n" or Enter, skip silently. Report what was created.`;
|
|
804
808
|
}
|
|
805
809
|
function criteriaInlineContent() {
|
|
806
810
|
return `Add metrics to \`oprim/bets/BET-NNN/criteria.yaml\`. Verify bet dir exists. Gather: metric ID, name, baseline, target, timeframe, launch date, segment. Ask source type (amplitude or bigquery). Amplitude: event, aggregation, denominator_event. BigQuery: table, metric_column, filter, aggregation, denominator_query. If file exists: append to metrics list (never overwrite). If not: create. Ask if adding more metrics. Report what was created.`;
|