xiaohongshu
xiaohongshu
image-generator
Generate branded images using Google Gemini's image generation API. Supports multiple formats (LinkedIn headers, Medium headers, square concepts, vertical explainers). Reads brand guidelines from the project's BRAND.md file for consistent visual identity.
Full skill instructions
Generates professional branded images using Google Gemini's image generation API. Automatically reads brand guidelines from the target project to ensure visual consistency.
The skill looks for brand guidelines in this order:
BRAND.md in project root.claude/BRAND.mddocs/BRAND.mdIf no brand file exists, the skill will prompt you to create one (see BRAND_TEMPLATE.md).
# Brand Guidelines
## Colors
- **Primary:** #0078AA (Teal)
- **Background:** #F4F1EB (Off-white)
- **Accent:** #F69F22 (Yellow)
## Style
- Modern minimalist
- Hand-drawn/illustrated feel
- Generous whitespace
## Tone
- Professional but friendly
- Approachable, not corporate
| Format | Dimensions | Aspect Ratio | Best For |
|---|---|---|---|
| 1200×630 | 16:9 | Social sharing, OG tags, blog headers | |
| Medium | 1200×400 | 3:1 | Substack/Medium headers, newsletters |
| Square | 1080×1080 | 1:1 | Instagram, Twitter, concept cards |
| Vertical | 1080×1920 | 9:16 | Stories, mobile-first, Pinterest |
See IMAGE_FORMATS.md for detailed layout tips.
When the user requests an image:
Read BRAND.md (or alternative locations) to understand:
- Color palette (primary, accent, neutral colors)
- Visual style (minimalist, illustrated, corporate, etc.)
- Emotional tone (friendly, professional, playful, etc.)
- Design elements to include/avoid
If no brand file exists, ask if they want to create one or proceed with defaults.
assets/images/ or _assets/images/Build a detailed prompt that includes:
Prompt Template:
Create a [style] image ([dimensions]) for [topic].
Background: Use [background color] as the background.
Visual style: [brand style description]. Use [primary color] as the
primary anchor color with subtle accents of [accent colors]. Include
[design elements from brand].
Composition: [format-specific layout guidance].
Mood: [brand emotional tone]. [Additional mood guidance].
Run the generator script:
python [skill-path]/generate_image.py \
--prompt "your detailed prompt" \
--output "filename.png" \
--output-dir "assets/images" \
--image-type linkedin
export GEMINI_API_KEY="your-api-key-here"
Get a key at: https://aistudio.google.com/apikey
pip install google-genai pillow
The skill will create the output directory if it doesn't exist.
Format-Specific:
General:
User: "Generate a header for my post about API design patterns"
Skill:
assets/images/api-design-linkedin.pngxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience