generate-brand-assets
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "generate-brand-assets" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4584c42aa62033bd522e48a8716a946401481422f2b5191cb96427ba410d7704. Verify the upstream source and version against https://github.com/crafter-station/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generate Open Graph images and website icons based on project branding. Useful when a user needs social media preview images, website icons, brand assets for a site or app, or has brand colors and wants professional-looking OG images. Produces assets sized appropriately for social platforms (Twitter, LinkedIn, Facebook) and website icons.
Introduction source: third_party · crafter-station · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Generate branded OG (Open Graph) images and favicons for your project based on brand colors and identity.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Check if you have the necessary tools: The skill uses built-in image generation capabilities. No additional dependencies required beyond Node.js.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
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-brand-assets
Generate branded OG (Open Graph) images and favicons for your project based on brand colors and identity.
Prerequisites
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.
What It Generates
- OG Images: 1200×630px preview images for social media sharing (Twitter, LinkedIn, Facebook)
- Favicon: Multiple formats (16×16, 32×32, 64×64, 192×192, 512×512) and iOS touch icons
- Manifest Icons: Web app manifest-compatible icons
- Optimized: WebP, PNG, and ICO formats for maximum compatibility
Workflow
1. Identify Brand Colors
Ask the user for their brand colors. Typical palette includes:
- Primary color (hex:
#RRGGBB) - Accent color (optional)
- Text color (typically
#000000or#FFFFFFfor contrast) - Background patterns (optional)
2. Gather Project Details
Collect information for the OG images:
- Project name
- Tagline or description (1-2 lines)
- Logo path or text-based logo preference
3. Generate Assets
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
4. Customization Options
| 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 |
5. Integration
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" />
6. Verification
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:
7. Report Results
Provide the user with:
- List of generated files with dimensions
- Output directory path
- Integration instructions for their framework
- Preview links if hosting is set up
Common Patterns
Gradient Backgrounds
npx generate-brand-assets \
--name "My App" \
--gradient "from-#3B82F6 to-#1E40AF" \
--text-color "#FFFFFF"
Dark Mode Support
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"
Multiple Locale Variants
For multi-language projects:
npx generate-brand-assets \
--name "My Project" \
--locale es \
--tagline "Construir más rápido"
Troubleshooting
| 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 |
Next Steps
After generating assets:
- Commit generated files to version control
- Update social media preview URLs in deployment
- Test social sharing on each platform (links may cache old images)
- Monitor OG image performance in analytics
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决用户为项目生成社交媒体预览图片和网站图标的实际需求
- 属于明确场景的通用工具,受众广泛(开发者、产品经理、设计师等)
- 实用性强,能显著提升日常高频场景的效率
Highlights
- description 详细列出了四种适用场景
- 覆盖用户可能的需求变体,边界清晰
Highlights
- 文档结构完整,包含 Phase/步骤划分
- 有端到端示例和命令结构,frontmatter 完整
Areas to improve
-
缺少对 npx 包不存在时的错误处理说明 Reported severity: Minor
未说明当 npx generate-brand-assets 包不存在或安装失败时的处理方式
Recommendation: 建议在 troubleshooting 部分添加对 npx 包不存在或安装失败的处理建议
Highlights
- 工具来源明确(npx generate-brand-assets),参数说明详尽
- 覆盖了主要异常(颜色格式、文本对比度、输出目录等)
- 提供了 troubleshooting 表格和验证方法
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 56, 142, 154, 157, 165
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- cards-dev.twitter.com
- developers.facebook.com
- www.linkedin.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Check if you have the necessary tools: The skill uses built-in image generation capabilities. No additional dependencies required beyond Node.js.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.