← ClaudeAtlas

asset-auditlisted

Audit media assets BEFORE they enter scene cards, boxes or looks - alpha padding, dimensions, aspect, video properties, URL-reuse hazards, and whether a photo in a reference is a masked view of a larger one. Use before authoring scenes with new assets or when a styled card renders with mysterious edges or misalignment.
PicsArt/gen-ai-skills · ★ 6 · AI & Automation · score 74
Install: claude install-skill PicsArt/gen-ai-skills
# Asset audit - check the media before blaming the scene Most "the mask is broken / content is misaligned / corners aren't rounded" reports are ASSET problems. Audit first; it takes a minute and saves a debugging afternoon. ## The checklist 1. **Alpha padding (the #1 trap).** Sticker-style PNGs bake transparent margins into the canvas: `fit: cover` covers the box with the FULL canvas, so the visible content sits inset and any rounding or mask lands in the transparent margin - the visible edge is the asset's own square boundary. Check it by looking: build a one-layer scene whose composition is the asset's own size (from `picsart_media_probe`), `background: "#ff00ffff"`, the asset with `fit: "contain"`, and look at it with `picsart_scene_contact_sheet` (`resolution` set to the composition size). No magenta inside the frame: clean. Magenta around the subject: a padded sticker; trim it, or use it deliberately as a decal with no look. 2. **Dimensions and aspect:** `picsart_media_probe` (no download; EXIF-corrected width and height, duration for video). Cover-fit crops from decoded dimensions - a 4:3 photo in a 9:16 card loses its sides; check the subject survives the crop. Also compare the asset's size with its largest placement box: `scale = max(box_w / own_w, box_h / own_h)`, and a scale above 1 is an upscale. A 585x1024 photo in a 1080x1920 full-bleed box is stretched to nearly double. Rendering can decode an asset whose dimensions are omi