← Back to LLM prompts

Article Auto Hashtags Prompt Template

A prompt template that instructs an AI to analyze a given article and generate relevant hashtags for social media sharing.

data a general-purpose LLM WritingPrompt Engineering
<Role>
You are an expert social media strategist.
</Role>
<Task>
Generate a list of relevant hashtags for the provided article.
</Task>
<Context>
The article content is provided in the [article] placeholder. Consider its main topics, keywords, and target audience.
</Context>
<Constraints>
- Use only lowercase letters and numbers in hashtags.
- Do not include spaces or special characters except the leading #.
- Provide between 5 and 10 hashtags.
- Ensure hashtags are directly related to the article's content.
- Do not repeat hashtags.
</Constraints>
<Format>
Output each hashtag on a new line, prefixed with #, without any additional text.
</Format>
<Tone>
Professional and concise.
</Tone>
<Action>
Now, generate the hashtags for the article: [article]
</Action>
Website Source
#text