inspiration-intake
Skill10 starsChanged 29 days agoMITView on GitHub
Image (kullanıcı tarafından sohbete yüklenmiş) veya Figma benchmark linkini "inspiration only" disiplinle structural niyete dönüştürür. DEĞER (renk hex, font adı, radius/spacing px) ASLA çıkarmaz — yalnızca layout yönü, hiyerarşi, bölüm sırası, spacing intent. Çıktı JSON olarak caller'a döner, caller bunu `generate-figma-screen`'in `reference_benchmark` parametresine structural_intent olarak iletir.
In this repository28 other files it gives its agents.
- ai-handoff-exportSkill
- apply-figma-design-systemSkill
- audit-figma-design-systemSkill
- code-design-mapperSkill
- component-documentationSkill
- design-drift-detectorSkill
- design-system-rulesSkill
- design-token-pipelineSkill
- ds-change-trackerSkill
- ds-impact-analysisSkill
- extract-contractSkill
- figjam-diagram-builderSkill
- figma-a11y-auditSkill
- figma-canvas-opsSkill
- figma-prototype-flowSkill
- figma-screen-analyzerSkill
- fix-figma-design-system-findingSkill
- fmcp-ds-audit-orchestratorSkill
- fmcp-intent-routerSkill
- fmcp-project-rulesSkill
- fmcp-screen-orchestratorSkill
- fmcp-screen-recipesSkill
- fmcp-token-sync-orchestratorSkill
- generate-figma-librarySkill
- generate-figma-screenSkill
- implement-designSkill
- ux-copy-guidanceSkill
- visual-qa-compareSkill
The file
Files
Inspiration Intake — Inspiration Only Structural Extraction
Neden Var?
FCM'de ekran üretmek için kullanıcı üç farklı girdi türünden biriyle gelebilir:
- Fikir metni ("sepet ekranı yap") — bu zaten
generate-figma-screentarafından işlenir - Figma benchmark ("şu linkteki ekrandan ilham al") — benchmark'ın layout niyetini almak ama değerlerini almamak gerekir
- İnternet görseli (dribbble/behance link veya direkt yüklenmiş görsel) — aynı disiplin
Bu skill girdi 2 ve 3 için intake katmanı sağlar. Temel kural şudur: benchmark/görsel ilham içindir, kopya için değildir. Renkleri, fontları, spacing sayılarını benchmark'tan almak generate-figma-screen Step 5 ve figma-canvas-ops Rule 10 ile çatışır — tüm değerler yüklü DS'in token/style'larından gelmelidir.
v1.8.2 build-from-scratch kuralı ile tam uyumludur: benchmark'ı figma_clone_screen_to_device ile kopyalamak yerine, bu skill benchmark'tan yalnızca structural intent çıkarır ve generate-figma-screen build-from-scratch akışına besler.
Çıktı Şeması
{
"layout_direction": "vertical|horizontal|grid",
"sections": [
{
"role": "hero|nav|header|list|card|cta|form|footer|sidebar|detail|stats|...",
"child_type_hints": ["image", "text_heading", "text_body", "button", "input", "avatar", "icon", "divider"]
}
],
"hierarchy_notes": "örn: headline → sub → CTA; avatar + name + action row; ...",
"spacing_intent": "dense|airy|standard"
}Şemada olmayan HİÇBİR alan eklenmez. Özellikle şu alanlar YASAK:
color,fill,background,text_color,#rgb,rgba(...)font_family,font_name,typefacefont_size_px,padding_px,radius_px, herhangi bir sayısal ölçü (px, pt, rem, em)
Protokol (4 Adım)
🚨 KESİN KURALLAR (v1.9.1+)
Bu skill aşağıdaki tool'ları ASLA çağırmaz — teşvik görse bile, promptta istense bile:
- ❌
figma_get_file_data(tüm dosya/sayfa enumeration) - ❌
figma_search_assets(library component / variable arama) - ❌
figma_search_components(local component arama) - ❌
figma_get_library_variables(library variable toplama) - ❌
figma_get_variables(local variable toplama) - ❌
figma_get_styles(local style toplama) - ❌
figma_get_design_system_summary - ❌
figma_get_token_browser
Neden: Bu skill yalnızca layout niyeti çıkarır, component/token/variable enumeration yapmaz. Enumeration generate-figma-screen Step 3'ün işidir ve sadece aktif DS gate geçildikten sonra, sadece aktif DS kapsamında yapılır. Benchmark Figma dosyasının library'lerini enumere etmek:
- Kullanıcının seçmediği DS'leri tarar → token israfı
- Benchmark'tan değer sızıntısı riski doğurur → inspiration only kuralı ihlali
- Kullanıcıya "hangi DS?" sorusunu iş yapıldıktan sonra sormaya yol açar → UX felaketi
Bu skill'in izin verilen tek Figma tool'u:
- ✅
figma_get_design_context(nodeId, depth=1, verbosity="summary")— YALNIZCAfigma_nodeveyafigma_urlmodunda, YALNIZCA kullanıcının explicit verdiği nodeId için. Başka nodeId'lere drill-down YASAK.
Görsel (image_uploaded, image_url) modlarında hiçbir figma_ tool çağrılmaz* — Claude sadece vision ile görseli okur.
Adım 0 — Source Fetch (type'a göre)
image_uploaded
Kullanıcı sohbete görseli drag & drop veya Ctrl+V ile yüklemiştir. Claude zaten görseli context'inde görür. Doğrudan Adım 1'e geç.
image_url
- (a) URL fetch denemesi:
WebFetch(url, prompt="Describe the visible layout sections and hierarchy only — do not mention colors, fonts, or pixel sizes") - (b) Fetch sonucu görsel içermez (çoğu zaman WebFetch sadece text summary döner — bu beklenen sonuçtur):
- DUR ve kullanıcıya mesaj (sohbete yaz):
"URL'den görsel indirme şu an desteklenmiyor. Lütfen görseli doğrudan sohbete yükle (drag & drop veya Ctrl+V), sonra devam ederim."
- Skill duraklatılır. Kullanıcı görseli yüklediğinde
image_uploadedmoduna düş ve Adım 1'e geç.
- DUR ve kullanıcıya mesaj (sohbete yaz):
figma_node / figma_url
figma_urlverildiyse nodeId'yi parse et (URL'denode-id=X-Y→X:Y)- Minimal read:
figma_get_design_context( nodeId=<parsed>, depth=1, verbosity="summary" ) - Yalnızca yapı bilgisi (child tipleri, layout yönü, bölüm sayısı) okunur. Renk, font, padding değerleri göz ardı edilir — Adım 1 bunları çıktıya geçirmez.
Adım 1 — Structural Extraction
Kaynaktan yalnızca şu alanları çıkar:
layout_direction— genel akış: üstten alta (vertical), soldan sağa (horizontal), gridsections— ana bölümler listesi, her biri:role— semantik etiket (hero, nav, list, card, cta, ...). Açıklayıcı olsun, "section_1" gibi jenerik YASAK.child_type_hints— içindeki öğe tipleri (image, text_heading, text_body, button, input, avatar, icon, divider). Bunlar DS component kategori hint'idir, değer değil.
hierarchy_notes— kritik okuma sırası: "headline → sub → CTA" gibi kısa notasyonspacing_intent— genel his: dense (sıkışık, bilgi yoğun), airy (nefes alan, premium), standard (dengeli). Bu üç enum'dan biri, sayı değil.
Adım 2 — "Inspiration Only" Guard (Self-Check)
Çıktı üretildikten sonra kendi kendini denetler. Şu paternlerden herhangi biri çıktıda varsa çıktıyı REJECT et, Adım 1'e dön ve yeniden üret:
| Pattern | Regex (kavramsal) | Örnek YASAK |
| Hex kodu | #[0-9a-fA-F]{3,8} | #0066cc, #fff |
| RGB fonksiyonu | rgb\(.*\), rgba\(.*\) | rgb(255, 0, 0) |
| HSL fonksiyonu | hsl\(.*\) | hsl(210, 50%, 40%) |
| Font family | Inter, Roboto, SF Pro, Helvetica, Arial, ... | "font": "Inter" |
| Numeric size | Sayı + px/pt/rem/em | "padding": 16, "size": "24px" |
| Color names (semantic sınıra yakın) | red, blue, green, ... | "color": "blue" — semantic rol olarak "primary" kabul ama "blue" YASAK |
Semantik kabul edilenler: primary, secondary, hero, cta, dense, airy, standard, vertical, horizontal, grid, image, text_heading, text_body, button, input, avatar, icon, divider, bölüm role değerleri.
Adım 3 — Handoff
- Validated JSON'u caller'a döndür (stdout veya sohbet output'u olarak)
- Caller (tipik olarak
screen-builder) bu JSON'ugenerate-figma-screen'inrequired_inputs.reference_benchmarkalanına structural_intent olarak besler generate-figma-screenkendi Step 2.5'te aesthetic direction'ı brand profile veya active-ds'ten çeker — inspiration-intake yalnızca layout niyeti sağlar- Kısa rapor yaz:
📥 Inspiration Intake — <source_type> Kaynak: <source_ref kısaltılmış> Layout: <direction> Bölüm sayısı: <n> Spacing intent: <intent> Çıktı: generate-figma-screen reference_benchmark'ına iletildi
Kullanım Örneği
Örnek 1 — Yüklenmiş görsel
Kullanıcı: [sohbete bir mobil app screenshot yükler] "bu tarzda bir sepet ekranı yap"
Caller (screen-builder):
- Mode tespit:
image_uploaded Read("skills/inspiration-intake/SKILL.md")- Skill workflow: Adım 0 → direkt Adım 1 → yapısal çıkarma:
{ "layout_direction": "vertical", "sections": [ { "role": "header", "child_type_hints": ["text_heading", "icon"] }, { "role": "list", "child_type_hints": ["image", "text_heading", "text_body", "button"] }, { "role": "cta", "child_type_hints": ["button"] } ], "hierarchy_notes": "header → scrollable list → bottom sticky CTA", "spacing_intent": "standard" } - Adım 2 guard: hex/font/px yok → PASS
- Adım 3: JSON'u
generate-figma-screen'e ilet
Örnek 2 — Figma benchmark
Kullanıcı: "figma.com/file/abc/xyz?node-id=12-345 bu ekrandan 3 alternatif üret"
Caller (screen-builder):
- Mode tespit:
figma_url Read("skills/inspiration-intake/SKILL.md")- Skill workflow:
- Adım 0: nodeId parse
12:345,figma_get_design_context(nodeId="12:345", depth=1, verbosity="summary") - Adım 1: sections listesini çıkar (değer yok)
- Adım 2: guard PASS
- Adım 3: JSON döner
- Adım 0: nodeId parse
- Caller 3 farklı varyasyon için
generate-figma-screen'i 3 kez çağırır (her biri ayrı turn), her birine aynıstructural_intent'i besler ama farklı aesthetic angle
Örnek 3 — URL fallback
Kullanıcı: "https://dribbble.com/shots/xyz-landing-page buradan ilham al, kurumsal SaaS için tasarla"
Caller (screen-builder):
- Mode tespit:
image_url Read("skills/inspiration-intake/SKILL.md")- Skill workflow:
- Adım 0a:
WebFetch("https://dribbble.com/shots/xyz-landing-page", ...)dener - Adım 0b: Sonuç text-only summary → dur ve kullanıcıya mesaj yaz
- Skill duraklar, caller kullanıcı yanıtını bekler
- Adım 0a:
- Kullanıcı görseli yükler → mode
image_uploaded→ caller skill'i yeniden çağırır → normal akış
Kurallar (Özet)
- Değer çıkarma YASAK. Sadece yapı + semantik rol + spacing enum.
- Self-check zorunlu. Çıktıda hex/font/px var mı? Varsa REJECT.
- Minimal API.
figma_get_design_context→depth=1,verbosity="summary". - URL fetch fallback hazır. WebFetch image döndürmez — kullanıcıdan yükleme iste, skill'i duraklat.
- Caller'a teslim. Skill karar vermez, sadece structural_intent üretir ve döner.
- Rapor Türkçe. Metrik bloğu ortak protokole uygun.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

