skills/eliteforge-google-stitch-onboarding/SKILL.md
Guides agents through the first frontend implementation pass from a Google Stitch prototype bundle. Use when the user asks to initialize a frontend project from tech-stack.md, convert design.md/prd.md and Stitch HTML/image prototypes into consistent pages, create mock-data-backed screens with reserved backend API calls, and coordinate every phase with $eliteforge-task-progress-tracker and user confirmations.
npx skillsauth add cloudsen/eliteforge-skills eliteforge-google-stitch-onboardingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill expects the companion $eliteforge-task-progress-tracker skill to be available.
This skill drives the first frontend implementation pass from a Google Stitch export. Keep it incremental, auditable, and confirmation-gated.
Before reading or modifying project files, activate $eliteforge-task-progress-tracker.
Use docs/tasks/google-stitch-onboarding/ as the task-root override. Do not write google-stitch-onboarding bookkeeping under .eliteforge/google-stitch-onboarding/ or repository-root tasks/google-stitch-onboarding/.
docs/tasks/google-stitch-onboarding/google-stitch-onboarding.md.docs/tasks/google-stitch-onboarding/google-stitch-onboarding-N.md.docs/tasks/google-stitch-onboarding/state.md.docs/tasks/google-stitch-onboarding/implemented-pages.txt.docs/tasks/google-stitch-onboarding/acceptance-manifest.md.docs/tasks/google-stitch-onboarding/integration-test-plan.md.During tracker setup, check whether the current directory is already inside a Git repository. If not, run git init in the current directory before recording tracker files, then record the command/result in the tracker and docs/tasks/google-stitch-onboarding/state.md.
Create top-level task google-stitch-onboarding and child tasks google-stitch-onboarding-1 through google-stitch-onboarding-4.
Every top-level step row under ## Steps must start with the exact relative Markdown link to its child task:
[google-stitch-onboarding-1](google-stitch-onboarding-1.md) - ...[google-stitch-onboarding-2](google-stitch-onboarding-2.md) - ...[google-stitch-onboarding-3](google-stitch-onboarding-3.md) - ...[google-stitch-onboarding-4](google-stitch-onboarding-4.md) - ...Step scope:
/design-standard.Gate every step through waiting_human_decision. If a required decision is unclear, stop before guessing and record the exact question in both the top-level step and active child task. After a step's work and validation finish, set both rows to waiting_human_decision, ask for acceptance, and do not continue until the user confirms.
Use this skill when a task mentions any of these contexts:
tech-stack.md, design.md, prd.md, and implement multiple pages progressively.$eliteforge-task-progress-tracker with confirmation-gated subtasks.Work from the current directory unless the user provided a different path.
Expected inputs: tech stack doc, design doc, PRD, and a Google Stitch export or ZIP whose page directories contain code.html and usually screen.png. Accept canonical names such as tech-stack.md, docs/tech-stack.md, design.md, DESIGN.md, prd.md, and *_prd.md, plus clearly named nested equivalents. Record any non-canonical mapping in the tracker and state file. Missing tech stack or design input is a Step 1 blocker unless the user explicitly approves a fallback.
Optional helper scripts:
scripts/stitch_manifest.sh scans a Stitch ZIP or folder and prints docs plus page prototype inventory.scripts/coverage_check.sh compares discovered prototype page names with an implementation tracking file.scripts/acceptance_check.sh verifies source coverage, the page implementation contract, ledger entries, acceptance-manifest page entries, the integration test plan, runtime naming boundaries, and required route/critical-journey acceptance sections.assets/acceptance-manifest-template.md provides the required acceptance manifest structure.assets/integration-test-plan-template.md provides the required integration test plan structure.Read references/google-stitch-onboarding-workflow.md for detailed step instructions. Read references/google-stitch-implementation-guide.md before translating Stitch HTML/images into frontend components.
/design-standard preview using normal routing. Do not use / for this page unless explicitly requested; preserve it throughout later steps and never count it as a Stitch page.code.html, rendered image, and inventory number; use it only for traceability, coverage, and evidence. Product identity is the real product page name, route, component/page module, service/API boundary, and navigation label; use it for implementation.code.html, then source directory name only as a derivation clue. If product identity remains unclear, stop at waiting_human_decision; do not generate source-shaped implementation names.design.md plus the actual Stitch pages before building shared layout primitives. The contract must capture visible shell regions, spatial relationships, ownership of viewport space, responsive behavior when specified or visible, and required shell interactions from design docs or prototypes. Do not use a generic shell contract./, auth/public route exceptions, default post-login route, sidebar/topnav destinations, cross-page action destinations, and fallback/redirect behavior./ must render the login/auth experience unless the user explicitly approves a different entry route. The login action must visibly transition into the authenticated system route through the real router or state model; a button that does not change route, auth state, or visible shell state is a blocker.design.md, PRD, and the prototype scan before Step 3 implementation begins. The plan must enumerate realistic browser scenarios, expected route/state/UI results, test data, and acceptance evidence for all product flows that are visible in the prototype or specified by the PRD.execute_current_step and the active step contains page-batch work with more than two batches, use worker subagents for non-overlapping page batches. This applies to Step 2 full prototype scans, Step 3 page implementation, and any similar large batch of pages.waiting_human_decision, and stop instead of silently doing the batch work in the lead agent.docs/tasks/google-stitch-onboarding/implemented-pages.txt. Append one source prototype page name per line only after its route/page/component, API-ready service boundary, visual-structure check, and interaction smoke check have passed.docs/tasks/google-stitch-onboarding/state.md with source paths, prototype inventory, page implementation contract, page archetype scan, route mapping, route/navigation contract, critical user journeys, validation commands, and decisions.docs/tasks/google-stitch-onboarding/acceptance-manifest.md once page implementation begins. Record each Stitch source page's product identity, route, component, service/API boundary, primary archetype, visual-structure evidence, interaction smoke evidence, route/navigation evidence, accepted deviations, and blockers.docs/tasks/google-stitch-onboarding/integration-test-plan.md once Step 2 has enough design/PRD/prototype evidence. Keep it synchronized as routes and flows are implemented.At the end of every step, respond with:
waiting_human_decision for acceptance.Do not start the next step in the same response unless the user has already confirmed it in a prior message.
The first pass is complete only when:
/design-standard page for previewing the standards extracted from design.md, and later steps preserved that page.code.html has a corresponding route/page/component or documented equivalent, and each page passes visual-structure acceptance.docs/tasks/google-stitch-onboarding/integration-test-plan.md exists, is derived from design docs/PRD/prototypes, and has been executed against the real running frontend app.docs/tasks/google-stitch-onboarding/acceptance-manifest.md exists and is maintained with page-by-page visual, structural, and interaction acceptance evidence./design-standard, route 200 checks, screenshot dimensions, build/typecheck success, source-structure checks, and implementation-ledger coverage are baseline gates only; they do not constitute final acceptance without visual-structure and interaction evidence in the acceptance manifest.google-stitch-onboarding-1 through google-stitch-onboarding-4.docs/tasks/google-stitch-onboarding/.testing
Rewrite human-facing prose using Strunk-style rules. Use for docs, README files, technical explanations, PR descriptions, commit messages, error messages, UI copy, reports, and summaries when the user asks to polish, shorten, clarify, de-duplicate, restructure, or normalize tone.
testing
Draft or refine a concise product requirements document from a rough product idea, then write a Typst source file and sibling PDF to a resolved output path.
research
产品经理竞品分析报告生成器。当用户提到竞品分析、竞品调研、竞品对比、竞争对手分析、市场竞争分析、行业竞品研究时触发。也适用于用户要求对比多个产品/平台/公司的功能、商业模式、市场定位等场景。即使用户只是说'帮我分析一下XX和YY'或'XX有哪些竞争对手',只要涉及产品/公司间的对比分析,都应该使用这个 skill。支持任意行业,支持快速分析和深度分析两种模式。
development
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.