web-asset-generator
Skill1 starsChanged 3 days agoMITView on GitHub
Creates web assets including favicons, app icons, Open Graph images, social media cards, and other web graphics from source images or designs.
9 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- LucasCooperBey/claude-skillsword for word, first seen Oct 20, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- OptionalGanesh/claude-skillsedited, first seen Oct 20, 2026
- valtterimelkko/agent-workflow-skillstheir own version, first seen Sep 30, 2026
- felvieira/claude-skills-fvtheir own version, first seen Sep 2, 2026
- DROOdotFOO/agent-skillstheir own version, first seen Sep 1, 2026
Used with
Projects with it also use systematic-debugging.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 1
- LucasCooperBey/claude-skills★ 1100% same
Edited · 1
- OptionalGanesh/claude-skills★ 114% same
Wrote their own version · 7
- alonw0/web-asset-generator★ 499same name
- felvieira/claude-skills-fv★ 28same name
- valtterimelkko/agent-workflow-skills★ 2same name
- DROOdotFOO/agent-skills★ 1same name
- unknownking07/claude-skills★ 1same name
- davidanthonyn/claude-skills★ 0same name
- kennyolofsson23-netizen/claude-code-config★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository53 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/deep-recon/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-researchSkill
- algorithmic-artSkill
- api-integrationSkill
- breakdownSkill
- c4-architectSkill
- canvas-designSkill
- coding-agentsSkill
- compound-engineeringSkill
- context-budgetSkill
- counterfactualSkill
- critiqueSkill
- d3js-visualizationSkill
- data-analyst-agentSkill
- database-migrationsSkill
- deep-reconSkill
- design-tasteSkill
- e2b-sandboxSkill
- ecosystem-auditSkill
- executing-plansSkill
- frontend-designSkill
- fullstack-agentSkill
- grillSkill
- kickoffSkill
- mcp-builderSkill
- model-migrationSkill
- naming-the-machineSkill
- full-output-enforcementSkill
- package-researchSkill
- pdf-generationSkill
- pp2pSkill
- pp3pSkill
- prompt-engineerSkill
- prompt-groundingSkill
- redesignSkill
- requesting-code-reviewSkill
- reverse-engineer-to-learnSkill
- review-changesSkill
- scratchpadSkill
- shipSkill
- slack-gif-creatorSkill
- sprint-architectSkill
- techdebtSkill
- test-and-fixSkill
- threat-modelSkill
- verification-before-completionSkill
- visual-verdictSkill
- webapp-testingSkill
- whatdidimissSkill
- wiki-writeSkill
- writing-plansSkill
The file
Files
Web Asset Generator
Generate favicons, app icons, Open Graph images, and social media cards.
Favicon Generation
From SVG (Preferred)
# Install sharp
bun add sharp
# Generate all sizes from SVGconst sharp = require('sharp');
const sizes = [16, 32, 48, 64, 128, 256];
async function generateFavicons(inputSvg, outputDir) {
for (const size of sizes) {
await sharp(inputSvg)
.resize(size, size)
.png()
.toFile(`${outputDir}/favicon-${size}x${size}.png`);
}
// Generate ICO (requires additional library)
// Or use ImageMagick:
// convert favicon-16x16.png favicon-32x32.png favicon-48x48.png favicon.ico
}HTML Reference
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">App Icons (PWA)
Required Sizes
| Size | Purpose |
| 192x192 | Android home screen |
| 512x512 | Android splash screen |
| 180x180 | iOS home screen |
| 152x152 | iPad |
| 120x120 | iPhone |
const appSizes = [72, 96, 120, 128, 144, 152, 180, 192, 384, 512];
async function generateAppIcons(input, outputDir) {
for (const size of appSizes) {
await sharp(input)
.resize(size, size)
.png()
.toFile(`${outputDir}/icon-${size}x${size}.png`);
}
}Web Manifest
{
"name": "App Name",
"short_name": "App",
"icons": [
{ "src": "/icon-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512x512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}Open Graph Images
Standard Sizes
| Platform | Size | Aspect |
| 1200x630 | 1.91:1 | |
| 1200x600 | 2:1 | |
| 1200x627 | 1.91:1 |
async function generateOGImage(input, outputDir) {
await sharp(input)
.resize(1200, 630, { fit: 'cover' })
.jpeg({ quality: 85 })
.toFile(`${outputDir}/og-image.jpg`);
}HTML Meta Tags
<meta property="og:image" content="https://example.com/og-image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://example.com/og-image.jpg">Creating OG Images with Text
const sharp = require('sharp');
async function createOGWithText(title, subtitle, outputPath) {
const svg = `
<svg width="1200" height="630" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#1a1a2e"/>
<text x="100" y="280" font-family="Arial" font-size="64" font-weight="bold" fill="white">
${escapeXml(title)}
</text>
<text x="100" y="360" font-family="Arial" font-size="32" fill="#888">
${escapeXml(subtitle)}
</text>
</svg>
`;
await sharp(Buffer.from(svg))
.png()
.toFile(outputPath);
}
function escapeXml(str) {
return str.replace(/[<>&'"]/g, c => ({
'<': '<', '>': '>', '&': '&', "'": ''', '"': '"'
})[c]);
}Image Optimization
// Optimize for web
await sharp(input)
.resize(800, 600, { fit: 'inside', withoutEnlargement: true })
.jpeg({ quality: 80, progressive: true })
.toFile(output);
// WebP for modern browsers
await sharp(input)
.webp({ quality: 80 })
.toFile(output.replace(/\.\w+$/, '.webp'));
// AVIF for cutting-edge compression
await sharp(input)
.avif({ quality: 60 })
.toFile(output.replace(/\.\w+$/, '.avif'));Complete Asset Generation Script
async function generateAllAssets(sourceLogo, outputDir) {
// Favicons
await generateFavicons(sourceLogo, `${outputDir}/favicons`);
// App icons
await generateAppIcons(sourceLogo, `${outputDir}/icons`);
// OG image (from template)
await generateOGImage(sourceLogo, `${outputDir}/social`);
console.log('All assets generated!');
}Source
Inspired by https://github.com/alonw0/web-asset-generator (MIT, Copyright (c) 2025 Web Asset Generator Contributors).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

