chatbot-app/agentcore/skills/visual-design/SKILL.md
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.
npx skillsauth add aws-samples/sample-strands-agent-with-agentcore visual-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| 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 | create_visual_design | Read diagram-design.md|
Data visualization. Executes matplotlib/plotly code to produce chart PNGs.
python_code (str, required): Chart generation Python codeoutput_filename (str, required): .png filenameVisual 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): .png or .pdf filename| Purpose | Libraries | Output | Notes | |---------|-----------|--------|-------| | Data charts | matplotlib, plotly, bokeh | PNG | Best for charts | | PDF design | reportlab, fpdf | PDF | 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).
generate_chart)plt.savefig(filename, dpi=300, bbox_inches='tight')create_visual_design)canvas.save(), Pillow image.save(), matplotlib plt.savefig()| 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 |
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):
output_filename provideddpi=300 or higher recommendedAssume there are problems and look for them.
development
Read and write files in the shared session workspace. Use this to access files created by any skill — code-agent outputs, office documents, images, and more. All within the same isolated session.
documentation
Create, modify, and manage Word documents.
documentation
Wikipedia article search and retrieval
development
Search the web using DuckDuckGo for current information, news, and research topics.