X Recruiter⚠️ Platform note — read before running any command. The command examples here are written for macOS / Linux. On Windows: run
python(orpy) instead ofpython3, use$env:USERPROFILE\…and backslashes instead of~/…, and translate any shell pipes/redirects (|,>,&&) to their PowerShell equivalents before running. The scripts themselves are cross-platform; only the way you invoke them differs.
This skill is used to quickly publish recruitment information on X, including copywriting rules, cover/detail image prompts, and automated publishing scripts.
Core Workflow
1. Information Collection
Confirm with the user:
- Job Title
- Core Responsibilities & Requirements
- Application Email/Link
2. Generate Visual Assets
Use scripts/generate_images.js to generate images.
- Action:
node scripts/generate_images.js - Output:
cover.png,jd_details.png
3. Generate Copy
Generate copy that matches X's tone, kept within 280 characters.
- Rules: Refer to
assets/rules.md。 - Requirements: Concise, clear, with core responsibilities and application method.
4. Automated Publishing
Use scripts/publish_x.py to launch the browser for publishing.
Prerequisites:
- Install Playwright:
pip install playwright - Install browser drivers:
playwright install chromium
Execution Commands:
python3 scripts/publish_x.py "post_content.txt" "cover.png" "jd_details.png"
Interaction Flow (Clearer Step Instructions):
- Observe the browser window: the script has opened the X homepage or post page.
- If a login page appears, please complete the login.
- After login is complete, the script will automatically fill in the copy and images.
- Please check the content in the browser, and click "Post" after confirming it is correct.
Resource Files
- assets/rules.md: Copywriting rules and limits.
- assets/design_philosophy.md: Visual style guide.
- scripts/generate_images.js: Image generation script.
- scripts/publish_x.py: Publishing automation script.