Generate or update Anton Oilfield product cards, localized product index entries, and product screenshot assets. Use when adding a new product, syncing a homepage system card with a product page, optimizing product images, or following the existing VGIS card + product index pattern in this repo.
Use this skill when a product spec exists in product/*.md and the goal is to add or update:
assets/products/<id>/This repo's current baseline pattern is the VGIS implementation.
product/<id>.md.i18n.en.systems, i18n.zh.systems, and i18n.ar.systems inside .systemVisuals in index.html has:
artgradienthref pointing to product/index.html?id=<id>demoHref pointing to the real external product siteproduct/index.html?id=<id>&lang=<lang>&embed=1Request Demo or the localized equivalentdemoHrefproductCatalog inside product/index.html.Each product entry in productCatalog should include:
idnameiconaccentAaccentBscreenshotstagslocales.enlocales.zhlocales.arEach locale block should include:
eyebrowsubtitleoverviewscreenshotsLabellang query paramlang query param..svg or .webp, depending on the actual asset format in assets/products/<id>/.Use this workflow when the user asks to compress, clean up, crop, or replace product screenshots.
assets/products/<id>/ and assets/hero/..png and .jpg files..png / .jpg to .webp with cwebp.-q 92 -m 6 -mt, then review results..png / .jpg files are no longer referenced, delete them so repo size and image payload both go down.ffmpeg and then encode to WebP.view_image to inspect borders or letterboxing.ffmpeg and re-encode to WebP..png / .jpg references left in the repo.find assets -type f \( -iname '*.png' -o -iname '*.jpg' -o -iname '*.webp' -o -iname '*.svg' \) -exec ls -lh {} \; | sort -k5 -hcwebp -q 92 -m 6 -mt input.png -o output.webpffmpeg -y -i input.webp -vf "scale=2560:-2:flags=lanczos" -c:v libwebp -quality 88 -compression_level 6 -preset picture output.webpffmpeg -y -i input.webp -vf "crop=<width>:<height>:<x>:<y>" -c:v libwebp -quality 92 -compression_level 6 -preset picture output.webpsystemVisuals.<PRODUCT> in index.htmlRequest Demo / localized equivalentproductCatalog.<id> in product/index.htmllang support still works for en, zh, and ar.webpWhen in doubt, mirror the current VGIS implementation:
VGIS in index.htmlsystemVisuals.VGIS in index.htmlproductCatalog.vgis in product/index.html