Web Asset Generator logo

Web Asset Generator

Community
felvieira
web-asset-generator

Cria e adapta assets para interfaces web. Trigger em: "favicon", "favicons", "PWA icon", "manifest", "Open Graph image", "OG image", "social meta", "twitter card", "apple-touch-icon", "imagem de compartilhamento", "share image".

Overview

Publisherfelvieira
Repositoryclaude-skills-fv
Skill nameweb-asset-generator
Stars
28
Forks
5
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by felvieira on GitHub. Read the source before you install it.

Installation

Install the Web Asset Generator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/felvieira/claude-skills-fv/tree/main/skills/36-web-asset-generator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felvieira/claude-skills-fv.git /tmp/claude-skills-fv
mkdir -p .claude/skills
cp -r /tmp/claude-skills-fv/skills/36-web-asset-generator .claude/skills/web-asset-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Web Asset Generator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Web Asset Generator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Web Asset Generator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Web Asset Generator — Favicons, PWA Icons, OG Images

Gap operacional comum: time termina deploy e percebe que faltam favicons, PWA icons, e a OG image quando alguem compartilha o link no WhatsApp aparece em branco. Esta skill resolve em 1 comando.

Complementa skill 17 (Image Generator — fal.ai) que gera imagens originais; esta skill deriva assets de uma imagem ja existente (logo) ou de texto (slogan).

Governanca Global

Esta skill segue GLOBAL.md, policies/execution.md, policies/tool-safety.md, policies/writing-clarity.md.

Quando Usar

  • antes do primeiro deploy de site
  • depois de mudanca de identidade visual (rebrand)
  • ao adicionar suporte a PWA
  • ao detectar (via Lighthouse) ausencia de manifest, favicon, OG tags
  • preparando landing page para anuncio/lancamento
  • migrando para HTTPS/dominio novo (URLs nas meta tags mudam)

Quando Nao Usar

  • gerar imagem original (use skill 17 — Image Generator com fal.ai)
  • editar imagem existente (use ferramenta especializada)
  • design system inteiro (use skill 02 — UI/UX Designer)
  • video/GIF (use skill 27 — Video Integration)

Entradas Esperadas

  • logo source (preferivel): PNG/SVG quadrado, fundo transparente, >= 512x512
  • OU brand text (fallback): nome curto + cor hex de fundo
  • brand name (sempre): aparece em manifest e meta tags
  • brand color (sempre): theme-color, OG bg
  • base URL (para meta tags): https://meusite.com
  • output dir (default public/): onde gerar os arquivos

Saidas Esperadas

Diretorio de assets

public/
├── favicon.ico              (16, 32, 48 multi-size .ico)
├── favicon-16x16.png
├── favicon-32x32.png
├── favicon-96x96.png
├── apple-touch-icon.png     (180x180)
├── android-chrome-192x192.png
├── android-chrome-512x512.png
├── icon-maskable-512.png    (PWA maskable, com safe area)
├── og-image.png             (1200x630 — Facebook/LinkedIn)
├── twitter-card.png         (1200x675 — Twitter large card)
├── manifest.webmanifest
└── browserconfig.xml        (Windows tile)

Snippet HTML pronto

public/meta-tags.html — copiar e colar no <head>:

html
<!-- Favicons -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

<!-- PWA -->
<link rel="manifest" href="/manifest.webmanifest">
<meta name="theme-color" content="#<brand-color>">

<!-- Open Graph -->
<meta property="og:title" content="<title>">
<meta property="og:description" content="<description>">
<meta property="og:image" content="https://<base-url>/og-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:url" content="https://<base-url>/">
<meta property="og:type" content="website">

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="<title>">
<meta name="twitter:description" content="<description>">
<meta name="twitter:image" content="https://<base-url>/twitter-card.png">

Responsabilidades / Protocolo

  1. Validar input: logo source quadrado >= 512x512 (PNG/SVG transparente preferivel) OU texto + cor de fundo
  2. Coletar metadados: brand name, brand color (hex), base URL absoluta, output dir
  3. Gerar favicons: ICO multi-size + PNG 16/32/96
  4. Gerar PWA icons: 192/512 + maskable 512 (com 80% safe area)
  5. Gerar Apple touch icon: 180x180 (fundo solido, sem transparencia)
  6. Gerar OG image: 1200x630 PNG (assunto centralizado, alto contraste)
  7. Gerar Twitter card: 1200x675 PNG
  8. Gerar manifest.webmanifest + browserconfig.xml
  9. Gerar snippet HTML com todas as meta tags (URLs absolutas)
  10. Validar output: Lighthouse PWA + Facebook debugger + Twitter validator
  11. Handoff para skill 04 (Frontend) integrar no template HTML

