Agent Skills › SourceWeft/SourceWeft › image-generate

image-generate

GitHub

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

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

Trigger Scenarios

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

Install

npx skills add SourceWeft/SourceWeft --skill image-generate -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 66a6a34 Current 2026-11-07 08:57

Same Skill Collection

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

Metadata

Files
0
Version
66a6a34
Hash
40e8ec1d
Indexed
2026-11-07 08:57

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 20:42
浙ICP备14020137号-1