eric zakariasson(@ericzakariasson)

this is how @drawitpoorly started

8.5内容质量
this is how @drawitpoorly started

TL;DR · AI 摘要

@drawitpoorly起源于一个Slack内部自动化工具,通过获取用户资料图片、生成拙劣风格图像并自动回复,其成功推动了产品化。

核心要点

  • 使用Slack MCP API获取用户头像的具体步骤包括调用slack_read_user_profile和slack_search_users
  • 图像生成默认提示强调拙劣的MS Paint风格,确保输出符合项目风格
  • 自动化流程包含用户生成计数功能,达到10次时发送调侃评论

结构提纲

按章节快速跳转。

  1. @drawitpoorly起源于内部Slack自动化工具,因优异的PMF表现实现产品化

  2. 包含用户头像获取、图像生成、Slack回复及用户计数四大核心模块

  3. 采用特定提示词控制生成风格,未明确指令时使用预设的拙劣绘画风格

  4. 通过生成计数触发趣味性互动,增强用户粘性

思维导图

用一张图看清主题之间的关系。

查看大纲文本(无障碍 / 无 JS 友好)
  • @drawitpoorly自动化流程
    • 核心机制
      • Slack API集成
      • 图像生成控制
      • 用户计数系统
    • 产品化路径
      • 内部PMF验证
      • 公开产品形态

金句 / Highlights

值得收藏与分享的关键句。

  • 使用Slack MCP API的详细步骤包括:1a调用slack_read_user_profile获取用户ID,1c通过slack_search_users搜索邮箱,1d提取头像URL

    步骤1

    ⬇︎ 下载 PNG𝕏 分享到 X
  • 默认图像生成提示词要求'用MS Paint鼠标风格绘制,强调低像素质量,呈现拙劣但相似的视觉效果'

    步骤2a

    ⬇︎ 下载 PNG𝕏 分享到 X
  • 当用户生成次数达10次时,系统会发送调侃评论'你已经生成了10张图片,还在玩得开心吗?'

    步骤4

    ⬇︎ 下载 PNG𝕏 分享到 X
#Slack API#图像生成#自动化#drawitpoorly
打开原文

@aye_aye_kaplan created this internal automation running in Slack that you could tag with different people to mesh them

had so good internal pmf we had to make it come alive for the rest of the world, and then @drawitpoorly came to be

if you want to set it up internally, here's the prompt you should use when creating one at cursor.com/automations

code
1. use Slack MCP to fetch the commenter's profile picture:  
1a. Call slack_read_user_profile with the commenter's Slack user ID and response_format: "detailed".  
1b. From that response, get the commenter's email address.  
1c. Call slack_search_users with query set to that email, limit: 1, and response_format: "detailed".  
1d. Extract the Profile Pic URL from the search result.  
1e. Note: slack_read_user_profile may not return the profile picture directly. If it does not, use the email from that response with slack_search_users; the detailed search result includes Profile Pic.  
1f. If you fail to get the user's profile picture, terminate and send no message to Slack. Do not send any output or write any memory.  
1g. download the image with something like this:  
mkdir -p /tmp/imagegen-refs  
curl -L --fail --show-error \  
-o /tmp/imagegen-refs/slack-avatar.png \  
"[avatars.slack-edge.com](https://t.co/mvTwK4J8yz)<date>/<hash>.png"  

2. use the image generation tool with the commenter's profile picture as the base image and a prompt based on what the user is asking.  
2a. if no clear instructions are provided, default to this prompt:  
"Redraw the attached image in the most clumsy, scribbly, and utterly pathetic way possible. Use a white background, and make it look like it was drawn in MS Paint with a mouse. It should be vaguely similar but also not really, kind of matching but also off in a confusing, awkward way, with that low-quality pixel-by-pixel feel that really emphasizes how ridiculously bad it is. Actually, you know what, whatever, just draw it however you want."  
Remember to only use this prompt if the user did not provide clear instructions in their message.  

3. use the Send to Slack tool to send the image generated by the image generation tool as a reply in thread, with a fun note about their new image  

4. record a memory indicating that you've generated an image for this slack user, keep a count for each user. If they get to 10 or more, leave a snarky comment (that isn't too mean), just something like "you've now generated 10 images, are ya having fun?"