Card news generator v2

From Microck/ordinary-claude-skills · View interactive version

Card news generator v2 is an AI agent skill from the GitHub repository Microck/ordinary-claude-skills. Create 600x600 Instagram-style card news series automatically with optional background images. User provides topic, colors, and optional images - Claude generates content and creates multiple cards with proper text wrapping.

How to use this skill

Skill file

Card News Generator v2 - Auto Mode (V2)

Creates beautiful 600x600 card news series for social media with background image support. User can provide topic, colors, and optional background images - Claude handles content generation and multi-card creation automatically.

When to Use

Use this skill when user requests:

Core Workflow - AUTO MODE

This is the PRIMARY workflow when users request card news:

Step 1: Get Topic, Colors, and Optional Background Images from User

Ask user for:

Example conversation (Solid Color):

Claude: 어떤 주제로 카드 뉴스를 만들까요?
User: Z세대의 특징에 대해서

Claude: 배경색을 선택해주세요 (RGB 형식, 예: 245,243,238)
추천 색상:
• 베이지: 245,243,238
• 핑크: 255,229,229
• 민트: 224,244,241
User: 245,243,238

Example conversation (With Background Images):

Claude: 어떤 주제로 카드 뉴스를 만들까요?
User: 여행 팁 5가지

Claude: 배경 이미지를 사용하시겠어요? (사용하려면 이미지 폴더 경로 입력)
User: /path/to/travel-images

Claude: 오버레이 불투명도를 선택하세요 (0.0-1.0, 기본값 0.5)
높을수록 어둡게 처리되어 텍스트가 더 잘 보입니다.
User: 0.6

Step 2: Generate Card Content

Create 5-7 cards about the topic. Format output as:

1. [제목]
[설명 2-3줄]

2. [제목]
[설명 2-3줄]

3. [제목]
[설명 2-3줄]

CRITICAL Content Guidelines:

Step 3: Auto-Generate Cards

Option A: Solid Color Background

Use this command to create all cards with solid color background:

python auto_generator.py \
  --topic "Z세대의 특징" \
  --bg-color "#f5f3ee" \
  --text-color "#1a1a1a" \
  --output-dir /mnt/user-data/outputs \
  --base-filename "zgen" << 'EOF'
1. 디지털 네이티브
태어날 때부터
디지털 환경에 익숙

2. 개인화 중시
나만의 개성과
취향을 중요시

3. 소통 방식
텍스트보다 영상
이모티콘으로 감정 표현
EOF
Option B: Background Images (V2 Feature)

Use this command to create cards with background images:

python auto_generator.py \
  --topic "여행 팁" \
  --output-dir /mnt/user-data/outputs \
  --base-filename "travel" \
  --image-folder /path/to/travel-images \
  --overlay-opacity 0.6 << 'EOF'
1. 짐 싸기 팁
최소한의 짐으로
가볍게 여행하기

2. 현지 음식
맛집 찾는
나만의 방법

3. 교통 수단
대중교통 활용
팁과 노하우
EOF

Important Notes:

The script will automatically:

Step 4: Provide Download Links

After generation, show user:

✅ 카드 뉴스 5장이 생성되었습니다!

[View card 1](computer:///mnt/user-data/outputs/zgen_01.png)
[View card 2](computer:///mnt/user-data/outputs/zgen_02.png)
...

RGB to Hex Conversion

Always convert RGB to hex for scripts:

# RGB 245,243,238 → Hex #f5f3ee
hex_color = '#{:02x}{:02x}{:02x}'.format(245, 243, 238)

Recommended Colors (RGB Format)

Show users these options:

Content Generation Best Practices

Good Card Content Example

1. 디지털 네이티브
태어날 때부터
디지털 환경에 익숙

✓ Title: 8 characters

✓ Content: 18 characters

✓ Clear and concise

Bad Card Content Example

1. Z세대는 디지털 네이티브 세대입니다
그들은 태어날 때부터 스마트폰과 인터넷을 사용하며 자랐기 때문에 디지털 기술에 매우 능숙합니다

✗ Title too long (21 characters)

✗ Content too long (60+ characters)

✗ Will overflow the 600x600 canvas

Single Card Mode (Manual)

Solid Color Background

For creating just one card with solid color:

python generate_card.py \
  --title "제목" \
  --content "내용" \
  --bg-color "#f5f3ee" \
  --text-color "#1a1a1a" \
  --number 1 \
  --output /mnt/user-data/outputs/single.png

With Background Image (V2 Feature)

For creating a card with background image:

python generate_card.py \
  --title "여행 팁" \
  --content "최소한의 짐으로\n가볍게 여행하기" \
  --bg-image /path/to/image.jpg \
  --overlay-opacity 0.6 \
  --number 1 \
  --output /mnt/user-data/outputs/travel_01.png

Parameters:

Technical Details

Canvas Specifications

Background Image Processing (V2)

Text Wrapping

File Naming Convention

Error Handling

If text overflows:

Example Workflows

Example 1: Solid Color Background

User request: "Z세대에 대한 카드 뉴스 5장 만들어줘, 핑크색으로"

Claude response:

  1. Confirm: "Z세대 특징에 대한 카드 5장을 핑크 배경(255,229,229)으로 만들겠습니다."
  2. Generate 5 cards content (keeping text concise)
  3. Run auto_generator.py with heredoc
  4. Provide download links to all 5 cards

Total time: ~30 seconds for 5-card series

Example 2: Background Images (V2)

User request: "여행 팁 카드 뉴스 만들어줘, 배경은 /Users/me/travel-photos 폴더에 있는 이미지 사용"

Claude response:

  1. Confirm: "여행 팁 카드 뉴스를 만들겠습니다. /Users/me/travel-photos 폴더의 이미지를 배경으로 사용합니다."
  2. Ask: "오버레이 불투명도를 선택하세요 (0.0-1.0, 기본값 0.5). 높을수록 텍스트가 더 잘 보입니다."
  3. User: "0.6"
  4. Generate 5 cards content (keeping text concise)
  5. Run auto_generator.py with --image-folder and --overlay-opacity
  6. Provide download links showing cards with background images

Preparation tips:

Total time: ~45 seconds for 5-card series with images

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.