/publisher-medium
Convert blog posts to Medium-ready HTML format with image upload markers
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/publisher-medium
Context preview
What this command does when you run it.
Convert blog posts to Medium-ready HTML format with image upload markers
Command definition
publisher-medium.mdallowed-tools: Read, Write, Bash, Glob, WebFetch
argument-hint: <input> [lang]
description: Convert blog posts to Medium-ready HTML format with image upload markers
Medium Article Converter
Convert blog posts to Medium-ready format with proper HTML structure and image handling.
**Usage:** `$ARGUMENTS`
**Examples:**
/publisher:medium my-post # Default English
/publisher:medium my-post ja # Japanese
/publisher:medium article.md # From file path
/publisher:medium https://blog.com/post # From URL
**Process:**
1. **Parse Input & Detect Source**
- File path, URL, or blog post slug
- Optional language parameter (en/ja)
2. **Universal Input Detection**
- **File**: Read markdown, PDF, HTML, or text
- **URL**: WebFetch to retrieve content
- **Slug**: Search codebase for blog post
3. **Convert to Medium Format**
- Parse markdown and extract frontmatter
- Convert to clean HTML suitable for Medium
- Preserve headers, lists, code blocks, quotes
- Add image upload markers for diagrams
- Include image paths for easy upload reference
4. **Create HTML Preview File**
- Generate `medium-article-[LANG].html` preview
- Include one-click copy button
- Add image upload instructions with file paths
- Use Medium-style formatting and colors
5. **Open in Browser**
- Open HTML preview file
- Open Medium editor (https://medium.com/new-story)
- User can copy HTML and paste into Medium
- Follow image markers to upload diagrams
**Output:**
- HTML preview file with copy button
- Clear image upload markers
- File paths shown for each image
- Ready to paste into Medium editor
**Note**: Works universally - no dependencies required, just Read, Write, and Bash tools.
Read more
allowed-tools: Read, Write, Bash, Glob, WebFetch argument-hint: <input> [lang] description: Convert blog posts to Medium-ready HTML format with image upload markers
Medium Article Converter
Convert blog posts to Medium-ready format with proper HTML structure and image handling.
**Usage:** `$ARGUMENTS`
**Examples:**
/publisher:medium my-post # Default English /publisher:medium my-post ja # Japanese /publisher:medium article.md # From file path /publisher:medium https://blog.com/post # From URL
**Process:**
1. **Parse Input & Detect Source**
- File path, URL, or blog post slug
- Optional language parameter (en/ja)
2. **Universal Input Detection**
- **File**: Read markdown, PDF, HTML, or text
- **URL**: WebFetch to retrieve content
- **Slug**: Search codebase for blog post
3. **Convert to Medium Format**
- Parse markdown and extract frontmatter
- Convert to clean HTML suitable for Medium
- Preserve headers, lists, code blocks, quotes
- Add image upload markers for diagrams
- Include image paths for easy upload reference
4. **Create HTML Preview File**
- Generate `medium-article-[LANG].html` preview
- Include one-click copy button
- Add image upload instructions with file paths
- Use Medium-style formatting and colors
5. **Open in Browser**
- Open HTML preview file
- Open Medium editor (https://medium.com/new-story)
- User can copy HTML and paste into Medium
- Follow image markers to upload diagrams
**Output:**
- HTML preview file with copy button
- Clear image upload markers
- File paths shown for each image
- Ready to paste into Medium editor
**Note**: Works universally - no dependencies required, just Read, Write, and Bash tools.
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Other commands on claude-code-templates.
- /cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Open command - /create-blog-article
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image
Open command - /lint
Run Python code linting and formatting tools.
Open command - /test
Run Python tests with pytest, unittest, or other testing frameworks.
Open command - /worktree-check
Check current worktree status, branch, and assigned task
Open command - /worktree-cleanup
Clean up merged worktrees and their branches
Open command

