跳到正文
cccskills
免费在 GitHub 公开

imagegen

Create artwork, product visuals, diagrams, and other images using the desktop's configured image provider. It also edits or combines supplied images and generates variations, turning requests into detailed instructions for composition, style, colors, and text.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Create illustrations or product visuals
  • Generate diagrams with labels and connections
  • Edit or combine supplied images
  • Generate several variations of one visual concept

包含的文件(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 count only for multiple variations of the same prompt. For different concepts, make separate calls.
  • ImageEdit requires referenced_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 earlier ImageGen call. 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_ratio when 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create a short WeChat group announcement and a tall PNG poster from Chinese release notes. The skill summarizes features and fixes, verifies credited contributors through GitHub, and includes their actual profile images.

中文简介正在准备中。当前显示英语简介。

  • Preparing a WeChat group release announcement
  • Turning release notes into a mobile-friendly poster
  • Crediting contributors with verified GitHub profile images
NanmiCoder/cc-haha1.5万2026年10月19日 更新

verify

免费

Verify a code change by running the app and checking that it works as expected. Use it after a fix or other change to confirm the intended behavior in the running application.

中文简介正在准备中。当前显示英语简介。

  • Check app behavior after a code change
  • Confirm that a fix works as expected
  • Verify the intended result of a feature change
NanmiCoder/cc-haha1.5万2026年10月19日 更新

查看 NanmiCoder 的全部技能

报告此技能的问题