Detalhes nas sub-secoes a seguir.

Especificacoes Por Plataforma

AssetTamanhoFormatoPara
favicon.ico16+32+48 multiICObrowser tab
favicon-16/32/96exatosPNGbrowser tab fallback
apple-touch-icon180x180PNGiOS home screen
android-chrome-192192x192PNGAndroid
android-chrome-512512x512PNGAndroid splash
icon-maskable-512512x512PNG (com 80% safe area centralizada)PWA adaptive icon
og-image1200x630PNG ou JPGFacebook, LinkedIn, WhatsApp
twitter-card1200x675PNGTwitter Large Card
ms-tile144x144PNGWindows pinned site

Regra critica de OG image:

  • texto deve caber em safe area de 1080x540 (margem 60px) — alguns clientes croppam
  • contraste minimo 4.5:1 para texto
  • evitar texto > 60 chars (corta no preview)

Ferramentas

Opcao A: realfavicongenerator (recomendada)

bash
npx @realfavicongenerator/cli generate \
  --master-picture path/to/logo.png \
  --output public/ \
  --background "#0f766e" \
  --theme-color "#0f766e" \
  --app-name "MeuApp"

Cobre favicon completo + PWA + Apple + Windows. Output inclui HTML snippet.

Opcao B: ImageMagick (mais controle, manual)

bash
# favicon.ico multi-size
magick logo.png -define icon:auto-resize=16,32,48 favicon.ico

# PNG sizes
for size in 16 32 96 192 512; do
  magick logo.png -resize ${size}x${size} favicon-${size}x${size}.png
done

# Apple
magick logo.png -resize 180x180 apple-touch-icon.png

# OG (1200x630, com padding centralizado)
magick logo.png -resize 600x600 -background "#0f766e" \
  -gravity center -extent 1200x630 og-image.png

Opcao C: Sharp (Node, programatico)

javascript
import sharp from 'sharp';

const sizes = [16, 32, 96, 192, 512];
for (const size of sizes) {
  await sharp('logo.png')
    .resize(size, size)
    .toFile(`public/favicon-${size}x${size}.png`);
}

// OG image
await sharp('logo.png')
  .resize(600, 600)
  .extend({
    top: 15, bottom: 15, left: 300, right: 300,
    background: { r: 15, g: 118, b: 110, alpha: 1 }
  })
  .toFile('public/og-image.png');

Opcao D: Text-to-image (sem logo)

Se nao houver logo, gerar OG/favicon a partir de texto + cor:

bash
magick -size 1200x630 xc:"#0f766e" \
  -font Arial-Bold -pointsize 96 -fill white -gravity center \
  -annotate 0 "MeuApp" og-image.png

Para favicon com inicial: gerar 512x512 com letra centralizada, depois resize.

Manifest PWA

Template minimo:

