Skip to content
Back to skills

Visual Assets

ASecurity

Create and manage visual assets. Use when creating graphics, icons, or images. Covers asset formats and optimization.

  • 34 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
designgobashperformance

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add nguyenhuuca/assessment --skill visual-assets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Visual Assets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Visual Assets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nguyenhuuca-visual-assets/badge)](https://www.skillsdirectory.com/skills/nguyenhuuca-visual-assets)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: visual-assets
description: Create and manage visual assets. Use when creating graphics, icons, or images. Covers asset formats and optimization.
allowed-tools: Read, Write, Bash, Glob, Grep
---

# Visual Assets

## Asset Types

### Icons
- **SVG**: Scalable, small file size, CSS styling
- **Icon fonts**: Easy to use, limited styling
- **PNG sprites**: Legacy, larger files

### Images
- **JPEG**: Photos, complex images
- **PNG**: Transparency, screenshots
- **WebP**: Modern, smaller files
- **AVIF**: Newest, best compression

### Graphics
- **SVG**: Illustrations, logos, charts
- **Lottie**: Animations, complex motion

## Optimization

### Image Compression
```bash
# WebP conversion
cwebp -q 80 input.png -o output.webp

# AVIF conversion
avifenc input.png output.avif

# PNG optimization
pngquant --quality=65-80 input.png
```

### Responsive Images
```html
<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="Description"
       srcset="image-400.jpg 400w,
               image-800.jpg 800w,
               image-1200.jpg 1200w"
       sizes="(max-width: 600px) 100vw, 50vw">
</picture>
```

### SVG Optimization
```bash
# SVGO optimization
svgo input.svg -o output.svg
```

## Icon Guidelines

- Consistent stroke width
- Consistent sizing (24x24, 20x20)
- Optical alignment
- Clear at small sizes

## File Organization

```
assets/
├── icons/
│   ├── ui/
│   └── brand/
├── images/
│   ├── originals/
│   └── optimized/
└── illustrations/
```

## Performance Tips

1. Lazy load below-fold images
2. Use appropriate format for content
3. Serve responsive sizes
4. Consider CDN delivery
5. Set cache headers

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…