This skill is used to quickly post recruitment information on X, including copy 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 driver:
playwright install chromium
Execute Command:
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 posting page.
- If a login page appears, please complete the login.
- After login is complete, the script will automatically fill in the copy and image.
- Please check the content in the browser, and after confirming it is correct, click "Post".
Resource Files
- assets/rules.md: Copy rules and restrictions.
- assets/design_philosophy.md: Visual style guide.
- scripts/generate_images.js: Image generation script.
- scripts/publish_x.py: Publishing automation script.