imagegen
ما الذي تفعله
تتيح للمساعد أن يولّد صوراً أصلية وصور منتجات ومخططات، وأن يُجري تعديلات على صور شاركتها. وهي لمن يحتاج إلى صور نقطية جديدة.
متى تستخدمها
- ✓عندما تطلب صورة جديدة أو رسماً توضيحياً أو صورة منتج.
- ✓عندما تريد إجراء تغييرات على صورة أرفقتها في المحادثة من قبل.
- ✓عندما تريد عدة نسخ من فكرة الصورة نفسها لتختار منها.
رابط المهارة
https://github.com/NanmiCoder/cc-haha/blob/main/src/skills/bundled/imagegen/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ولّد صورة منتج نظيفة لكوب خزف أخضر على خلفية بيضاء.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستدعي المساعد أداة توليد الصور لصور جديدة، أو أداة التحرير لصور موجودة. يحصل كل فكرة مختلفة على طلب خاص بها، ويتولى تطبيق سطح المكتب المزود والتخزين.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Image generation
Use the built-in ImageGen and ImageEdit tools. Provider authentication, model routing, output storage, and secrets are managed by the desktop host; never ask the user to put an API key in this skill or in the prompt.
Decide the request shape
- Treat a brand-new visual as generation and call
ImageGen. Its schema intentionally has no image-path argument. - Treat a request that preserves, combines, or changes an existing visual as an edit and call
ImageEdit. - One distinct prompt equals one tool call.
- Use
countonly for multiple variations of the same prompt. For different concepts, make separate calls. ImageEditrequiresreferenced_image_paths: populate it with ordered, exact paths to images the user supplied in this conversation — a path surfaced by[Image source: ...], a file the user attached with@, or a path returned by an earlierImageGencall. Never invent, search for, or substitute another filesystem path, and never read an image off disk yourself to use it as an input; if the user means an image you have no path for, ask them to attach it. The first image is the primary canvas unless the user says otherwise.- For multi-turn editing, use the latest selected output as the next turn's
edit_target. Repeat all identity, layout, text, and unchanged-region constraints on every turn so edits do not drift. - To edit several images independently, make one call per image. Put multiple images in one call only when the user wants them combined or used together as references. A single call accepts at most three source images.
- Prefer a useful default composition when the user leaves details open. Do not invent branding, logos, or people they did not request.
- Provider and image model selection come from the current desktop session; do not add either to the tool arguments.
- If the provider returns an error, do not retry the image tool automatically. Explain the failure and let the user decide whether to retry or change providers.
Build the prompt
Turn the request into a complete art-direction brief. Preserve all relevant user-specified detail.
- use case and image type
- subject, action, and important attributes
- environment and context
- composition, framing, and camera angle
- lighting and mood
- visual style or medium
- color palette
- exact text, only when text must appear in the image
- constraints and elements to avoid
For edits, start the prompt with each input's numbered role, then say change only X; keep Y unchanged. For a composite, specify which subject or visual property comes from each numbered image and preserve the requested identities. Do not rely on conversational pronouns such as "it" or "the previous one" inside the tool prompt.
Preserve the user's intent and wording for names or required on-image text. For diagrams, specify hierarchy, reading order, labels, and connections. For photorealistic work, describe lens, depth of field, lighting direction, and material detail when they matter.
Output options
- Use
aspect_ratiowhen the user describes a layout such as square, portrait, landscape, banner, or phone wallpaper. - Use
resolution: "2k"only when higher resolution is useful and supported. - Use transparent background only when requested or clearly needed for a reusable asset.
- The host displays one placeholder per requested image and replaces each slot as the saved image becomes available.
After a successful call, briefly summarize what was created or changed. The host card already displays and opens the saved images, so do not repeat, link, or embed the returned local paths in the final answer. Do not include base64 data in the conversation.
الأسئلة الشائعة
هل أحتاج إلى إعطاء المساعد مفتاح API؟
لا. يدير مضيف سطح المكتب مزود الصور، فلا تحتاج إلى وضع أي مفتاح في الأمر.
هل يستطيع تعديل أي صورة على حاسوبي؟
لا. يعدّل فقط الصور التي زودته بها في المحادثة، ويطلب منك إرفاق أي صورة لا يجدها.
كم نسخة يستطيع أن يصنع؟
يستطيع إنتاج عدة نسخ من أمر واحد، لكن الأفكار المختلفة تحتاج إلى طلبات منفصلة.
التفاصيل
الوصف الأصلي من المؤلف
Generate original images, artwork, product visuals, diagrams, or other raster assets with the desktop's configured image provider. Use whenever the user asks to create or generate an image.
repo: NanmiCoder/cc-haha
الشعبية
- نجوم GitHub
- 15k
- الترتيب
- #10919
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-desktop-ffi
15kيساعد المطورين على استدعاء مكتبة agent-desktop للأتمتة مباشرة من Python أو Swift أو Node أو Go أو C++، دون تشغيل أداة سطر الأوامر لكل إجراء.
agent-desktop-linux
15kيعلّم وكيلك كيف يتحكم بتطبيقات سطح مكتب Linux عبر agent-desktop، ويشمل ما يعمل على X11 وWayland والإصلاحات الشائعة عند أول تشغيل.
agent-desktop-macos
15kيبيّن لوكيلك كيف يؤتمت تطبيقات Mac، بما في ذلك منح الأذونات اللازمة والعمل مع القوائم وحوارات النظام وتطبيقات Chromium وElectron.
agent-desktop-windows
15kيبيّن لوكيلك كيف يؤتمت تطبيقات Windows، ويغطي ما يعمل، وتنسيق الاقتباس في PowerShell، والنوافذ المصغّرة، وحدود التطبيقات المرفوعة الصلاحيات.
مهارات مشابهة
gifgrep
394kيتيح لوكيلك البحث في مكتبات GIF ومعاينة النتائج وتنزيل ملف GIF، واستخراج إطار ثابت أو شبكة إطارات منه.
meme-maker
394kيتيح لوكيلك اختيار قالب ميم وإضافة عناوينك الخاصة، ثم إنشاء الميم كصورة بصيغة SVG أو PNG.
ios-icon-gen
280kيتيح لوكيلك إنشاء أيقونات لتطبيقات iOS. يستخدم رموز Apple أو أيقونات من مصادر أخرى لإنشاء الملفات الصحيحة.