Agent Skills › SourceWeft/SourceWeft › image-generate

image-generate

GitHub

基于文本提示生成持久化图像资源,适用于创建位图、海报、产品模型等视觉内容。

packages/builtin-skill-image-generate/SKILL.md SourceWeft/SourceWeft

触发场景

用户请求生成或绘制图像 需要制作产品样机或概念艺术

安装

npx skills add SourceWeft/SourceWeft --skill image-generate -g -y
更多选项

非标准路径

npx skills add https://github.com/SourceWeft/SourceWeft/tree/main/packages/builtin-skill-image-generate -g -y

不安装直接使用

npx skills use SourceWeft/SourceWeft@image-generate

指定 Agent (Claude Code)

npx skills add SourceWeft/SourceWeft --skill image-generate -a claude-code -g -y

安装 repo 全部 skill

npx skills add SourceWeft/SourceWeft --all -g -y

预览 repo 内 skill

npx skills add SourceWeft/SourceWeft --list

SKILL.md

Frontmatter
{
    "name": "image-generate",
    "description": "Generate persisted image artifacts from text prompts. Use when the user asks to create, render, draw, illustrate, design, or generate a bitmap image, poster visual, product mockup, concept art, or other standalone raster visual artifact through SourceWeft image generation."
}

Image Generate

Use SourceWeft's built-in generate_image tool to create persisted image artifacts.

Tool

Call generate_image with a concise visual prompt. The callable arguments are prompt and optional title; aspect ratio, quality, and style are configured by SourceWeft options.

Workflow

  1. Treat the user request as an image brief.
  2. Preserve the requested subject, style, composition, visible text, and constraints.
  3. Expand vague requests only enough to make the image prompt clear.
  4. Call generate_image once for each distinct image.

Boundaries

  • Do not use a sandbox or filesystem workflow for this skill.
  • Use a code-native or vector workflow when the user explicitly asks for SVG, HTML/CSS/canvas, charts, technical diagrams, or changes to an existing logo/icon system.

Output

  • Return a generated image artifact, not only a text description.
  • Do not return raw file paths, raw artifact URLs, or image markdown; SourceWeft displays the artifact.
  • If generation succeeds, respond with at most one short sentence.
  • If generate_image is unavailable or fails, report the failure briefly.

版本历史

  • 66a6a34 当前 2026-11-07 08:57

同 Skill 集合

packages/builtin-skill-feynman/SKILL.md
packages/builtin-skill-html-slides/SKILL.md
packages/builtin-skill-html/SKILL.md
packages/builtin-skill-meeting-summary/SKILL.md
packages/builtin-skill-ppt-deck/SKILL.md
packages/builtin-skill-report/SKILL.md
packages/builtin-skill-video-presentation/SKILL.md

元信息

文件数
0
版本
66a6a34
Hash
40e8ec1d
收录时间
2026-11-07 08:57

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 23:02
浙ICP备14020137号-1