一键导入
idea-refinement
Refines ideas iteratively. Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refines ideas iteratively. Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Wrap a shell command with diagnostic capture. On failure, print static suggestions and append a structured `friction` record to the per-Story signals.ndjson stream. Use whenever a script in the orchestration loop invokes a tool whose failure shape we want the analyzer to attribute.
Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.
Governs quality gates and the unified-baseline snapshots. Use when authoring a baseline refresh commit (CRAP, maintainability, dead-exports, lighthouse), when setting up or modifying CI quality gates, or when introducing a new gate that asserts on pre-existing state without turning the integration branch red.
Wires Gherkin `.feature` files to Playwright via the `playwright-bdd` library. Use when running BDD scenarios on a Playwright runtime — pairs with the `gherkin-authoring` skill (scenario prose) and the `playwright` skill (browser conventions). Drives execution by tag expression with trace-first debugging and Playwright-native sharding.
Conventions for agent-driven exploratory QA driving — how the agent itself drives a surface during `/qa-explore` (agent-led), as opposed to the human-led `/qa-assist`. Use when the agent explores a running app via the browser MCP (navigation-first, the default) — including authenticated deployed surfaces reached through the resolved environment's sign-in seam — or walks a static surface (the documented interim where no seam resolves), under a strictly read-only capture invariant. The exploration procedure lives in `.agents/workflows/qa-explore.md`; this skill is the driving-conventions reference it leans on.
Conventions for the agent-driven QA harness that drives Gherkin scenarios through a real browser. Use when executing `/qa-run` or instrumenting a live surface — covers navigation-first execution, per-surface console and network capture, design-token visual checks, and the framework-generic heuristic cards for turning signal into findings. The harness procedure lives in `.agents/workflows/qa-run.md`; this skill is the conventions reference it leans on.
| name | idea-refinement |
| description | Refines ideas iteratively. Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger. |
AskUserQuestion, and generate 5–8 variations (not 20+ shallow ones); do not proceed until target user and success criteria are explicit.## Context, ## Goal, ## Non-Goals, ## Scope, ## Acceptance Criteria (plus optional ## Open Questions). No alternate heading text — the /plan clarity gate depends on this verbatim.## Context (or ## Scope); assumptions do not get their own heading. Unresolved decisions MUST NOT carry into the one-pager.## Non-Goals list is mandatory and each entry includes a reason — focus is created by explicit exclusion.docs/ideas/[idea-name].md only after the user explicitly confirms; never write to disk silently.Glob / Grep / Read; do not invent architecture that ignores existing constraints.Refines raw ideas into sharp, actionable concepts worth building through structured divergent and convergent thinking.
Called from /plan during ideation when the
operator supplies --seed "<text>" (or runs ideation with no seed and
the host collects one interactively). The skill sharpens freeform intent
into canonical planning sections that /plan then folds into a Story.
There is no separate Epic Clarity Gate path in v2 — N=1 Story authoring
with a folded ## Spec is the lean default.
This skill is primarily an interactive dialogue. Invoke it with an idea, and the agent will guide you through the process.
# Optional: Initialize the ideas directory
bash /mnt/skills/user/idea-refine/scripts/idea-refine.sh
Trigger Phrases:
The final output is a markdown one-pager saved to docs/ideas/[idea-name].md
(after user confirmation), containing the five canonical planning sections:
Assumptions and open questions are recorded in the body of the relevant
section (typically under Context or Scope) rather than carved into their
own headings — the canonical five drive the /plan clarity gate.
You are an ideation partner. Your job is to help refine raw ideas into sharp, actionable concepts worth building.
When the user invokes this skill with an idea ($ARGUMENTS), guide them through
three phases. Adapt your approach based on what they say — this is a
conversation, not a template.
Goal: Take the raw idea and open it up.
Restate the idea as a crisp "How Might We" problem statement. This forces clarity on what's actually being solved.
Ask 3-5 sharpening questions — no more. Focus on:
Use the AskUserQuestion tool to gather this input. Do NOT proceed until you
understand who this is for and what success looks like.
Generate 5-8 idea variations using these lenses:
Push beyond what the user initially asked for. Create products people don't know they need yet. Pick the lens that fits the idea — don't run every one mechanically.
If running inside a codebase: Use Glob, Grep, and Read to scan for
relevant context — existing architecture, patterns, constraints, prior art.
Ground your variations in what actually exists. Reference specific files and
patterns when relevant.
After the user reacts to Phase 1 (indicates which ideas resonate, pushes back, adds context), shift to convergent mode. The job here is not just to list open questions — it is to resolve them, one at a time, before anything lands in the Phase 3 one-pager.
Off-ramp. Before starting the grill loop, restate the chosen direction in one sentence and check whether any decision branches remain unresolved. If the idea is already crisply scoped — target user clear, MVP boundary obvious, no architectural forks, no hidden assumptions — skip directly to Phase 3. Don't grill trivial ideas for the sake of process.
Cluster the ideas that resonated into 2-3 distinct directions. Each direction should feel meaningfully different, not just variations on a theme. Get the user's pick (or a tentative lean) before enumerating branches — the grill loop runs against the chosen direction, not the full set.
Enumerate open branches. List every unresolved decision the chosen direction depends on. Use the stress-test rubric and the assumption surfaces below as your source material:
Read refinement-criteria.md in this skill directory for the full
evaluation rubric. Treat each unresolved item as a branch to grill on.
If the list is empty after enumeration, take the off-ramp.
Interrogate sequentially. For each branch, in priority order (highest-leverage / most blocking first):
AskUserQuestion tool so the recommendation surfaces as the
first option.Re-enumerate after each answer. A resolved branch may collapse other branches (a "build" decision moots the "buy" follow-ups) or expand the tree (a new constraint surfaces fresh forks). Don't pre-compute the full question list — re-derive it after each answer and pick the next highest-leverage branch.
Stop condition. Phase 2 ends when no branches remain unresolved. Resolutions feed directly into the Phase 3 one-pager: confirmed bets land in the Context section with their validation strategy inline; rejected branches become Non-Goals entries with the reason; chosen scope becomes the Scope section; verifiable outcomes from the resolved decisions become Acceptance Criteria.
Be honest, not supportive. If an idea is weak, say so with kindness. A good ideation partner is not a yes-machine. Push back on complexity, question real value, and point out when the emperor has no clothes — and do it inside the grill loop, not after the one-pager is already written.
The Phase 2 interrogation discipline is inspired by Matt Pocock's
grill-meskill (one question at a time, recommended answer per question, walk the decision tree to resolution).
Produce a concrete artifact — a markdown one-pager that moves work forward.
The five canonical headings below match .agents/templates/epic-from-idea.md
and the /plan clarity gate; emit them verbatim so the renderer can
substitute the body into a /plan Story seed without translation.
# [Idea Name]
## Context
[One-sentence "How Might We" framing followed by the current-state pain
or motivation in 1-2 short paragraphs. Surface the key assumptions you
are betting on inline — assumptions live here, not in a separate
heading.]
## Goal
[The chosen direction and the outcome it produces — 2-3 paragraphs max.
Frame in terms of the end-state the user reaches, not the implementation
path.]
## Non-Goals
- [Thing 1] — [reason]
- [Thing 2] — [reason]
- [Thing 3] — [reason]
## Scope
[The minimum version that tests the core assumption. What's in, what's
out, and how it sequences into stories.]
## Acceptance Criteria
- [ ] [Verifiable outcome 1 — phrased so a reviewer can check it]
- [ ] [Verifiable outcome 2]
- [ ] [Verifiable outcome 3]
## Open Questions
- [Question that needs answering before building]
The "Non-Goals" list is arguably the most valuable part. Focus is about saying no to good ideas. Make the trade-offs explicit.
Ask the user if they'd like to save this to docs/ideas/[idea-name].md (or a
location of their choosing). Only save if they confirm.
Direct, thoughtful, slightly provocative. You're a sharp thinking partner, not a facilitator reading from a script. Channel the energy of "that's interesting, but what if..." -- always pushing one step further without being exhausting.
After completing an ideation session: