Extract an IdeaBrowser startup idea into a scaffold-ready spec. The leading word is coverage: every expected subpage is either ok, missing, or blocked.
Default boundary: safe-by-default. Do not write files, commit, push, deploy, or execute scaffold commands unless the user explicitly asks.
For required output sections, load references/output-contract.md. For subpage names and normalized fields, load IDEA_SCHEMA.md. For scaffold stack defaults, load STACK_PROFILE.md when producing the scaffold spec.
Steps
-
Verify browser path.
- Prefer
playwright-cliwith the Chrome extension bridge. - Use OpenClaw only when Playwright bridge is blocked or unavailable.
- If auth/checkpoint blocks access, stop and give minimal remediation steps.
Completion criterion: there is an attached/readable browser session, or the response reports the exact blocker and next command.
- Prefer
-
Detect the target idea.
- Use an explicit slug or URL when provided.
- Otherwise infer the slug/title from the current URL, page title, or browser snapshot.
Completion criterion: Detected Idea has slug/URL/title where observable; unknown fields are marked unknown.
-
Crawl core subpages.
- Visit the core IdeaBrowser subpages from
IDEA_SCHEMA.md. - Use helper scripts for deterministic logs when available:
scripts/crawl_idea_subpages_playwright.sh [target] [snap_limit]scripts/crawl_idea_subpages.sh [target] [snap_limit]as OpenClaw fallback
Completion criterion:
Subpage Coveragelists every expected page withok,missing, orblocked. - Visit the core IdeaBrowser subpages from
-
Extract normalized fields.
- Extract only what is visible in snapshots/pages.
- Do not infer missing market claims, scores, proof, or keywords.
- Use
scripts/extract_idea_fields.sh [target] [limit]when useful.
Completion criterion:
Structured Extractioncontains every normalized field fromIDEA_SCHEMA.md, with unknowns explicit. -
Produce scaffold spec.
- Recommend a repo slug; use
scripts/propose_repo_name.shwhen useful. - Include stack profile, README summary block,
IMPLEMENTATION_PLAN.mdphase outline,progress.txtstarter entries, and command checklist. - Put commands under
Commands To Execute (on approval)unless the user explicitly approved execution.
Completion criterion: the final output follows
references/output-contract.mdsection order and contains no unapproved mutations. - Recommend a repo slug; use
Failure handling
If extraction cannot proceed, output only:
- blocker
- minimal user action
- exact next command