본문으로 건너뛰기
cccskills
무료GitHub에 공개

stitch-mcp-edit-screens

Edits existing Stitch screens with text prompts — the iteration tool. Change colors, layout, content, or style without regenerating from scratch. Supports refinement loops via output_components suggestions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Stitch MCP — Edit Screens

Edits one or more existing screens using a text prompt. This is the primary iteration tool — instead of regenerating a screen from scratch (60–180s), you can refine what you already have with targeted changes.

Critical prerequisite

Only use this skill when the user explicitly mentions "Stitch".

You must have both a projectId AND at least one screenId before calling this. If you don't:

  • List screens via stitch-mcp-list-screens to find screen IDs
  • Parse from context: projects/123/screens/456 → projectId: 123, screenId: 456

When to use

  • User wants to modify an existing Stitch screen (change colors, layout, content, style)
  • After generation, user says "make it darker", "change the font", "move the nav to the side"
  • The orchestrator's Step 5b offers "Edit this screen"
  • Any iterative refinement on a Stitch design

Call the MCP tool

{
  "name": "edit_screens",
  "arguments": {
    "projectId": "3780309359108792857",
    "selectedScreenIds": ["88805abc123def456"],
    "prompt": "Change the background to dark mode (#09090B). Make the primary color indigo (#818CF8). Increase the font size of the header to 32px bold.",
    "deviceType": "DESKTOP",
    "modelId": "GEMINI_3_1_PRO"
  }
}

Parameter reference

projectId — numeric ID only, no prefix

✅ "3780309359108792857"
❌ "projects/3780309359108792857"

selectedScreenIds — array of numeric screen IDs

✅ ["88805abc123def456"]
❌ ["projects/123/screens/88805abc123def456"]
❌ ["screens/88805abc123def456"]

Select one or more screens to edit. All selected screens receive the same edit instruction.

prompt — the edit instruction

Apply the same quality bar as generation prompts:

  • Be specific: "Change background to #09090B" not "make it darker"
  • Name exact components: "the header navigation" not "the top part"
  • Include values: hex colors, px sizes, specific content text
  • One focused change per call produces better results than many changes at once

deviceType — optional

Same enum as generate_screen_from_text: MOBILE, DESKTOP, TABLET, AGNOSTIC

modelId — optional

ValueUse when
GEMINI_3_1_PRORecommended — complex layouts, high fidelity
GEMINI_3_FLASHFast iteration, wireframes, simple changes
GEMINI_3_PRODeprecated. Still works but will be removed. Use GEMINI_3_1_PRO instead.

Handling output_components

The response may contain output_components with suggestions:

{
  "outputComponents": [
    { "text": "I've updated the background color and adjusted contrast ratios." },
    { "suggestion": "Would you also like me to update the sidebar to match the dark theme?" }
  ]
}

When you see suggestions:

  1. Present them to the user
  2. If the user accepts: call edit_screens again with the suggestion as the new prompt
  3. This creates a natural refinement loop — keep going until the user is satisfied

Timing

Same as generation: 60–180 seconds is normal.

  • Do NOT retry during this window
  • Do NOT assume failure if it takes > 60 seconds
  • Each call creates a new edit — retries mean duplicate edits

After editing

  1. Re-fetch the screen: stitch-mcp-get-screen with the same projectId and screenId
  2. Show the updated screenshot to the user
  3. Offer:
    • "Continue editing?" → another edit_screens call
    • "Generate variants of this version?" → stitch-mcp-generate-variants
    • "Convert to code?" → framework conversion workflow

Anti-patterns

  • Never send vague edit prompts — "make it better" will produce unpredictable results
  • Never use projects/ID format for projectId or screenId — both must be numeric
  • Never batch unrelated edits — "change the color AND completely redo the layout" works poorly

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus management, and screen reader support.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

gabelul/stitch-kit452026년 7월 21일 업데이트

Adds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte transitions. Always respects prefers-reduced-motion.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

gabelul/stitch-kit452026년 7월 21일 업데이트

Analyzes a Stitch project's screens and synthesizes a natural-language DESIGN.md — visual atmosphere, color palette with hex values, typography rules, and Stitch-ready prompt snippets. Use this before stitch-loop or any multi-page build to establish design consistency.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

gabelul/stitch-kit452026년 7월 21일 업데이트

Extracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4 @theme block, and a semantic design system document. Run this before framework conversion skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

gabelul/stitch-kit452026년 7월 21일 업데이트

Converts a Stitch screen, a local HTML file, or a URL into clean, platform-agnostic HTML5 + CSS — semantic markup, CSS custom properties for theming, dark mode via prefers-color-scheme, mobile-first responsive, zero framework dependencies. Works in browsers, WebViews, Capacitor, and Ionic. Only the Stitch route needs an API key.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

gabelul/stitch-kit452026년 7월 21일 업데이트

Conversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive questioning — then produces a rich PRD document and auto-generates Stitch screens. Your design buddy that thinks deeply before designing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

gabelul/stitch-kit452026년 7월 21일 업데이트

gabelul의 스킬 모두 보기

이 스킬의 문제 신고