
visual-design
Use this skill any time the user needs a visual output as an image or PDF — charts, diagrams, posters, infographics, abstract artwork, or any visual design. Trigger for: data visualization requests, poster/flyer creation, infographic design, abstract or artistic visuals, architecture/flow diagrams, or any request mentioning 'chart', 'graph', 'poster', 'infographic', 'design', 'visual', or referencing .png/.pdf image output.
- Installs
- 40
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill visual-design- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads visual-design automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Visual Design
Quick Reference
| Task | Tool | Guide |
|---|---|---|
| Data chart or graph | generate_chart | Read SKILL.md Design Ideas |
| Poster / infographic / art | create_visual_design | Read canvas-design.md |
| Architecture / flow diagram | Excalidraw skill | Use create_excalidraw_diagram for an editable in-app result. Use image generation only when a raster or print deliverable is requested. |
Available Tools
generate_chart
Data visualization. Executes matplotlib/plotly code to produce chart PNGs.
python_code(str, required): Chart generation Python codeoutput_filename(str, required):.pngfilename
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 codeoutput_filename(str, required):.pngor.pdffilename
Available Libraries
| Purpose | Libraries | Output | Notes |
|---|---|---|---|
| Data charts | matplotlib, plotly, bokeh | PNG | Best for charts |
| PDF design | reportlab, fpdf | Full control | |
| Image design | Pillow + fonttools | PNG | Best for PNG designs |
| Vector graphics | svgwrite → svglib + renderPDF | SVG → PDF | SVG→PNG NOT supported (no renderPM) |
| Image processing | Wand (ImageMagick), opencv-python | PNG | Check availability first |
IMPORTANT: For PNG output, use Pillow or matplotlib. Do NOT use svgwrite→renderPM (rlPyCairo is unavailable).
Design Workflow
Data Charts (generate_chart)
- Identify data structure and choose appropriate chart type
- Select color palette (see Design Ideas below)
- Preserve requested labels, units, colors, dimensions, and explicit axis limits in the code. Verify these against the generated output.
- Write code with
plt.savefig(filename, dpi=300, bbox_inches='tight') - Review the generated chart and confirm the saved file matches the requested format and filename
Visual Design (create_visual_design)
- Establish design concept/philosophy (internally)
- Follow the process in canvas-design.md
- Select appropriate library and write code
- Save: reportlab
canvas.save(), Pillowimage.save(), matplotlibplt.savefig() - Review output and refine
Design Ideas
Color Palettes
| Theme | Primary | Accent | Background |
|---|---|---|---|
| Midnight Executive | 1E2761 | 408EC6 | 0D1B2A |
| Forest & Moss | 2C5F2D | 97BC62 | 1A1A1A |
| Coral Energy | F96167 | F9E795 | 2F3C7E |
| Ocean Gradient | 065A82 | 1B9AAA | 021B29 |
| Charcoal Minimal | 36454F | E8E8E8 | 1C1C1E |
| Cherry Bold | 990011 | FCF6F5 | 150E11 |
| Sage Calm | 84B59F | 69A297 | 2D3A2D |
| Warm Terracotta | B85042 | E7E8D1 | 2A1F1C |
Typography
Prefer thin/light fonts. Minimize text in designs.
| Element | Size | Style |
|---|---|---|
| Main title | 48-72pt | Bold or Thin |
| Subtext | 14-18pt | Light |
| Labels/captions | 8-12pt | Regular, 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_filenameprovided - PNG:
dpi=300or higher recommended - PDF: A4 or Letter size recommended
- For Korean text: configure appropriate fonts
QA
Assume there are problems and look for them.
- Review the generated image/PDF
- Check for overlapping elements, clipped text, insufficient margins
- Verify sufficient color contrast
- If issues found, fix the code and regenerate
- If a check fails, correct and verify it. Do not regenerate an already valid output solely to perform a fix cycle.
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
FAQ
What does the visual-design skill do?
Use this skill any time the user needs a visual output as an image or PDF — charts, diagrams, posters, infographics, abstract artwork, or any visual design. Trigger for: data visualization requests, poster/flyer creation, infographic design, abstract or artistic visuals, architecture/flow diagrams, or any request mentioning 'chart', 'graph', 'poster', 'infographic', 'design', 'visual', or referencing .png/.pdf image output.
How do I install visual-design?
Run npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill visual-design in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/visual-design/ (personal) or .claude/skills/visual-design/ (project).
Which AI agents can use visual-design?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is visual-design safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains visual-design?
It is published by aws-samples in aws-samples/sample-strands-agent-with-agentcore. It has 40 recorded installs.
More from aws-samples/sample-strands-agent-with-agentcore
financial-news
aws-samples/sample-strands-agent-with-agentcore
Open the skill to read its SKILL.md instructions.
code-interpreter
aws-samples/sample-strands-agent-with-agentcore
Test and prototype code in a sandboxed environment. Use for debugging, verifying logic, or installing packages.
word-documents
aws-samples/sample-strands-agent-with-agentcore
Open the skill to read its SKILL.md instructions.
google-maps
aws-samples/sample-strands-agent-with-agentcore
Place search, directions, geocoding, and interactive maps
wikipedia-search
aws-samples/sample-strands-agent-with-agentcore
Open the skill to read its SKILL.md instructions.
arxiv-search
aws-samples/sample-strands-agent-with-agentcore
Open the skill to read its SKILL.md instructions.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.