# First Line Generation Framework

## Analysis Phase

Before generating, summarize these from scraped data:

1. **Top 3 interests** (ranked by post frequency and tag count)
2. **Unique hooks** — niche or unexpected interests that stand out
3. **Conversation style** — long captions or short? Formal or casual? Emoji-heavy or minimal?
4. **Recent hot topic** — most recent or most engaged-with post
5. **Best conversation entry** — which interest gives the most natural reason to start talking

## Generation Rules

### What makes a good first line

- Starts with a **specific observation** about their content (not "I saw your profile")
- Asks a **genuine question** that invites sharing
- Shows you actually looked at their stuff, not just their photos
- Feels like something a real person would say, not a template
- Short — 1-3 sentences max
- **Adapts to their personality type** (see personality-framework.md):
  - Curator → appreciate their taste
  - Sharer → be casual and relatable
  - Expert → ask specific questions
  - Expressive → resonate with feelings

### What to avoid

- "你好，可以认识一下吗？" (too generic, zero effort)
- Complimenting appearance / looks (wrong signal)
- "我也喜欢XX" without specifics (empty claim)
- Multiple questions in one message (overwhelming)
- Overly long first messages (too much pressure)
- Self-deprecating humor (awkward from a stranger)
- Mentioning follower count or popularity
- Asking personal questions (age, location, relationship status)

## Tone Templates

### Casual / Lighthearted

Pattern: [Specific observation about a post] + [Light question or reaction]

Example (travel):
"你那条济州岛的帖子里那家咖啡店，是不是就在海边悬崖旁边那个？我上次去找了半天没找到，怀疑是不是得本地人带路才行"

Example (food):
"看到你做的那个巴斯克蛋糕，顶上的焦糖色也太完美了。你是用多少度烤的？我每次烤出来都像煤球"

Example (cosplay):
"你那个龙宫礼奈的还原度也太高了，特别是眼神那个劲儿。道具是自己做的还是买的？"

### Genuine / Warm

Pattern: [What resonated with you in their content] + [Shared interest or curiosity]

Example (photography):
"你拍的那组胶片色调特别舒服，有种很安静的感觉。是用什么机器拍的？最近也想入坑胶片"

Example (reading):
"看到你推荐的那本《xxx》，刚好我上周也读完了。你说的关于xxx那段我特别有共鸣，你后来有看作者的其他书吗？"

Example (anime/ACG):
"看到你发的寒蝉的内容，没想到现在还有人这么喜欢这部。你是从哪部入坑07th Expansion的？"

### Witty / Playful

Pattern: [Playful take on something specific] + [Invites a fun response]

Example (pet owner):
"你家猫的表情管理能力比我强多了，尤其是那张趴在键盘上的——请问它接商务合作吗"

Example (fitness):
"看完你的健身打卡记录我默默放下了手里的奶茶。请问，你是怎么做到连续30天不断的？是意志力还是有什么交易"

Example (dessert):
"你的甜品治疗法看完了，我觉得我的病情更严重了——现在不吃到同款不行。那个店在哪你能说吗还是要保密"

## Language Guidelines

- Chinese posts → Chinese first lines
- English posts → English first lines
- Mixed → primary set in their dominant language, add 1-2 in the other
- Match their formality: if they use 哈哈/hhh/emoji, be casual; formal writing → more measured
- Never use "您" unless they're clearly older/formal
- Match energy: "！！！" users → more enthusiastic; chill posters → stay chill

## After the First Line

Suggest a follow-up strategy:

1. **If they reply** → stay on the same topic for 2-3 exchanges, then naturally branch
2. **If they reply short** → don't over-invest, give space, try one more related question
3. **If no reply in 24h** → don't double-message, it's okay
4. **If they reply enthusiastically** → match energy, can suggest continuing the conversation elsewhere
