Loading...
Loading...
Generate and manage all Chrome extension assets: icons (16–128px), CWS listing images, promotional tiles, and public/ folder setup. Supports ImageMagick, Gemini API, and manual prompt templates.
npx skill4agent add quangpl/browser-extension-skills extension-assets| File | Size | Usage |
|---|---|---|
| 16x16 | Favicon, context menus |
| 32x32 | Windows taskbar |
| 48x48 | Extensions management page |
| 128x128 | Installation dialog, CWS store icon |
| File | Size |
|---|---|
| 16x16 |
| 24x24 |
| 32x32 |
| Asset | Size | Required? |
|---|---|---|
| Screenshots | 1280x800 or 640x400 | Yes (1–5) |
| Small promo tile | 440x280 | For featured placement |
| Large promo tile | 920x680 | Optional |
| Marquee promo tile | 1400x560 | Optional |
icon.svgnpm install -D sharp
node scripts/generate-icons.jsreferences/icon-converter-script.mdfor size in 16 32 48 128; do
convert -background none -resize ${size}x${size} icon.svg "public/icons/icon${size}.png"
done# Screenshot placeholder (1280x800)
convert -size 1280x800 xc:"#f8f9fa" \
-font DejaVu-Sans -pointsize 48 -fill "#6c757d" \
-gravity center -annotate 0 "Screenshot Placeholder\n1280x800" \
public/store/screenshot1.png
# Small promo tile (440x280)
convert -size 440x280 xc:"#4285f4" \
-font DejaVu-Sans -pointsize 32 -fill white \
-gravity center -annotate 0 "Extension Name\nChrome Web Store" \
public/store/promo-small.pngecho $GEMINI_API_KEYai-multimodalreferences/image-generation-prompts.mdreferences/image-generation-prompts.mdreferences/public-folder-setup.md# Check all required icons exist and are correct size
for size in 16 32 48 128; do
identify public/icons/icon${size}.png | grep "${size}x${size}" \
&& echo "icon${size}.png OK" || echo "icon${size}.png MISSING/WRONG SIZE"
done## Assets Generation Report: <extension-name>
### Generated Icons
- icon16.png ✓ | icon32.png ✓ | icon48.png ✓ | icon128.png ✓
- action16.png ✓ | action24.png ✓ | action32.png ✓
### CWS Listing Assets
- screenshot1.png (1280x800) ✓
- promo-small.png (440x280) ✓
### Pending (manual generation needed)
- Large promo tile (920x680) — prompt provided below
- Screenshots with real extension UI
### Prompts for Manual Generation
<see references/image-generation-prompts.md>references/icon-requirements.mdreferences/icon-converter-script.mdreferences/store-listing-assets.mdreferences/image-generation-prompts.mdreferences/public-folder-setup.mdextension-createextension-manifestextension-publish