What problem does it solve?
Juejin (juejin.cn) has no public publishing API, so cross-posting Simplified Chinese blog articles to reach Chinese React developers previously required manual copy-paste into the editor. This Skill automates the entire publishing flow through opencli browser automation.
Core Features & Use Cases
- Automated Draft Creation: Opens the Juejin draft editor, fills the React-controlled title input, and injects markdown body content through the CodeMirror setValue API so ByteMD syncs and auto-saves.
- Full Publish Flow: Selects the required category (前端), picks existing tags from the byte-select dropdown (React.js, JavaScript), and clicks through the publish dialog to submission.
- Verification & Review Handling: Confirms success via the page title, captures the draft ID, and dismisses the standard post-publish review-queue dialog.
- Use Case: After committing a new reactuse.com blog post, say "发到掘金" to cross-post the prepared juejin.md Chinese translation as part of a multi-platform distribution run alongside dev.to, Medium, and Hashnode.
Quick Start
Publish the Chinese version of my latest blog post to Juejin using the prepared juejin.md file.