Token导航 LogoToken导航TokenDH.com
前端设计可写文件github未标认证来源可访问许可证需确认审计通过

visual-design视觉设计

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

698

周安装

30

GitHub Stars

151

下载量

245
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:visual-design(视觉设计)
来源仓库:https://github.com/aws-samples/sample-strands-agent-with-agentcore
仓库路径:skills/visual-design
安装命令:
npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill visual-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill visual-design

简介

用于生成图表、海报、信息图或流程图等视觉素材,支持多种绘图库。

  • 适合制作报告插图、演示文稿配图或架构示意图,提升内容表现力。
  • 使用 generate_chart 编写 matplotlib/plotly 代码,或用 create_visual_design 描述设计需求。
  • 依赖本地 Python 环境安装相关依赖包,复杂图形建议先验证代码片段。
  • visual-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Visual Design

Quick Reference

TaskToolGuide
Data chart or graphgenerate_chartRead SKILL.md Design Ideas
Poster / infographic / artcreate_visual_designRead canvas-design.md
Architecture / flow diagramcreate_visual_designRead diagram-design.md

Available Tools

generate_chart

Data visualization. Executes matplotlib/plotly code to produce chart PNGs.

  • python_code (str, required): Chart generation Python code
  • output_filename (str, required): .png filename

create_visual_design

Visual design creation: posters, infographics, artwork, diagrams. Uses reportlab, Pillow, svgwrite, or any available library.

  • python_code (str, required): Design generation Python code
  • output_filename (str, required): .png or .pdf filename

Available Libraries

PurposeLibrariesOutputNotes
Data chartsmatplotlib, plotly, bokehPNGBest for charts
PDF designreportlab, fpdfPDFFull control
Image designPillow + fonttoolsPNGBest for PNG designs
Vector graphicssvgwrite → svglib + renderPDFSVG → PDFSVG→PNG NOT supported (no renderPM)
Image processingWand (ImageMagick), opencv-pythonPNGCheck availability first

IMPORTANT: For PNG output, use Pillow or matplotlib. Do NOT use svgwrite→renderPM (rlPyCairo is unavailable).

Design Workflow

Data Charts (generate_chart)

  1. Identify data structure and choose appropriate chart type
  2. Select color palette (see Design Ideas below)
  3. Write code with plt.savefig(filename, dpi=300, bbox_inches='tight')
  4. Review the generated chart

Visual Design (create_visual_design)

  1. Establish design concept/philosophy (internally)
  2. Follow the process in canvas-design.md
  3. Select appropriate library and write code
  4. Save: reportlab canvas.save(), Pillow image.save(), matplotlib plt.savefig()
  5. Review output and refine

Design Ideas

Color Palettes

ThemePrimaryAccentBackground
Midnight Executive1E2761408EC60D1B2A
Forest & Moss2C5F2D97BC621A1A1A
Coral EnergyF96167F9E7952F3C7E
Ocean Gradient065A821B9AAA021B29
Charcoal Minimal36454FE8E8E81C1C1E
Cherry Bold990011FCF6F5150E11
Sage Calm84B59F69A2972D3A2D
Warm TerracottaB85042E7E8D12A1F1C

Typography

Prefer thin/light fonts. Minimize text in designs.

ElementSizeStyle
Main title48-72ptBold or Thin
Subtext14-18ptLight
Labels/captions8-12ptRegular, muted

Text-to-Canvas Balance (IMPORTANT):

  • Text size must be proportional to the overall canvas and surrounding design elements
  • Common mistake: text that is too small relative to the canvas, making it unreadable at normal viewing distance
  • Rule of thumb: if you need to zoom in to read it, it's too small
  • Titles should command attention — when in doubt, go larger
  • Labels/captions should be clearly legible, not decorative afterthoughts
  • Test: mentally shrink the output to 50% — all text should still be readable

Spacing & Composition

  • Generous margins (minimum 10% of canvas)
  • Consistent spacing between elements
  • No overlapping; all elements within canvas bounds
  • Visual hierarchy: convey importance via size, color, position

Avoid

  • Elements flush to canvas edges (insufficient margins)
  • Overlapping elements
  • Too many colors (stick to 3-4)
  • Excessive text — visual elements are the focus
  • Default matplotlib styles without customization

Code Requirements

  • Code must save a file to disk
  • Use the exact output_filename provided
  • PNG: dpi=300 or higher recommended
  • PDF: A4 or Letter size recommended
  • For Korean text: configure appropriate fonts

QA

Assume there are problems and look for them.

  1. Review the generated image/PDF
  2. Check for overlapping elements, clipped text, insufficient margins
  3. Verify sufficient color contrast
  4. If issues found, fix the code and regenerate
  5. Complete at least one fix-verify cycle before finishing

UI Guidance (from tools-config)

Tool Selection:

  • generate_chart: Data charts/graphs (matplotlib, plotly, bokeh) → PNG
  • create_visual_design: Posters, infographics, artwork, flow diagrams (reportlab, Pillow, svgwrite) → PNG or PDF

Code Requirements:

  • Charts: plt.savefig(filename, dpi=300, bbox_inches='tight')
  • PDF designs: canvas.save() (reportlab) or equivalent
  • Image designs: image.save(filename) (Pillow)
  • PNG: dpi=300+ recommended
  • PDF: A4 or Letter size recommended

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.02%
按下载量换算96

Claude

28.92%
按下载量换算71

Cursor

18.46%
按下载量换算45

Gemini CLI

9.61%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills