idea-scope-brief
Shape a rough product or project idea into a scoped brief before customer discovery, market research, specifications, UX, UI, or implementation planning
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- idea-scope-brief
- type
- planning
- version
- v0.21
- description
- Shape a rough product or project idea into a scoped brief before customer discovery, market research, specifications, UX, UI, or implementation planning
- argument-hint
- [optional rough idea, product thought, or product-path scope]
- context_intake
- deep
- required_conventions
- [ "alignment-page", "interrogation-page" ]
02 资源文件 1
- 参考文档resources/implementation-playbook.md34.1 KB
03 SKILL.md 正文
Idea Scope Brief
Invoke as $idea-scope-brief.
Use this skill when the user has a half-formed idea and needs it cleaned up enough to enter the normal research and planning workflow. This skill is intentionally pre-customer-discovery: it clarifies the concept, problem hypothesis, beneficiary hypothesis, value wedge, constraints, non-goals, and unknowns, but does not select a validated target-customer segment, analyze competitors, define UX/UI, choose architecture, decide platform fit, or write implementation specs.
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 customer, 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. Suggest creating a missing
research/{slug}/product path when code clearly exposes an app, but do not require code or monorepo detection before usingresearch/{slug}/.
When product path {slug} is active, read and write research under research/{slug}/, specs under specs/{slug}/, and treat top-level research/*.md files as flat-mode documents or cross-path summaries.
-
Resolve context
- Read
.agents/project.jsonif it exists. - BIP Suggestion Gate (advisory; never blocks this skill's work). After reading
.agents/project.json: ifalignment.build_in_public === true, skip only the enablement prompt and remember that post-confirmation BIP output is required. Else ifalignment.bip_prompt_dismissed === true, skip enablement and do not generate BIP unless the user explicitly invoked--bip. Otherwise ask the user once, concisely — explain that Build-In-Public mode generates source-safe social post candidates from your alignment pages and shipped work, and ask whether to enable it for this project. On yes: runscripts/pack.sh set-bip on(ornpx skillpacks set-bip on) andscripts/pack.sh set-bip-prompt dismiss(or thenpxequivalent), remember that post-confirmation BIP output is required, then continue. On no: runscripts/pack.sh set-bip-prompt dismiss(or thenpxequivalent) and do not ask again. Do not create a separate pre-approval BIP page during kickoff; enabled BIP generatesalignment/bip-idea-scope-brief.htmlonly after approved canonicalidea-brief.mdartifacts are written and the alignment page is confirmed. - Read canonical deck metadata from
docs/decks.mdwhen present and from skillpacks manifestdecks[]metadata when available. Use deck fields such asname,title,domain,tempo,default_packs, andfull_packsas routing evidence. - Read repo-saved deck candidates from
.agents/project.jsonbefore canonical fallbacks. Recognize top-levelsaved_decksanddecksfields when present; entries may be strings or objects with fields such asname,slug,title,domain,tempo,packs,install,install_command,description, ornotes. - Read README, CLAUDE.md, AGENTS.md, existing
research/,specs/, and task docs when present. - Determine whether the current directory is already a bootstrapped project. Treat it as bootstrapped when it has meaningful
README.mdplusAGENTS.mdorCLAUDE.md; treat it as unbootstrapped when those are missing, placeholder-only, or the user is describing an idea outside any project repo. - If
$ARGUMENTScontains a rough idea, use it as the starting draft. - If
$ARGUMENTSnames a non-archivedresearch/{slug}/product path, use that path. If it names onlyresearch/_archive/{slug}/, stop and warn that the path is archived. - Determine the concept identity and a normalized concept slug as soon as either is known from
$ARGUMENTS, repo context, or the interview. Normalize by lowercasing, removing URL suffix noise, replacing non-alphanumeric runs with-, trimming leading/trailing-, and dropping only project-wide brand prefixes when the remaining word is the actual scoped concept (for example,poketo.work->work;Poketo Core->poketo-core). - If existing research or the prompt suggests multiple related concepts may exist, prefer slugged output paths over generic filenames. Reserve generic
idea-brief.mdonly for a single unambiguous project-level concept. - If no rough idea is available from arguments or repo context, ask the user for the idea in plain language.
- Read
research/.progress.yamlwhen present. Normalizeactive_path(singular legacy) toactive_paths(plural list) when reading; treat legacyabandonedasarchivedand exclude archived/deferred/revisit/promoted paths plusresearch/_archive/scopes from active target selection. Treatactive_pathsas the current product/app/customer focuses andproduct_paths[]as parked, archived, or promoted product-path state, not git branch state. - When the prompt, repo context, interview, or pivot history surfaces multiple related concepts, apps, product lines, or future pivots, update or propose updates to
research/.progress.yamlwith product-path entries instead of merging them into one generic concept. Use fields:id,label,scope_path,status,source_skill,reason,archive_reason,archived_at,promoted_at,evidence_refs,revisit_trigger,next_skill,pipeline_stage, andlast_touched. Setpipeline_stage: idea-scope-briefon entries created by this skill. - Keep the central concept in
active_pathswhen it is the current focus. Record related or future concepts asstatus: deferredorstatus: revisit_candidatewith a concrete revisit trigger and a likely next skill such as$customer-discovery <path/audience>; ifbusiness-researchis not enabled, recommendnpx skillpacks install business-researchfrom the project shell, before$customer-discovery. - When 3+ product paths exist in the manifest, recommend
$product-line reviewto the user for portfolio management; ifbusiness-opsis not enabled, recommendnpx skillpacks install business-opsfrom the project shell, before$product-line.
- Read
-
Keep the boundary clear
- Do not run customer discovery, competitive analysis, journey mapping, UX variation, UI interview, roadmap, or implementation planning inside this skill.
- Do not validate the market with broad web research. Use light repo/context inspection only; downstream research skills own evidence gathering.
- Treat every user claim as a hypothesis unless supported by existing project files.
Steps 3–5 are the stage-zero interrogation loop (see ## Interrogation Page / INTERROGATION-PAGE.md): elicit the concept in HTML interrogation rounds before the stage-two alignment preview in step 6. Round 1 is the Idea Assumptions Manifest, rounds 2..N are adaptive follow-ups, and the step-5 coverage checkpoint is the loop's confidence-gate exit. This skill cannot advance to the alignment preview until the confidence gate passes with at least one completed round and every area covered or waived. Terminal questioning is the degraded fallback only when an HTML page cannot be opened.
- Surface an Idea Assumptions Manifest (interrogation round 1)
- Before deep questioning, present what you think the concept is.
- Tag assumptions as
[from prompt],[from repo],[from research], or[inferred]. - Cover:
- concept summary
- problem hypothesis
- target beneficiary or user hypothesis
- product/category guess
- early platform hints as hypotheses only, when the prompt clearly suggests web, mobile, CLI, API, SDK, extension, marketplace, integration, desktop, game, or other platform shape
- value wedge
- constraints
- non-goals
- riskiest unknowns
- Render the assumptions as confirm/correct/flag controls in
interrogation/idea-scope-brief-r1-{branch}.html, alongside the first batch of genuinely open questions (each markeddata-open-input) where no assumption is derivable. Setdata-interrogation-round="1",data-interrogation-gate="continue", and the answer sidecarresearch/_working/interrogation-idea-scope-brief-r1.yaml, open the page, and stop for the compiled round YAML. - Terminal fallback only: deliver the manifest inline as the final message text of its own turn; ask the confirmation question in the next turn (consistent with the one-question-per-turn cadence). Never emit it only as mid-turn text in a turn that ends with a tool or command call — harness rendering does not guarantee mid-turn text is shown. A confirmation question must never reference content the user has not been shown.
Market Structure Handoff
During the Idea Assumptions Manifest, if the concept appears marketplace/platform/B2B2C/multi-sided, add a compact Market Structure Handoff note:
- Name the apparent sides and the expected value exchange between them.
- Mark those sides and exchanges as hypotheses, not validated customer segments; do not decide which side is the customer, buyer, or primary target segment here.
- Keep the source tag for each side as
[from prompt],[from repo], or[inferred]unless the user provides a correction. - If the concept appears single-sided, omit the handoff or state that no marketplace/platform/B2B2C/multi-sided handoff is apparent.
Platform Hint Handoff
During the Idea Assumptions Manifest, record early platform hints only as hypotheses. Name the apparent platform shape when the prompt or repo context clearly suggests it, but do not rank platforms, choose a primary platform, or reject alternatives here. The Platform Fit Workshop in $user-flow-map owns the broad candidate set, platform ranking, platform probes, and production-platform recommendation.
Deck Fit Handoff
During the Idea Assumptions Manifest and final idea brief, add a compact Deck Fit Handoff that routes the concept to the closest workflow deck when confidence is high:
-
Build candidates
- Prefer saved repo candidates from
.agents/project.jsonsaved_decksordeckswhen present. Rank them against the concept before canonical fallbacks. - Fall back to the canonical deck set from
docs/decks.mdor skillpacks manifest metadata:vard,ord,business-afps,devtool-afps, andgame-afps. - Treat a saved deck as canonical only when its
nameorslugpreserves one of the canonical slugs and the entry does not materially override its packs or install command.
- Prefer saved repo candidates from
-
Rank by domain, tempo, and concept signals
- Domain: route video games, prototypes, playable entertainment, game engines, store-page tests, playtests, and game assets to
game-afps; route SDKs, CLIs, APIs, libraries, npm packages, OSS utilities, infrastructure products, developer platforms, and documentation-first developer workflows to developer decks; route SaaS, marketplaces, productivity apps, internal/admin tools, business workflows, and consumer apps to business/consumer decks. - Tempo: route day/week experiments, quick viral app tests, lightweight npm/CLI/library ideas, and low-investment distribution probes to rapid decks; route products, platforms, SDK/API strategies, SaaS/business concepts, lifecycle/growth work, or anything needing weeks/months of validation to deliberate decks.
- Evidence priority: user prompt and interview corrections outrank repo defaults; existing research/spec/task files outrank inferred code shape;
.agents/project.json project_typeis a tie-breaker, not the primary signal. - Confidence is high only when domain and tempo both match and no strong contrary signal remains. If confidence is not high, do not force a deck as the primary command; use the fallback routing rules in
## Next Steps.
- Domain: route video games, prototypes, playable entertainment, game engines, store-page tests, playtests, and game assets to
-
Default canonical examples
- Game or playable entertainment concept ->
game-afps. - Lightweight OSS/devtool/npm/CLI/library idea ->
ord. - Deliberate devtool/platform/SDK/API product ->
devtool-afps. - Rapid consumer/business experiment ->
vard. - Deliberate business/SaaS/consumer product ->
business-afps.
- Game or playable entertainment concept ->
-
Render the handoff
- Include deck slug/title, source (
saved_decks,decks,docs/decks.md, or manifest), domain fit, tempo fit, confidence, key evidence signals, and the install command. - For canonical decks, the primary install command is
npx skillpacks install-deck <deck>. - For customized saved decks, do not use
install-deckunless they preserve a canonical slug as described above. Use the savedinstall_command/installwhen present, or explicit package-install guidance such asnpx skillpacks install <pack...>when the saved entry lists packs. - After a deck recommendation exists, keep downstream skill routing as secondary context only. For example, after
business-afpsinstalls thebusiness-researchpack, name the likely first post-install skill ($customer-discovery,$devtool-positioning,$ord-scan,$vard-scan, or$game-audience) without making it the primary command.
- Include deck slug/title, source (
-
Interrogate until concept-ready (adaptive rounds 2..N)
- Build adaptive follow-up interrogation rounds (
interrogation/idea-scope-brief-r{N}-{branch}.html) seeded by the prior round's compiled answers, each with at least one open input (data-open-input) and its own answer sidecar. - Terminal fallback cadence is one primary decision question per turn by default. Use short follow-up bullets only when they clarify the same decision, not to batch unrelated questions.
- Resolve only concept-level ambiguity:
- what problem exists
- who might care
- what outcome changes for them
- what makes the idea different enough to investigate
- what must stay out of scope
- what constraints are real now
- When unsure, recommend a practical default and clearly mark it as an assumption.
- Build adaptive follow-up interrogation rounds (
-
Coverage checkpoint
- This checkpoint is the interrogation loop's confidence-gate exit: build the exit interrogation round with
data-interrogation-gate="coverage-checkpoint"presenting the final concept summary, unknowns, and readiness for customer discovery. Do not advance to step 6 until the user confirms completeness or every area is waived; flagging a gap raises the round number and continues the loop. (Terminal fallback: present the checkpoint inline per the Manifest Visibility Rule.) - Restate the resolved concept identity, slug, and exact output paths before writing.
- If the conversation pivoted from the initial concept to a different central concept, write the pivoted concept to its own slugged brief and preserve the initial concept as a related or future concept in the brief and interview log. Do not merge both concepts into one generic project-level brief.
- Ask whether any core premise, constraint, or non-goal is wrong before writing.
- This checkpoint is the interrogation loop's confidence-gate exit: build the exit interrogation round with
-
Build pre-approval alignment preview
- Before writing any canonical
research/**/idea-brief.md,research/**/idea-brief-interview.md, legacy flatresearch/idea-brief-{slug}.mdvariant, orresearch/.progress.yaml, buildalignment/idea-scope-brief-{topic}.htmlas the review artifact. - The HTML page must render the Idea/Concept Assumptions Manifest, artifact destinations, proposed file changes, coverage checkpoint, and approval gates, including any Market Structure Handoff and Deck Fit Handoff.
- Attempt to open the page in the browser and point the user at the repo-relative path.
- Treat coverage-checkpoint confirmation as non-final; it only confirms the draft scope is ready to preview. Only final compiled YAML from the alignment page authorizes canonical writes.
- Before compiled YAML approval, the next action is review or revision of the HTML alignment page. Do not include
Recommended next skill,Recommended next command, or downstream routing language until after final compiled YAML approval has been provided and the approved artifacts below have been written or updated. - When feedback-only YAML is provided, revise the alignment page and ask again; do not write canonical artifacts until final compiled YAML approval is provided.
- Before writing any canonical
Review-Only Product Path Approval
When the user approves a product-path fork or split at the alignment page level but explicitly withholds canonical-write approval (e.g., "review only, do not write canonical files"):
- Do not write canonical files. Keep
research/.progress.yaml,research/{slug}/idea-brief.md, andresearch/{slug}/idea-brief-interview.mdunchanged. - Render fully in the alignment page. The proposed manifest entry, idea brief sections, and interview log for the review-only path must be rendered in full in the alignment page HTML — not summarized, linked, or embedded.
- Mark the page as review-only-approved. Set
approval_status: review-only-approvedin the alignment page status block. This is distinct fromconfirmed(canonical artifacts written) andreview(awaiting any approval). - Downstream treatment. Downstream skills must treat a review-only-approved path as provisional: it may be referenced as concept context, but it is not a canonical product path until manifest approval is later granted via a subsequent alignment cycle. See the provisional-path evidence rule in customer-discovery and competitive-analysis contracts.
Output
Before writing anything in this section, verify the alignment page has final compiled YAML approval. Do not write canonical idea briefs, interview logs, or research/.progress.yaml until alignment/idea-scope-brief-{topic}.html has been reviewed and the user has provided final compiled YAML approval. Coverage-checkpoint confirmation is not final approval and does not authorize these writes.
Write:
- For one unambiguous project-level concept only:
research/idea-brief.mdandresearch/idea-brief-interview.md. - When a product identity is known, multiple concepts exist or may exist, or a pivot occurs: prefer
research/{slug}/idea-brief.mdandresearch/{slug}/idea-brief-interview.md; preserve flatresearch/idea-brief-{slug}.mdonly as legacy compatibility when no product path is being introduced. - If
$ARGUMENTSnames a non-archived product path, use unsuffixed scoped files underresearch/{slug}/:research/{slug}/idea-brief.mdandresearch/{slug}/idea-brief-interview.md. research/.progress.yaml— create or update only when multiple concepts, product paths, product lines, product-path scopes, or pivots are present. Useproduct_pathsterminology instead of branch terminology.
If BIP is enabled by project config, explicit --bip, or this run's BIP Suggestion Gate yes-response, then after approved canonical idea-brief artifacts are written and alignment/idea-scope-brief-{topic}.html is confirmed, generate the read-only post-confirmation BIP page at alignment/bip-idea-scope-brief.html. Archive any previous page at that path before replacement, include it in alignment/index.html, load every bundled social post and video convention, rank exhaustive source-safe candidates for every bundled channel, and open the page after the skill concludes. This BIP page is help/review content only; it does not publish posts, write social-ledger records, or require another approval before downstream routing.
The idea brief must include:
## Summary## Problem Hypothesis## Beneficiary Hypothesis## Product Category Guess## Value Wedge## Constraints## Non-Goals## Assumptions And Unknowns## Customer Discovery Readiness## Deck Fit Handoff## Next Steps
The ## Customer Discovery Readiness section must state whether the concept is ready for $customer-discovery, what inputs $customer-discovery should use, and which assumptions should be tested first. If a Market Structure Handoff exists, include the apparent sides and value exchange as explicit inputs for $customer-discovery to validate or refute. If a high-confidence Deck Fit Handoff exists, explain that deck installation is the primary next command and customer discovery or other first workflow skills are secondary post-install context.
The ## Deck Fit Handoff section must state the best candidate deck, whether it came from saved repo config or canonical fallback metadata, the confidence level, the domain/tempo signals, the install command, and the likely first post-install skill. If no deck has high confidence, state the strongest candidates and why fallback routing is safer.
The ## Next Steps section must recommend exactly one primary command:
- If Deck Fit Handoff confidence is high for a canonical deck:
npx skillpacks install-deck <deck>. - If Deck Fit Handoff confidence is high for a customized saved deck with an explicit install command: use that exact saved install command.
- If Deck Fit Handoff confidence is high for a customized saved deck with a pack list but no install command:
npx skillpacks install <pack...>. - If no deck has high confidence and the concept appears to be a business app or user-facing product while the business research lane is not enabled:
npx skillpacks install business-researchfrom the project shell — this installs the research skills (customer discovery, competitive analysis, value prop, positioning, lean canvas) needed before any repo bootstrapping or development. - If no deck has high confidence and
business-researchor the compatibilitybusiness-appalias is enabled:$customer-discovery. - If no deck has high confidence and the concept already has customer-discovery/market evidence but needs journey, onboarding, conversion, or retention planning:
npx skillpacks install customer-lifecyclefrom the project shell. - If no deck has high confidence and project type is unclear:
scripts/pack.sh recommend.
When a deck primary command is available, downstream research, discovery, or first-workflow skill routing must appear only as secondary context, not as the primary command.
Include 1-3 other options only when they are materially useful.
Alignment Page
Follow ALIGNMENT-PAGE.md in this skill's directory for alignment-page requirements and output path.
Constraints
- Keep the skill short and pre-research.
- Do not write specs, UX variants, UI specs, roadmap phases, or implementation tasks.
- Do not recommend
$scaffoldunless the user explicitly asks to create a package/app shell before research; normal product flow scaffolds after research, prototype consolidation, spec, roadmap, and phase planning identify the first implementation target.$scaffoldrequires the monorepo pack (npx skillpacks install monorepofrom the project shell). - Do not update
tasks/todo.md. - New files do not need archive snapshots. Before replacing an existing idea brief, including slugged briefs, archive it to
docs/history/archive/YYYY-MM-DD/HHMMSS/<original-relative-path>. - Migration: if a project already has
research/concept-brief.md,research/concept-brief-interview.md, or anyresearch/{slug}/concept-brief*.md/research/concept-brief-{slug}*.mdfrom a prior run, rename it to theidea-briefequivalent before re-running. Write only theidea-briefnames and no longer recognizes the legacyconcept-brieffilenames.
Interrogation Page
Before producing research, run the stage-zero interrogation loop following INTERROGATION-PAGE.md in this skill's directory. Build one HTML page per round at interrogation/idea-scope-brief-r{N}-{branch}.html, starting with the assumptions manifest as round 1, and loop until the confidence gate passes. This skill cannot advance to stage one until the confidence gate passes with at least one completed interrogation round and every interview area covered or waived. Each round page must contain at least one genuinely open input (data-open-input).
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.