Quick Start
- "Convert the store appointment Stitch page into React components; provide locally reviewable results first."
- "Fix the issue where the desktop brand logo does not return to the home page; preserve the existing scope and sources."
- "Sync the new design tokens to the existing React page; flag missing inputs and validation states."
For designers, front-end developers, and teams maintaining this workflow. Designers provide intent and assets, developers provide engineering/tooling, and the team preserves sources and acceptance status during handoff.
Capability Boundaries
✅ Good At
- Converting the store appointment Stitch page into React components.
- Fixing the issue where the desktop brand logo does not return to the home page.
- Syncing new design tokens to the existing React page.
⚠️ Requires Assets
- Target React project and existing toolchain.
- Specified Stitch screens or sourced cached assets.
- Route table, theme, and component behavior contracts.
❌ Not Applicable Scenarios and Handoff
- React Native native UI → stitch-react-native.
- shadcn primitive migration → stitch-shadcn-ui.
- Remotion walkthrough video → stitch-remotion, deliver the screen asset list.
Workflow
- Retrieve the required screen HTML/screenshots, preserve ID strings and source timestamps; cache is reused or refreshed per authorization.
- Extract tokens from the current HTML and DESIGN.md into the target project, avoiding overwriting the Skill's example assets.
- Split components, data, and hooks, use readonly Props; maintain the target project's conventions.
- Connect to the existing router; the brand logo and desktop navigation can return to the home page, and when the mobile bottom bar is hidden, desktop still has an entry point.
- Run script AST checks, project type/build checks, and appropriately scoped view validation, reporting evidence for each layer separately.
Order by dependency: source verification → local artifacts → authorized external operations → validation handoff. For multiple tasks, do the current main path first; when information is missing, output an assumption draft first, then precisely list what is missing and its purpose, without using vague prompts like "please provide more context."
Security and Result Validation
Do not read unrelated account configurations, do not collect user passwords; credentials are provided only by the environment or authorized connectors. Examples use demo data only; replace customer names, phone numbers, and order numbers with demo values before upload, and check HTML, screenshots, and file metadata. Do not write keys, session cookies, full base64 text, or signed download URLs into reports/repositories. Unverified parameters, visual effects, and business numbers must not be fabricated; outputs note sources, decision basis, what was actually executed, and what has not yet been verified.
- AST only proves parsing, Props, and literal className hex checks.
- All theme roles derive from the current design.
- The home page link and each route have verifiable targets.
Customizable: page scope, target directory, router, theme mode, refresh strategy. Value-added checks: sync sources; desktop/mobile navigation verification; AST capability boundaries.
FAQ
Q1: What is the main deliverable? Input the desktop top bar "Store Appointment" and route / → use the existing route Link to="/"; screenshots and HTML sources are recorded in .stitch; AST passing does not replace browser click testing.
Q2: When should other entry points be used instead? React Native native interface → stitch-react-native; shadcn primitive migration → stitch-shadcn-ui; Remotion walkthrough video → stitch-remotion, deliver a screen asset inventory.
Q3: What happens when inputs are missing? First provide a clearly marked draft of local assumptions, and list "Needs to be supplemented: target React project and existing toolchain; specified Stitch screens or cached assets with sources; route table, theme, and component behavior contracts". Write operations that depend on these inputs are not executed.
Q4: How is completion determined? AST only proves parsing, Props, and literal className hex checks; all theme roles come from the current design; the homepage link and each route have verifiable targets.
Q5: How to customize? Page scope, target directory, router, theme mode, refresh strategy; when not provided, follow existing project values and mark assumptions.
Q6: Does it automatically upload, install, or go live? Only perform actions covered by the current request and existing authorization; without a remote receipt, do not claim upload success; without runtime verification, do not claim it is live. Additional installation or scope expansion requires first explaining the specific impact.
Reference as needed
- Read when executing detailed mappings, APIs, or templates Extended workflow。
- Read when encountering failures/abnormal inputs Anti-patterns and Gotchas。
- Read when involving edge cases, compatibility, customization, and authorization In-depth FAQ。
- Read when complete input/output and verification scenarios are needed Local application examples。
- The local implementation basis is the current skill's accompanying source code and pinned upstream snapshot; the structure follows Agent Skills specification. The tool's current behavior is subject to the actual schema; when not connected, do not claim to have verified online behavior.
When to use
When the user needs to select and execute a verifiable, recoverable professional workflow for the current request , load this skill. First extract the goal, inputs, constraints, delivery format, and acceptance criteria from the request; the description summary is: convert or synchronize Stitch HTML/screens into React/Vite components; trigger when token, component Props, and navigation consistency verification are needed. shadcn primitive migration, data dashboards, React Native, or video use their respective specification entry points..
Rules
- Read before write: first confirm the current state and real capabilities, then perform actions that change external state.
- Least privilege: use only the files, tools, accounts, and network scope required to complete the current step.
- Evidence first: when run results, resource IDs, versions, hashes, or test outputs are missing, clearly mark them as
NOT_VERIFIED。 - Idempotency first: retain request identifiers and stage status; when results are unclear, query first and do not blindly retry.
- Privacy and security: logs, examples, receipts, and error messages must not contain tokens, cookies, keys, or personally sensitive data.
Workflow
Step 1: Clarify intent
Confirm whether this skill matches the goal; if it is only an adjacent need, hand it to a more precise skill.
Step 2: Execute pre-check
Confirm the goal, inputs, constraints, available tools, success criteria, and failure boundaries; if any key condition is unknown, stop at the read-only stage.
Step 3: Form a plan
List the tools to be called, the objects that will change, the success criteria, and the safe exit method after failure.
Step 4: Execute actions
Execute in minimal sufficient steps, and record evidence at key state changes; retain an associable state or receipt for every external call.
Step 5: Verify delivery
Output the results, verification evidence, unfinished items, risks, and clear next steps, and state facts, inferences, and unverified items separately.
Validation checklist
- The skill trigger conditions are consistent with the user's intent, and adjacent tasks were not misrouted to this skill.
- The inputs, target objects, versions, and output locations are all clear, and no required values were replaced with guesses.
- All write, payment, publishing, or irreversible actions are within the scope of user authorization.
- The results have been verified with independent checks; "the command succeeded" or "the file exists" alone does not count as complete acceptance.
- The output includes actual evidence, failed/skipped items, remaining risks, and executable next steps.
Gotchas
- Treating a plan as a result: A document or prompt is not the same as actual execution; the actual execution level must be indicated.
- Faulty retries: A timeout or lost response may already have produced remote state; query first before deciding whether to retry.
- Implicit scope expansion: Batch, full-volume, publishing, overwriting, and payment are not natural extensions of ordinary reads and writes.
- Version drift: When referencing external resources, record the version, tag, or commit; do not treat a mutable branch as release evidence.
- Stale evidence: Caches, old screenshots, and historical tests cannot prove the current environment; refresh key evidence before delivery.
Non-applicability and boundaries
Do not exceed the scope given by the user; write, payment, publishing, and irreversible actions require explicit authorization. If the request requires another skill, do not copy its body text; hand off by skill name, and preserve the current task context.
Progressive disclosure
- When it is necessary to determine inputs/outputs, state, and authorization points, read
references/workflow-contract.md。 - When pre-delivery self-check is needed, read
references/validation-checklist.md。 - When encountering timeouts, partial success, or recovery scenarios, read
references/error-recovery.md。 - For first runs, refusal of overreach, and failure recovery, refer to
examples/happy-path.md、examples/boundary-refusal.md、examples/failure-recovery.md。