Draft to article

From KilimcininKorOglu/cli-tweaks · View interactive version

Draft to article is an AI agent skill from the GitHub repository KilimcininKorOglu/cli-tweaks. Restructures a continuous draft into a platform-optimized long-form article with section architecture, paragraph rhythm, visual placement, and title options. Targets X, LinkedIn or Medium.

How to use this skill

Skill file

Draft to Article

Transform continuous draft text into structured articles optimized for a specific publishing platform.

Usage

/draft-to-article x            # X (Twitter) Articles format
/draft-to-article linkedin     # LinkedIn Articles format
/draft-to-article medium       # Medium / Substack format
/draft-to-article              # Ask which platform to target

Platform Routing

| Subcommand | Command | Description |

|------------|------------------------------|--------------------------------------------|

| x | /draft-to-article x | X Articles with strict brevity constraints |

| linkedin | /draft-to-article linkedin | LinkedIn Articles with professional tone |

| medium | /draft-to-article medium | Medium/Substack with rich formatting |

If no subcommand is provided, use AskUserQuestion to ask which platform the article targets.

Process (All Platforms)

  1. Analyze the draft: Identify core thesis, key arguments/steps, natural section breaks, tone
  2. Select platform rules: Load the platform-specific subcommand
  3. Impose structure: Apply Section Architecture rules
  4. Apply rhythm: Enforce Paragraph Rhythm rules
  5. Insert visual markers: Place [IMAGE: description] where visuals strengthen the piece
  6. Craft titles: Generate 3 title options
  7. Output: Formatted article with structural summary

Shared Rules (Apply to All Platforms)

Opening (First 2-3 Sentences)

The opening MUST do one of:

Strong openings:

Weak openings (NEVER use):

The Zoom-Out Move

Every article needs a moment where the specific topic connects to broader implications. This usually occurs 40-60% through the piece. The transition must be explicit:

Closing

End with one of:

NEVER end with:

Paragraph Rhythm

Title Generation

Generate 3 title options:

  1. Counterintuitive / Contrarian: "Why [Accepted Belief] Is Actually [Opposite]"
  2. Specific + Stakes: "The [Specific Thing] That [Concrete Consequence]"
  3. Declarative Stance: "[Bold Claim About How the World Works]"

NEVER use:

Visual Placement

Insert [IMAGE: description] on its own line where visuals strengthen the piece:

Each marker includes a brief note:

[IMAGE: diagram showing the feedback loop between X and Y]

Bold Text

Lists and Bullets

Output Format

## Title Options
1. [Contrarian option]
2. [Specific + Stakes option]
3. [Declarative Stance option]

## Platform: [X Article / LinkedIn / Medium]

## Header Image Suggestion
[1-2 sentence concept for the header image based on the article's core theme]

---

[FORMATTED ARTICLE WITH STRUCTURE APPLIED]

---

## Structural Summary
- Platform: [X / LinkedIn / Medium]
- Sections: [count]
- Word count: [approximate]
- Reading time: ~[N] min
- Zoom-out moment: [where it occurs]
- Visual placements: [count]

What This Skill Does NOT Do

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.