xiaohongshu-recruiter

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Xiaohongshu Recruiter (小红书招聘助手)

Xiaohongshu Recruiter

本技能旨在帮助用户快速、专业地在小红书发布 AI 岗位的招聘信息。通过 "Systemic Flux" 设计理念生成符合极客审美的视觉素材,并提供 Playwright 脚本实现半自动化发布。
This skill is designed to help users quickly and professionally publish AI job recruitment information on Xiaohongshu. It generates visual materials that meet geek aesthetics through the "Systemic Flux" design concept, and provides Playwright scripts to achieve semi-automated publishing.

核心工作流

Core Workflow

简化模式(默认)

Simplified Mode (Default)

当用户仅给出一句话指令(如“发布一个前端开发工程师的招聘信息到小红书”)时:
  1. 不再向用户追问细节,由模型自行补全招聘信息与文案。
  2. 不要求用户提供邮箱或投递方式,模型自动补一个“私信联系/评论联系”的默认投递方式。
  3. 自动生成封面图与详情图,并直接进入发布流程。
  4. 自动打开浏览器,等待用户扫码登录后,自动填写图文信息并一键发布。
When the user only gives a one-sentence instruction (such as "Publish a front-end development engineer recruitment information to Xiaohongshu"):
  1. No longer ask the user for details; the model will automatically complete the recruitment information and copy.
  2. No need for the user to provide an email or application method; the model automatically adds a default application method of "Contact via private message/comment".
  3. Automatically generate cover images and detail images, and directly enter the publishing process.
  4. Automatically open the browser, wait for the user to scan the code to log in, then automatically fill in the image and text information and publish with one click.

1. 信息收集

1. Information Collection

向用户确认(仅在用户明确要求或关键信息冲突时才询问):
  • 岗位名称 (如:Agent Designer)
  • 核心职责 & 要求
  • 投递邮箱
Confirm with the user (only ask when the user clearly requests or when key information conflicts):
  • Job Title (e.g.: Agent Designer)
  • Core Responsibilities & Requirements
  • Application Email

2. 生成视觉素材 (Visual Generation)

2. Visual Generation

默认使用本地脚本
scripts/generate_images.js
生成图片(暂时隐藏/禁用大模型生图流程)。
  • 操作
    bash
    node scripts/generate_images.js
    (注:可视情况修改脚本中的文本配置)
  • 产出
    cover.png
    ,
    jd_details.png
By default, use the local script
scripts/generate_images.js
to generate images (the large model image generation process is temporarily hidden/disabled).
  • Operation:
    bash
    node scripts/generate_images.js
    (Note: The text configuration in the script can be modified as needed)
  • Output:
    cover.png
    ,
    jd_details.png

3. 生成文案 (Content Generation)

3. Content Generation

生成符合小红书调性的文案,保存为
post_content.txt
  • 规则:参考
    assets/rules.md
  • 标题:<20 字。
  • 正文:包含话题标签。
Generate copy that fits Xiaohongshu's tone and save it as
post_content.txt
.
  • Rules: Refer to
    assets/rules.md
    .
  • Title: <20 characters.
  • Body: Include hashtags.

4. 自动化发布 (Auto Publishing)

4. Auto Publishing

使用
scripts/publish_xiaohongshu.py
启动浏览器进行发布。
前置要求
  • 安装 Playwright:
    pip install playwright
  • 安装浏览器驱动:
    playwright install chromium
执行命令
bash
python3 scripts/publish_xiaohongshu.py "你的标题" "post_content.txt" "cover.png" "jd_details.png"
交互流程(简化一键发布)
  1. 观察浏览器窗口:脚本已打开小红书创作者中心。
  2. 若出现登录页,请扫码登录。
  3. 登录完成后,脚本自动上传图片并填写标题与正文。
  4. 脚本自动点击“发布”完成发布;浏览器保持打开供用户确认。
Use
scripts/publish_xiaohongshu.py
to launch the browser for publishing.
Prerequisites:
  • Install Playwright:
    pip install playwright
  • Install browser driver:
    playwright install chromium
Execution Command:
bash
python3 scripts/publish_xiaohongshu.py "Your Title" "post_content.txt" "cover.png" "jd_details.png"
Interaction Process (Simplified One-Click Publishing):
  1. Observe the browser window: The script has opened the Xiaohongshu Creator Center.
  2. If the login page appears, scan the code to log in.
  3. After logging in, the script automatically uploads images and fills in the title and body.
  4. The script automatically clicks "Publish" to complete the process; the browser remains open for user confirmation.

资源文件

Resource Files

  • assets/design_philosophy.md: 视觉设计哲学。
  • assets/rules.md: 详细的操作规范和平台限制。
  • scripts/generate_images.js: 图片生成脚本。
  • scripts/publish_xiaohongshu.py: 发布自动化脚本。
  • assets/design_philosophy.md: Visual design philosophy.
  • assets/rules.md: Detailed operation specifications and platform restrictions.
  • scripts/generate_images.js: Image generation script.
  • scripts/publish_xiaohongshu.py: Automated publishing script.