asset-manager

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "asset-manager" with this command: npx skills add oakoss/agent-skills/oakoss-agent-skills-asset-manager

Asset Manager

Manages design assets across projects: directory organization, naming conventions, image/font optimization, brand libraries, and version control. Use when assets need to be organized, compressed, converted to modern formats, or tracked across releases. Not for runtime image transformations or CDN configuration beyond path prefixing.

Quick Reference

TaskTool / ApproachKey Points
Image optimizationSharpResize, compress, convert to WebP/AVIF/JPEG/PNG
SVG optimizationSVGO (v4+)removeViewBox and removeTitle off by default in v4
Font conversionwoff2_compress, sfnt2woffTTF/OTF to WOFF2 (primary) + WOFF (fallback)
Font subsettingGlyphhangerRemove unused glyphs, auto-detect from crawled pages
Responsive imagesSharp breakpointsGenerate mobile (640), tablet (768), desktop (1920) variants
Asset versioningSHA-256 hash trackingasset-versions.json manifest with change detection
Large files in gitGit LFSTrack PSD, AI, Sketch, Figma, MP4, MOV files
Brand assetsTyped manifestBrandAssets interface with logos, colors, typography

Directory Structure

DirectoryContents
assets/images/{category}/Products, team, marketing, UI images
assets/icons/svg/SVG icon files
assets/fonts/{family}/WOFF2 + WOFF font files
assets/videos/Video assets
assets/logos/svg/, png/, variants/Logo formats and color variants
brand/Colors JSON, typography JSON, guidelines

Naming Conventions

Asset TypePatternExample
Images{category}-{description}-{size}.{format}product-hero-1920x1080.jpg
Icons{icon-name}-{variant}.svghome-outline.svg
Fonts{font-family}-{weight}.{format}Inter-Regular.woff2
Logoslogo-{variant}.{format}logo-full.svg, logo-white.svg

Optimization Targets

FormatToolUse Case
WebPSharpPrimary web images
AVIFSharpModern browsers, best compression
JPEGSharp (mozjpeg)Fallback photos
PNGSharpUI elements with transparency
SVGSVGOIcons and logos
WOFF2woff2_compressPrimary web fonts
WOFFsfnt2woffFont fallback

Pipeline Steps

StepAction
OrganizeSort unsorted assets by naming rules into directories
Optimize imagesResize, compress, generate WebP/AVIF variants
Responsive imagesGenerate mobile/tablet/desktop breakpoint sizes
Optimize fontsConvert TTF/OTF to WOFF2 + WOFF
VersionHash-based tracking with asset-versions.json

Common Mistakes

MistakeFix
Committing raw design files to gitUse Git LFS for PSD, AI, Sketch, Figma, video files
Serving original-size imagesGenerate responsive variants at breakpoints
Using only JPEG/PNGGenerate WebP + AVIF with fallbacks
No font subsettingUse Glyphhanger to subset unused glyphs
Missing font-display: swapAlways set on @font-face to avoid FOIT
No CDN for assetsPrefix asset paths with CDN_URL env variable
Using imagemin for new projectsUse Sharp directly; imagemin is unmaintained
Using SVGO v3 plugin config with v4removeViewBox and removeTitle are off by default in v4

Delegation

  • Discover asset organization patterns in a codebase: Use Explore agent to find existing asset directories, naming conventions, and optimization scripts
  • Optimize a batch of images or fonts: Use Task agent to run Sharp pipelines, font conversions, and responsive image generation
  • Plan a complete asset pipeline: Use Plan agent to design directory structure, naming conventions, optimization steps, and CI integration

References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

playwright

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ui-ux-polish

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

tanstack-form

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review