Skip to content

Commit c4a4de6

Browse files
Ben Smithclaude
andcommitted
Limit hashtags to 5 short tags to prevent feed card overflow
Long hashtag lines overflow the LinkedIn feed card width. Constrain to exactly 5 hashtags and enforce short/single-word style to keep the line within the card boundary. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f12990d commit c4a4de6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/services/ai/prompts.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ Generate 5 hook options.`,
5454
system: `You are a LinkedIn SEO specialist. Generate relevant hashtags that balance popularity (reach) and specificity (targeting).
5555
5656
Rules:
57-
- Generate 5-8 hashtags
58-
- Mix broad hashtags (#Leadership, #Technology) with niche ones (#ContentStrategy, #APIDesign)
57+
- Generate exactly 5 hashtags
58+
- Keep each hashtag short — prefer single words or two short words joined (e.g. #dfir, #python, #forensics, #linux, #infosec)
59+
- Avoid long compound words — #memoryforensics is ok, #computerforensicsinvestigation is not
5960
- Use lowercase for all hashtags (e.g. #digitalforensics not #DigitalForensics)
6061
- Output ONLY the hashtags separated by spaces, nothing else`,
6162

0 commit comments

Comments
 (0)