Index of every page on this site: llms.txt
All skills
notedit avatar

/cover-image

@9a2d593
by leeoxiangnotedit/happy-skills341 stars
40
Run it yourself

Generate article cover images with 5 dimensions (type, palette, rendering, text, mood). Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to 'generate cover image', 'create article cover', or 'make cover'.

Use this Skill: https://skilld.dev/gh/notedit/happy-skills/cover-image

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesworkflowreference-images.md

≈784 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Reference Images Workflow

Step 1: Save Reference Images

When user provides reference images, save them systematically:

<output-dir>/refs/
├── ref-01-{slug}.{ext}      # Reference image file
├── ref-01-{slug}.md         # Analysis/notes file
├── ref-02-{slug}.{ext}
├── ref-02-{slug}.md
└── ...

Naming Convention

  • ref-NN: Sequential number (01, 02, 03...)
  • {slug}: 2-4 word kebab-case describing the reference
  • {ext}: Original file extension (png, jpg, etc.)

Step 2: Analyze Reference Images

For each reference image, extract:

Aspect What to Extract
Style Rendering technique, line quality, texture
Composition Layout, visual hierarchy, focal points
Color mood Palette characteristics
Elements Key visual elements and symbols used
Typography Font style, treatment (if applicable)
Mood Emotional tone and visual weight

Step 3: Generate Analysis File

Create a .md file for each reference with analysis:

# Reference 01: [name]

## Visual Style
- Rendering: [flat-vector/hand-drawn/etc.]
- Line quality: [description]
- Texture: [description]

## Composition
- Layout: [description]
- Focal point: [description]
- Whitespace: [percentage/feel]

## Colors
- Primary: [hex values]
- Secondary: [hex values]
- Background: [hex values]

## Elements
- [List of visual elements]

## Integration Notes
- [How to use this reference in generation]

Step 4: Add to Prompt Frontmatter

When reference files are saved, add to prompt frontmatter:

---
type: cover
palette: warm
rendering: flat-vector
references:
  - ref_id: 01
    filename: refs/ref-01-style-reference.png
    usage: style
  - ref_id: 02
    filename: refs/ref-02-color-reference.jpg
    usage: palette
---

Usage Types

Usage When to Use Generation Action
direct Reference matches desired output closely Pass reference image directly to generation
style Extract visual style characteristics only Describe style in prompt text
palette Extract color palette only Include colors in prompt

Step 5: Embed in Prompt Body

CRITICAL: Passing --ref alone is NOT enough. You MUST write detailed textual instructions.

# Reference Style -- MUST INCORPORATE

CRITICAL: The generated cover MUST visually reference the provided images.

## From Ref 1 ([filename]) -- REQUIRED elements:
- [Brand element]: [Specific description]
- [Signature pattern]: [Specific description]
- [Colors]: [Exact hex values]
- [Typography]: [Specific treatment]
- [Layout element]: [Specific spatial element]

## Integration approach:
[Specific layout instruction describing how reference elements combine]

Guidelines

  • Each visual element gets its own bullet with "MUST" or "REQUIRED"
  • Descriptions must be specific enough to reproduce
  • The integration approach must describe exact spatial arrangement
  • After generation, verify reference elements are visible; if not, strengthen and regenerate

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill is a professional article cover image generator that integrates with Qwen, OpenAI, and Google APIs. It allows users to customize images across five dimensions and supports platform-specific resizing. It follows security best practices for secret management by using environment variables and handles external data by summarizing it before processing.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer9mo

    27/27 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 9a2d593. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago

README badge

README badge for notedit/happy-skills/cover-image