شعار Product Visuals

Product Visuals

المجتمع
Innei
product-visuals

استخدم هذه المهارة عندما يريد المستخدم صورة تسويقية للمنتج مستندة إلى لقطات شاشة حقيقية من macOS أو iOS، مثل صورة رئيسية لجهازين، أو نموذج عرض بإطار جهاز، أو 宣传图 أو 产品图 أو 机型边框، أو عرض Safari أو الويب مع مراعاة الخصوصية، أو لقطات شاشة App Store، أو بطاقة OG، أو بطاقة سجل التغييرات، أو استبدال خلفية نموذج عرض جهاز موجود. استخدمها أيضًا عند تشغيل /product-visuals.

Add to TypingMind

نظرة عامة

الناشرInnei
المستودعSKILL
اسم المهارةproduct-visuals
النجوم
81
التفريعات
2
الملفات المرفقة
5
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Innei على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Product Visuals في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Innei/SKILL/tree/main/skills/content/product-visuals
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Innei/SKILL.git /tmp/SKILL
mkdir -p .claude/skills
cp -r /tmp/SKILL/skills/content/product-visuals .claude/skills/product-visuals
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Product Visuals في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Product Visuals تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Product Visuals بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Product Visuals

Compose product marketing stills from real app screenshots inside official Apple device bezels. Background is a separate layer and can be swapped without re-framing the screens.

Capability contract

  • Outcome: a 16:9 (or requested) PNG with iPhone / MacBook frames and pixel-accurate UI
  • Preconditions: iPhone screenshot and/or real app/browser window screenshot; network access to fetch Apple resources and public wallpaper when needed
  • Boundaries: do not invent or redraw UI; do not implement app-store-set / og-card / changelog-card in this version (route only)

Iron rules

  1. Never send product screenshots through an image model. Frames and composite are local code.
  2. Never commit or vendor Apple Design Resource PNGs/DMGs. Fetch them under ~/.cache/product-visuals/.
  3. Clip the screenshot to the interior screen mask, not the hole's bounding box (bbox corners sit outside the rounded device).
  4. Zero RGB on fully transparent bezel pixels and premultiply before LANCZOS resize.
  5. Shadows are padded contact shadows under the chassis. Do not blur the full bezel canvas — that stamps a rectangular plate.
  6. Never use the user's live desktop, personal wallpaper, notifications, bookmarks, or unrelated windows unless they explicitly request it.
  7. For a web product on Mac, screenshot a real local Safari window with its native shadow (screencapture -l <CGWindowID>). --mac accepts that window only; the compositor supplies the wallpaper and Menu Bar and never adds a second window shadow. Do not paste a webpage screenshot into someone else's Safari chrome. Do not redraw Safari.
  8. For iPhone, capture the simulator framebuffer with xcrun simctl io <udid> screenshot. Never screenshot the Simulator.app window. Never crop a screen out of an already-framed mockup.

Recipes

RecipeWhenStatus
dual-device-heroiPhone + Mac window, site hero / 宣传图implement
app-store-setApp Store screenshot setstub — say so, do not fake it
og-card1200×630 share cardstub
changelog-cardcompact update visualstub

Default composition for dual-device-hero: 4800×2700, opaque device group centered on the canvas, MacBook Pro 14 Space Black slightly left of that group, iPhone 17 Pro Silver overlapping lower right.

Workflow

text
[1] Pick recipe from the request (default dual-device-hero)
[2] Collect --phone (simctl framebuffer PNG) and --mac (real Mac window PNG with native shadow)
[3] Export the official Menu Bar SVG from Apple's macOS UI Kit and cache it with scripts/cache-macos-menu-bar.sh
[4] Let compose.py build the Mac screen as wallpaper -> official Menu Bar -> --mac window
[5] bash scripts/fetch-bezels.sh
[6] Derive background from the app's 调性 (see Background)
[7] uv run scripts/compose.py dual-device-hero --phone … --mac … --bg … --out …
[8] Open the PNG. Confirm UI is readable, no corner overflow, no rectangular plates around devices, background reads as the same product
bash
HERE="<path-to-this-skill>"
bash "$HERE/scripts/fetch-bezels.sh"
bash "$HERE/scripts/cache-macos-menu-bar.sh" "$MENU_BAR_SVG"
uv run "$HERE/scripts/compose.py" dual-device-hero \
  --phone "$PHONE" --mac "$MAC" --bg "$BG" --out "$OUT"

Swap background only — same screenshots, new --bg:

bash
uv run "$HERE/scripts/compose.py" dual-device-hero \
  --phone "$PHONE" --mac "$MAC" --bg "$BG" --out "$OUT"

--iphone-color silver|deep-blue|cosmic-orange and --mac-color space-black|silver select cached official bezels.

Background

The plate is the product's 调性, not a stock cinematic studio. Derive it from the screens (and DESIGN.md / tokens if the app repo is known). Do not rebuild device frames to change it.

Yohaku example: 余白, warm parchment #f9f8f5 / dark desk #141414, 梅 #c56473 ≤5% — paper and ink, not blue volumetric cinema.

User saysDo
nothing / defaultname the app's palette + material from the screenshots (and DESIGN.md). image_gen / gemini-image-generation: empty 16:9 plate in that 调性, no devices, no screens, no text; then --bg
cinematic / 更电影generic empty studio only when they asked for it
here's a file / 用这张底--bg that file
omit --bg / generation unavailablecompose.py samples the screenshots into a quiet gradient
换背景 on an existing herokeep the same --phone / --mac; new --bg still from that app's 调性

Generated atmospheres must stay empty. If a model draws a laptop or phone, discard and regenerate.

--bg-dim 0.88 darkens a too-bright plate. Default is 1.0 (unchanged).

macOS web presentation

When the Mac screen presents a website, read references/macos-web-scene.md before composing it. The --mac input is only the real Safari window capture. The compositor builds the privacy-safe desktop scene from separate wallpaper, Menu Bar, and window layers.

iPhone capture

--phone is the device framebuffer, not a photo of Simulator.app.

bash
UDID=$(xcrun simctl list devices booted | awk -F '[()]' '/Booted/{print $2; exit}')
xcrun simctl io "$UDID" screenshot phone.png

Accept: a rectangle at the device's native screenshot size (iPhone 17 Pro: 1206×2622). The status bar and iOS's black island pill are framebuffer pixels; the official bezel supplies the hardware island and camera.

Reject and recapture:

  • Simulator.app window (screencapture, axe of the window, a display screenshot that includes chassis chrome)
  • A crop from an already-framed mockup (camera already in the island, rounded device corners in the PNG)
  • Any size other than the booted device's native screenshot pixels

The workflow's "real window capture" is Mac only.

Inputs

FlagMeaning
--phoneSimulator framebuffer PNG from simctl io screenshot (iPhone 17 Pro: 1206×2622)
--macreal app/Safari window PNG with native window shadow; never a full desktop capture
--mac-wallpaperoptional public wallpaper override; otherwise use the built-in privacy-safe wallpaper layer
--mac-menu-baroptional transparent official Menu Bar PNG override; otherwise use the cached macOS 27 UI Kit layer
--bgoptional background image, any aspect; resized to the canvas
--outdestination PNG

Reject a --mac capture that includes wallpaper, a desktop corner, the display notch, Dock, notifications, or unrelated windows. Recapture only the target window.

Verification

Before claiming done:

  • Open --phone before composing: rectangle at native size, no silver chassis, no camera lens in the island.
  • Open the PNG. Read actual UI text on both screens — it must match the source screenshots.
  • Check iPhone top-left and both bottom corners: no screenshot rectangle leaking past the silver frame.
  • Check the Dynamic Island: one hardware island with the camera. A second black pill beside or below it means --phone was not a framebuffer shot, or the island was not covered by the bezel.
  • Check around both devices: no darker rectangular plate, no second shadow card on the Mac.
  • Check the MacBook display corner against the official bezel: the screen content reaches the official interior mask and has no second inset rounded corner from a desktop screenshot.
  • Check the pair as a group: left/right gaps around the opaque chassis should match. A left-heavy Mac with empty canvas on the right means the layout used PNG origin instead of the opaque union.
  • Background shares the product's palette and material. A blue cinematic void behind a parchment/ink app is wrong.
  • For a web product, confirm the browser is genuine Safari, fills roughly 84–90% of the desktop width, and contains no private browser or desktop data.
  • Confirm Safari has one native rounded border and one native soft shadow. A second hard or concentric arc means the compositor added or reconstructed a shadow; it must not do so.
  • Confirm the Menu Bar is the unmodified official UI Kit export: Apple glyph, outlined typography, status icons, spacing, and date/time must remain coherent.
  • If only the background should change, the framed screens must be identical to the previous export.

Common mistakes

MistakeFix
Image-model restyles the UI into the devicesCode composite only
alpha < 16 inside the screen bbox as the holeUse the interior flood-fill mask
Gaussian-blur the full bezel image for a drop shadowPadded contact shadow under the base
Resize RGBA without premultiplyDirty transparent RGB becomes a gray halo
Check Apple bezels into gitCache only; fetch-bezels.sh
Pin Mac at (150,150) / center the bezel PNG canvasCenter the opaque-union; 14" Mac mockups have ~230px empty top pad
Default to cinematic blue-rose studioRead the screens (and DESIGN.md). Generate or sample from the app
Pass a full desktop screenshot as --macPass only the target window; let the compositor own wallpaper and Menu Bar layers
Hand-draw Safari or paste a site shot into another window's chromeResize the live Safari window, capture that real window, and composite its PNG with alpha
Add a drop shadow around the Safari PNGKeep the native screencapture -l shadow; the compositor adds no window shadow
Repair rounded corners from a desktop screenshotRemove that code path; a wallpaper-first rectangular scene has no baked display corners
Recreate the Menu Bar with local fonts or hand-drawn iconsExport the official component from Apple's macOS UI Kit and cache it with cache-macos-menu-bar.sh
Screenshot of Simulator.app, or a crop from a framed mockupxcrun simctl io <udid> screenshot at native size
Two Dynamic Islands / camera floating next to a black pillRecapture with simctl; do not feed an already-framed PNG as --phone

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Product Visuals؟

استخدم هذه المهارة عندما يريد المستخدم صورة تسويقية للمنتج مستندة إلى لقطات شاشة حقيقية من macOS أو iOS، مثل صورة رئيسية لجهازين، أو نموذج عرض بإطار جهاز، أو 宣传图 أو 产品图 أو 机型边框، أو عرض Safari أو الويب مع مراعاة الخصوصية، أو لقطات شاشة App Store، أو بطاقة OG، أو بطاقة سجل التغييرات، أو استبدال خلفية نموذج عرض جهاز موجود. استخدمها أيضًا عند تشغيل /product-visuals.

لماذا تستخدم Product Visuals على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Product Visuals عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Product Visuals في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Innei/SKILL/tree/main/skills/content/product-visuals. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Product Visuals؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Product Visuals؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Product Visuals معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Product Visuals مجانية؟

نشرها Innei على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