Brand asset generator
Use when generating or wiring project-ready brand image assets from a user-provided logo, mark, or icon source image, including transparent source marks, favicon, PWA icons, apple touch icons, desktop app icons, tray icons, ICO, and ICNS outputs.From its SKILL.md
npx -y skills add lencamo/skills --skill brand-asset-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
8.2 KB, ~1.9k tokens by cl100k_base, as published. Nobody here has run it
Brand Asset Generator
Generate a reusable image asset package from one logo, mark, or icon source image.
Workflow
- Confirm the source image path and intended output target.
- If the user wants integration into an existing app, inspect the project first and identify the expected public/static/icon paths.
- Generate assets into
brand/<name>/under the target project root, or into<output-dir>/<name>/when requested. - Copy generated files into app paths only when the user asks for integration or the project clearly already has matching icon paths.
- Verify generated dimensions, transparency/background behavior, and any copied project references.
Use When
- The user provides a source image and wants project-ready brand or logo assets.
- The user needs transparent app/web source marks with different padding.
- The user needs favicon, PWA, apple touch, desktop app, tray,
.ico, or.icnsoutputs. - The user wants a configurable background color for outputs that should not stay transparent.
- The user wants generated assets placed into an existing web, PWA, Electron, Tauri, or desktop-app project.
Do Not Use
- Do not use for designing a new logo from scratch.
- Do not assume project-specific output paths before inspecting the target project.
- Do not copy generated files into application folders unless the user asks for integration or matching paths already exist.
- Do not add image-processing dependencies to the target project just to run this local generator.
Required Inputs
Require:
--input <file>: source image path.
Use --name <name> when the source marks need a stable prefix. If omitted, derive it from the input filename.
By default, assets are written to brand/<name>/ under the current working directory. Use --output-dir <dir> only when the user wants to override the output parent directory.
Script
Run the bundled script:
python3 <skill-dir>/scripts/generate_brand_assets.py \
--input path/to/source.png \
--name brand \
--profile all \
--background "#ffffff"
Options:
--profile source|web|desktop|all: choose the output group; default isall.--output-dir <dir>: override the default output parent directory; assets are written to<dir>/<name>/.--background "#rrggbb": default background for non-transparent outputs; default is#ffffff.--web-fill <0..1>: visible subject scale for web source mark; default is0.86.--app-fill <0..1>: visible subject scale for app/desktop source mark; default is0.68.--favicon-corner-radius <0..0.5>: rounded background radius ratio for favicon outputs; default is0.18.--web-corner-radius <0..0.5>: rounded background radius ratio for regular PWA web icons; default is0.22.--favicon-container-inset <0..0.4>: override transparent outer inset for favicon PNG outputs; default is per-size.--web-container-inset <0..0.4>: transparent outer inset for regular PWA web icons; default is0.08.--line-width-ratio <0..0.2>: outline thickness for fill-derived line source marks; default is0.035.--background-threshold <n>: RGB edge-background removal tolerance; default is28.--force-background: apply background to all generated PNG and ICO/ICNS outputs.--transparent-background: keep outputs transparent even when they normally get the default background.
If Pillow is missing, install it in the active Python environment:
python3 -m pip install --user pillow
Project Placement
When integrating generated assets into a project, prefer existing conventions over new paths:
- Web/static apps: place favicons and PWA icons in the configured public/static root, commonly
public/,static/, or app-specific asset folders. - Next.js/App Router: check
app/icon.*,app/apple-icon.*,public/, and metadata config before adding files. - Vite/React/Vue/Svelte apps: check
public/,index.html, and any manifest file before replacing favicons. - PWA projects: update the existing
manifest.jsonorsite.webmanifestonly when icon paths need to change. - Electron/Tauri/desktop projects: check the builder config for icon paths before copying
desktop/icon.*or tray images.
If there is no existing convention and the user did not request direct integration, report the generated output directory instead of choosing an app path.
Output Contract
The script writes a folder under brand/ named from --name or the input filename slug. For example, --name sample-brand writes:
brand/
sample-brand/
source/
sample-brand-mark-app.png
sample-brand-mark-web.png
sample-brand-mark-app-line.png # only when the input source is detected as fill
sample-brand-mark-web-line.png # only when the input source is detected as fill
web/
favicon-16x16.png
favicon-32x32.png
favicon-48x48.png
favicon.png
favicon.ico
icon-192.png
icon-512.png
icon-192-maskable.png
icon-512-maskable.png
apple-touch-icon.png
desktop/
icon.icns
icon.ico
icon.png
icons/
16x16.png
24x24.png
32x32.png
48x48.png
64x64.png
96x96.png
128x128.png
256x256.png
512x512.png
1024x1024.png
tray.ico
tray.png
trayTemplate.png
[email protected]
preview.png
When --output-dir <dir> is provided, the same source/, web/, desktop/, and preview.png structure is written under <dir>/<name>/.
Generation Rules
- Remove only the edge-connected background for RGB sources; keep same-colored interior details.
- Preserve existing alpha when the input already has transparency.
- Write source marks as 512x512 RGBA transparent PNGs.
- When the source subject is detected as a fill mark, also write 512x512 RGBA transparent line variants as
mark-app-lineandmark-web-line. - Control fill-derived line thickness with
--line-width-ratio; the value is multiplied by the cropped source subject's largest side. - Do not create fill variants for line-mark inputs.
- Use
mark-webfor favicons, regular PWA icons, and tray icons. - Use
mark-appfor apple touch, maskable PWA icons, desktop app icons,.ico, and.icns. - Add background by default to web favicons, regular PWA icons, maskable PWA icons,
apple-touch-icon.png,desktop/icon.png,desktop/icons/*.png,desktop/icon.ico, anddesktop/icon.icns. - Apply rounded backgrounds by default to web favicon outputs and regular PWA icons because those contexts do not consistently auto-mask icons.
- Add transparent outer inset to larger rounded web PNGs by default:
favicon-48x48.pnguses0.04,favicon.pnguses0.06, and regular PWA icons use0.08;favicon-16x16.png,favicon-32x32.png, andfavicon.icouse no outer inset to preserve small-size clarity. - Keep
apple-touch-icon.png, maskable PWA icons, and desktop app icons as full square backgrounds because those contexts may apply platform masking or need full icon resources. - Keep tray icons and source marks transparent by default.
- Create macOS tray template images as black template PNGs with transparent alpha.
Validation
After generation, verify:
- source marks are
RGBA, 512x512, and have transparent corners. - fill-mark inputs additionally produce
mark-app-lineandmark-web-line; line-mark inputs do not. - web PNG dimensions match their filenames.
- web favicon outputs and regular PWA icons have transparent rounded corners and expected outer inset by default.
- maskable PWA icons and
apple-touch-icon.pnghave opaque background corners by default. favicon.icocontains 16x16, 32x32, and 48x48.- desktop PNG dimensions match their filenames.
icon.icoandtray.icocontain 16, 24, 32, 48, 64, 128, and 256 sizes.- square default-background outputs have the requested background color at the corners.
preview.pngexists.
Report the output directory, generated groups, key files, and validation summary.
What ships with it: 3 files
33.4 KB alongside SKILL.md, 1 of them executable
docs/
- SKILL.zh-CN.md7.7 KB
scripts/
- generate_brand_assets.pyruns21.2 KB
- README.md4.4 KB
Gives 0 of the 12 instructions most marketing audience skills give in ~1.9k tokens
Counted across 690 of the 894 authors here whose files we hold, read 2026-08-07
- Apply Poppins font to headingsin 41 of 690, across 6 files
- Apply Lora font to body textin 41 of 690, across 6 files
- Use Arial fallback for headingsin 39 of 690, across 4 files
- Use Georgia fallback for body textin 39 of 690, across 4 files
- Maintain text hierarchy and formattingin 39 of 690, across 4 files
- Use accent colors for non-text shapesin 38 of 690, across 3 files
- Use RGB values for precise color matchingin 38 of 690, across 3 files
- Use brand colors for primary text and backgroundsin 36 of 690, across 1 file
- Read product marketing context file before asking questions, starting, or auditingin 35 of 690, across 23 files
- Use active voice instead of passive voicein 26 of 690, across 10 files
- Implement or generate appropriate JSON-LD structured datain 24 of 690, across 17 files
- Prioritize clarity over clevernessin 22 of 690, across 8 files
Said here and by no other author read
- Confirm the source image path and intended output target
- Inspect the project before integration to identify icon paths
- Generate assets into the project root or requested output directory
- Copy generated files only when integration is requested
- Verify generated dimensions, transparency, and project references
- Require an input source image path
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.