Loading...
Loading...
Organize design assets, optimize images and fonts, maintain brand asset libraries, implement version control for assets, and enforce naming conventions. Use when optimizing images for web, converting fonts to WOFF2, organizing asset directories, setting up responsive image pipelines, or managing logo variants.
npx skill4agent add oakoss/agent-skills asset-manager| Task | Tool / Approach | Key Points |
|---|---|---|
| Image optimization | Sharp | Resize, compress, convert to WebP/AVIF/JPEG/PNG |
| SVG optimization | SVGO (v4+) | |
| Font conversion | | TTF/OTF to WOFF2 (primary) + WOFF (fallback) |
| Font subsetting | Glyphhanger | Remove unused glyphs, auto-detect from crawled pages |
| Responsive images | Sharp breakpoints | Generate mobile (640), tablet (768), desktop (1920) variants |
| Asset versioning | SHA-256 hash tracking | |
| Large files in git | Git LFS | Track PSD, AI, Sketch, Figma, MP4, MOV files |
| Brand assets | Typed manifest | |
| Directory | Contents |
|---|---|
| Products, team, marketing, UI images |
| SVG icon files |
| WOFF2 + WOFF font files |
| Video assets |
| Logo formats and color variants |
| Colors JSON, typography JSON, guidelines |
| Asset Type | Pattern | Example |
|---|---|---|
| Images | | |
| Icons | | |
| Fonts | | |
| Logos | | |
| Format | Tool | Use Case |
|---|---|---|
| WebP | Sharp | Primary web images |
| AVIF | Sharp | Modern browsers, best compression |
| JPEG | Sharp (mozjpeg) | Fallback photos |
| PNG | Sharp | UI elements with transparency |
| SVG | SVGO | Icons and logos |
| WOFF2 | | Primary web fonts |
| WOFF | | Font fallback |
| Step | Action |
|---|---|
| Organize | Sort unsorted assets by naming rules into directories |
| Optimize images | Resize, compress, generate WebP/AVIF variants |
| Responsive images | Generate mobile/tablet/desktop breakpoint sizes |
| Optimize fonts | Convert TTF/OTF to WOFF2 + WOFF |
| Version | Hash-based tracking with |
| Mistake | Fix |
|---|---|
| Committing raw design files to git | Use Git LFS for PSD, AI, Sketch, Figma, video files |
| Serving original-size images | Generate responsive variants at breakpoints |
| Using only JPEG/PNG | Generate WebP + AVIF with fallbacks |
| No font subsetting | Use Glyphhanger to subset unused glyphs |
Missing | Always set on |
| No CDN for assets | Prefix asset paths with |
| Using imagemin for new projects | Use Sharp directly; imagemin is unmaintained |
| Using SVGO v3 plugin config with v4 | |
ExploreTaskPlan