跳到正文
FunCoding

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.

Star
672
许可证
Apache-2.0
最近提交
2026年11月27日

skills/articles-longform/SKILL.md

在 GitHub 上查看

Articles & Longform

Browser console scripts for creating and managing X/Twitter Articles (Premium+ feature).

Script Selection

GoalFileNavigate to
Publish an articlesrc/articlePublisher.jsx.com/compose/article
Convert thread to articlebrowser/contentRepurposer.jsx.com/USERNAME
Track article performancebrowser/tweetPerformance.jsx.com/USERNAME
Generate blog outlinebrowser/contentRepurposer.jsx.com/USERNAME

Article Publisher

File: src/articlePublisher.js

Assists with article composition on X's article editor.

Features

  • Title and subtitle insertion
  • Body text formatting (headings, bold, italic, lists)
  • Image and media embedding
  • Draft saving
  • Publish with cover image

How to Use

  1. Navigate to x.com/compose/article
  2. Open DevTools (F12) -> Console
  3. Paste the script -> Enter
  4. Use controls to compose

Controls

  • XActions.setTitle(text) -- Set article title
  • XActions.setSubtitle(text) -- Set subtitle
  • XActions.addParagraph(text) -- Add body paragraph
  • XActions.addHeading(text, level) -- Add heading (h2, h3)
  • XActions.addImage(url, alt) -- Insert image
  • XActions.preview() -- Preview formatted article
  • XActions.publish() -- Publish (with confirmation prompt)

DOM Selectors

ElementSelector
Article editor[data-testid="articleEditor"]
Title field[data-testid="articleTitle"]
Body editor[data-testid="articleBody"]
Cover image[data-testid="articleCoverImage"]
Publish button[data-testid="articlePublishButton"]
Save draft[data-testid="articleSaveDraft"]

Content Strategy

Thread-to-Article pipeline

  1. Run browser/tweetPerformance.js to find your best-performing threads
  2. Run browser/contentRepurposer.js -> XActions.toBlog(i) to generate article outline
  3. Navigate to x.com/compose/article
  4. Use src/articlePublisher.js to format and publish
  5. Share the article link as a tweet for promotion

SEO and reach optimization

  • Use browser/contentRepurposer.js -> XActions.toBlog(i) for keyword suggestions
  • Articles get indexed by Google (unlike regular tweets)
  • Include 1-2 images per 500 words for better engagement
  • Link back to your profile and other articles

Requirements

  • X Premium+ subscription ($16/mo) required
  • Articles support rich text, images, and embedded tweets
  • No word count limit
  • Articles are publicly accessible (even to non-X users)
  • Articles have their own URL structure: x.com/USERNAME/articles/ID

Notes

  • Articles persist permanently (unlike tweets which get buried)
  • Google indexes X Articles -- good for SEO
  • Cover image recommended for social sharing preview
  • Draft auto-saves periodically

相似的 Skill

精选

domain-modeling

编写词汇表,记录架构决策,澄清术语歧义。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-fragments

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-shape

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-beats

MAmattpocock/skills336k近 7 天新增 5,004 个 star

perfect-docs

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-skills

OBobra/superpowers331k近 7 天新增 5,757 个 star