cli-audit
Audit an existing CLI against cli-build: how well an agent can operate it and how well a human can read it. Use when the user…
Generate OG images and favicon based on project branding. Use when: (1) user needs social media preview images for their project, (2) user wants to generate a favicon, (3) user is setting up branding assets for a website or app, (4) user has brand colors and wants
$ npx -y skills add crafter-station/skills --skill generate-brand-assets --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/generate-brand-assetsContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate OG images and favicon based on project branding. Use when: (1) user needs social media preview images for their project, (2) user wants to generate a favicon, (3) user is setting up branding assets for a website or app, (4) user has brand colors and wants
name: generate-brand-assets version: 1.0.0 description: | Generate OG images and favicon based on project branding. Use when: (1) user needs social media preview images for their project, (2) user wants to generate a favicon, (3) user is setting up branding assets for a website or app, (4) user has brand colors and wants professional-looking Open Graph images. Automatically generates correctly sized images optimized for social platforms (Twitter, LinkedIn, Facebook) and favicon formats.
Generate branded OG (Open Graph) images and favicons for your project based on brand colors and identity.
Check if you have the necessary tools:
node --version # Node.js 16+
The skill uses built-in image generation capabilities. No additional dependencies required beyond Node.js.
Ask the user for their brand colors. Typical palette includes:
Collect information for the OG images:
Command structure:
npx generate-brand-assets \ --name "Your Project Name" \ --tagline "Brief project description" \ --primary-color "#3B82F6" \ --accent-color "#1E40AF" \ --output-dir ./public/brand-assets
| Option | Example | Purpose | |--------|---------|---------| | `--name` | "My Project" | Project name for OG images | | `--tagline` | "Build faster" | Subtitle/description on images | | `--primary-color` | "#3B82F6" | Main brand color | | `--accent-color` | "#1E40AF" | Secondary brand color | | `--text-color` | "#FFFFFF" | Text contrast color | | `--logo-path` | "./logo.png" | Custom logo file | | `--pattern` | "dots" \| "grid" | Background pattern style | | `--output-dir` | "./public" | Where to save generated assets | | `--format` | "png,webp,ico" | Image formats to generate |
**For Next.js/React projects:**
// next.config.js or next-seo.config.js
{
openGraph: {
images: [
{
url: '/brand-assets/og-image.png',
width: 1200,
height: 630,
}
]
},
icons: {
icon: '/brand-assets/favicon.ico',
apple: '/brand-assets/apple-touch-icon.png'
}
}**For HTML projects:**
<!-- index.html --> <meta property="og:image" content="/brand-assets/og-image.png" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" /> <link rel="icon" href="/brand-assets/favicon.ico" /> <link rel="apple-touch-icon" href="/brand-assets/apple-touch-icon.png" />
Test generated images:
# Check file sizes and formats ls -lh ./public/brand-assets/ # Preview in browser open ./public/brand-assets/og-image.png
Test social preview:
Provide the user with:
npx generate-brand-assets \ --name "My App" \ --gradient "from-#3B82F6 to-#1E40AF" \ --text-color "#FFFFFF"
Generate both light and dark variants:
# Light version npx generate-brand-assets --theme light --primary-color "#3B82F6" # Dark version npx generate-brand-assets --theme dark --primary-color "#60A5FA"
For multi-language projects:
npx generate-brand-assets \ --name "My Project" \ --locale es \ --tagline "Construir más rápido"
| Issue | Solution | |-------|----------| | Colors look wrong | Verify hex format is exactly `#RRGGBB` (6 chars) | | Text not readable | Ensure sufficient contrast; `text-color` should differ from background by >50% brightness | | Images too large | Use `--optimize` flag to reduce file size (trades some quality) | | Favicon not showing | Clear browser cache and hard-refresh (Cmd+Shift+R / Ctrl+Shift+F5) | | Output directory error | Ensure output directory exists or use `--create-dirs` flag |
After generating assets: 1. Commit generated files to version control 2. Update social media preview URLs in deployment 3. Test social sharing on each platform (links may cache old images) 4. Monitor OG image performance in analytics
Agent skills extracted from real work. Each one shipped something first.
Audit an existing CLI against cli-build: how well an agent can operate it and how well a human can read it. Use when the user…
Design and build a CLI that an AI agent can operate safely and a human can supervise. Use when the user wants to build a CLI,…
Set up hierarchical Intent Layer (AGENTS.md files) for codebases. Use when initializing a new project, adding context…
Release a new version of an Obsidian community plugin without forgetting steps. Use when: (1) user says "release the plugin",…
Deprecated. Auto-generate Claude skills from documentation URLs using Firecrawl agent. Use when user wants to create a skill from…
Read-only audit of a developer machine for npm/PyPI supply-chain compromise. Checks for known IOCs from the 2025-2026 wave —…