json
{
  "name": "MeuApp",
  "short_name": "MeuApp",
  "description": "Descricao curta",
  "start_url": "/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#0f766e",
  "icons": [
    {
      "src": "/android-chrome-192x192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/android-chrome-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "/icon-maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ]
}

Heuristicas

Logo source ideal

  • SVG > PNG transparente > PNG com fundo
  • quadrado (recortar antes se nao for)
  • detalhe minimo legivel a 16x16 (logos com texto fino quebram)
  • contrastar com fundo branco E preto (PWA usa ambos)

OG image que funciona em todo lugar

  • 1200x630 (proporcao 1.91:1)
  • assunto principal no centro 1080x540
  • texto grande (96-120pt para titulo)
  • contraste alto
  • sem informacao critica nas bordas

Maskable icon (PWA)

Cache busting

Validacao Pos-Geracao

Checklist:

bash
# 1. Lighthouse (Best Practices + PWA)
npx lighthouse https://meusite.com --view

# 2. Favicon checker
curl -I https://meusite.com/favicon.ico  # deve retornar 200

# 3. OG preview
# Facebook debugger (URL acima)
# OpenGraph.xyz (rapido visual): https://www.opengraph.xyz/

# 4. PWA installability
# Chrome DevTools > Application > Manifest

Checkpoint: rodar os 4 → item que falhar (favicon 404, manifest incompleto no DevTools) tem causa mecânica e conhecida (path errado, ícone faltando no manifest, tamanho fora do spec) — corrigir a causa específica e rodar de novo só aquele item. Não considerar a geração pronta com qualquer um dos 4 vermelho.

Anti-Padroes

"OG image gerica de stock"

Stock photo sem branding = link parece spam. Sempre incluir logo + nome.

"Favicon de 16px borrado"

Resize de logo complexo para 16x16 vira borrao. Criar versao simplificada do logo (so simbolo, sem texto).

"Apple icon transparente"

iOS aplica fundo branco automatico atras de transparencia, gerando halo. Sempre fundo solido em apple-touch-icon.

"Manifest sem icons maskable"

PWA sem maskable: adaptive icon do Android fica com borda branca. Sempre incluir purpose: maskable.

"Esquecer de atualizar URL absoluta"

OG image precisa URL absoluta (https://...), nao relativa (/og-image.png). Sem URL absoluta, preview nao funciona em apps externos.

"Mesma OG image para todas as paginas"

Pagina de produto X com OG generico do site = baixa CTR. Por pagina importante, gerar OG dedicada.

Tecnicas de derivacao (references/)

Carregar references/derivation-and-overlays.md quando o trabalho passar de favicon/OG basico: escada de derivacao de formatos (resize->crop->expand->reframe->recompor), overlay deterministico de texto letter-perfect, thumbnail legivel em feed, e regra do master unico (toda derivacao sai do master aprovado, nunca de derivada).

Evidencia de Conclusao

  • todos os assets do quadro "Especificacoes Por Plataforma" gerados
  • manifest.webmanifest valido (passar em https://manifest-validator.appspot.com/)
  • meta-tags.html snippet pronto para colar
  • Lighthouse PWA score >= 90
  • preview validado no Facebook debugger e Twitter validator

Handoff

Apos geracao, entregar:

  1. caminho dos assets (public/)
  2. snippet HTML para colar no <head>
  3. URL absoluta esperada (para validar OG quando deploy)
  4. checklist de validacao pos-deploy

Integracao com Pipeline

  • Image Generator (skill 17): handoff direto — apos skill 17 gerar logo/mascote/asset criativo principal, esta skill (36) deriva todos os formatos web operacionais (favicon multi-tamanho, apple-touch-icon, PWA icons incluindo maskable, Open Graph 1200x630, Twitter card 1200x675, manifest, browserconfig). Skill 17 cria o original criativo; skill 36 deriva o pacote operacional. Se logo nao existe, skill 17 cria primeiro; se ja existe, skill 36 roda sozinha. Quando gerar logo, skill 17 usa default grok-imagine ($0.020). Para OG card com texto, override pra gemini-3-pro ($0.15 — vale pelo polish tipográfico).
  • Frontend (skill 04): integra meta-tags.html no template HTML/Next layout
  • SEO (skill 14): valida que tags estao corretas e completas para indexacao
  • Asset Librarian (skill 19): cataloga assets gerados em docs/repo-audit/assets.md
  • Deploy (skill 07): valida que assets estao no bundle final + URLs absolutas configuradas
  • Accessibility (skill 22): valida contraste de OG image

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Web Asset Generator AI skill do?

Cria e adapta assets para interfaces web. Trigger em: "favicon", "favicons", "PWA icon", "manifest", "Open Graph image", "OG image", "social meta", "twitter card", "apple-touch-icon", "imagem de compartilhamento", "share image".

Why use Web Asset Generator on TypingMind?

Because you install it once and use it with any model. Web Asset Generator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Web Asset Generator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/felvieira/claude-skills-fv/tree/main/skills/36-web-asset-generator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Web Asset Generator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Web Asset Generator?

As many as you like. As long as a model supports skills, you can use Web Asset Generator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Web Asset Generator AI skill free?

Yes. It is published on GitHub by felvieira under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