workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch-implementation-handoff/SKILL.md
Convert final Stitch screen artifacts into minimal, repo-native frontend changes by reusing local components, preserving validated logic, and documenting any intentional drift from the design source.
npx skillsauth add cubetiq/cubis-foundry stitch-implementation-handoffInstall 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.
Turn the final Stitch artifact into production-ready UI changes without guessing the design. This skill owns the repo-native mapping step after Stitch generation or editing is finished.
Pull the actual final Stitch artifact before coding — Use the latest screen artifact, metadata, and image/snapshot from Stitch. Do not reconstruct the screen from memory or from a stale prompt.
Map Stitch output into the repo's real stack — Re-express the artifact in the project's framework, routing model, styling system, tokens, and component primitives, with docs/foundation/DESIGN.md treated as the authoritative design contract.
Prefer local component reuse over one-off markup — If the project already has buttons, cards, typography, navigation, or layout primitives, use those instead of cloning raw Stitch structure.
Keep diffs minimal on existing screens — Compare the local implementation against the refreshed Stitch artifact and patch only the changed structure, spacing, copy, tokens, states, and assets.
Preserve business logic and architecture — Keep local data flow, validation, submission logic, navigation contracts, and test seams unless the task explicitly requires structural changes.
Preserve accessibility and interaction states — Maintain semantic structure, keyboard flow, focus treatment, labels, contrast, loading/error/empty states, and responsive behavior while translating the design.
Call out unavoidable drift explicitly — If the repo's canonical design system, data model, or framework constraints prevent a literal Stitch match, explain the exact deviation and why it was necessary.
Deliver:
| File | Load when |
| --- | --- |
| ../design/references/execution-contract.md | Need the modern split between canonical design state, owning surface, and implementation handoff. |
| ../web-ui-design/references/component-architecture.md | Need to map a Stitch screen into reusable primitives and composite components. |
| File | Use when |
| --- | --- |
| examples/01-new-screen.md | Creating a new screen from Stitch output. |
| examples/02-update-existing-screen.md | Patching an existing screen from updated Stitch artifacts. |
| examples/03-mobile-handoff.md | Translating Stitch into a mobile framework or native stack. |
tools
Use when investigating latest vendor behavior, comparing tools or platforms, verifying claims beyond the repo, or gathering external evidence before implementation.
documentation
Use when designing database schemas, normalization strategies, indexing plans, query optimization, and migration workflows for relational, document, or hybrid data stores.
development
Use when writing, reviewing, or refactoring modern C#/.NET code, including minimal APIs, records, async streams, pattern matching, DI lifetimes, and memory-efficient performance tuning.
development
Use when conducting code reviews, building review checklists, calibrating review depth, providing structured feedback, or establishing team review practices. Covers review methodology, feedback patterns, automated checks, and batch review strategies.