Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cloudflare avatar

Markdown Drafts

  • 46 installs
  • 8.5k repo stars
  • Updated August 5, 2026
  • cloudflare/workerd

markdown-drafts is an agent skill that drafts external-bound content in raw markdown wrapped in code fences for copy-paste preservation.

About

The markdown-drafts skill ensures agent-drafted content intended for external systems preserves markdown syntax when users copy it elsewhere. It applies to GitHub issues and pull request descriptions, Jira tickets, Confluence or wiki pages, design documents, RFCs, Slack messages, and any content the user will paste outside chat. Formatting rules require hash headers, list syntax, fenced code blocks with language tags, inline backticks for identifiers and paths, bold and italic emphasis, markdown tables, blockquote callouts, linked references, horizontal rules, and task list checkboxes. Structure guidance favors a concise summary first, scannable sections, short paragraphs, and next steps at the end. Because chat UIs render markdown and strip raw syntax, the entire draft must be wrapped in a plain triple-backtick fence so users copy literal markup. Triggers include drafting issues, PR descriptions, Jira tickets, or wiki pages for external paste.

  • Requires raw markdown syntax for external copy-paste targets.
  • Wraps entire drafts in plain code fences to preserve markup.
  • Covers GitHub, Jira, Confluence, RFC, and Slack draft formats.
  • Structure rules for scannable headers and short paragraphs.
  • Forbids chat-rendered drafts that consume syntax characters.

Markdown Drafts by the numbers

  • 46 all-time installs (skills.sh)
  • Ranked #827 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

markdown-drafts capabilities & compatibility

Capabilities
raw markdown formatting rule enforcement · code fence wrapping for chat copy safety · github jira and wiki structure templates · scannable section and inverted pyramid layout · anti patterns for rendered chat markdown drafts
Use cases
documentation · copywriting
npx skills add https://github.com/cloudflare/workerd --skill markdown-drafts

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs46
repo stars8.5k
Last updatedAugust 5, 2026
Repositorycloudflare/workerd

How do I draft a GitHub issue or Jira ticket so markdown formatting survives copy-paste?

Draft GitHub issues, PRs, Jira tickets, and wiki content in raw markdown wrapped in code fences so formatting survives copy-paste.

Who is it for?

Contributors drafting GitHub issues, PRs, Jira tickets, or wiki pages meant to be copied out of chat.

Skip if: Skip for in-chat-only explanations, non-markdown targets, or final published site content.

When should I use this skill?

User asks to draft content for GitHub, Jira, Confluence, RFCs, or other external paste targets.

What you get

A code-fenced raw markdown draft with headers, lists, code blocks, and links ready to paste externally.

Files

SKILL.mdMarkdownGitHub ↗

Markdown Drafts

When the user asks you to draft, write, or compose content that will be copied into an external system — GitHub issues, pull request descriptions, Jira tickets, wiki pages, design documents, RFCs, or similar — always use markdown syntax so that formatting survives the copy-paste.

When This Applies

  • GitHub issues and pull request descriptions
  • Jira ticket descriptions and comments
  • Confluence / wiki page drafts
  • Design documents and RFCs
  • Slack messages (Slack renders a subset of markdown)
  • Any content the user explicitly says will be copied elsewhere

Formatting Rules

  • Use #, ##, ### headers to create structure
  • Use - or * for unordered lists, 1. for ordered lists
  • Use triple-backtick fenced code blocks with language tags (e.g., `cpp ) for code
  • Use inline code backticks for identifiers, file paths, commands, and config values
  • Use **bold** for emphasis on key points and _italic_ for secondary emphasis
  • Use markdown tables when presenting structured comparisons or data
  • Use > blockquotes for callouts, quoted text, or important notes
  • Use [link text](url) for references — never bare URLs in running prose
  • Use --- horizontal rules to separate major sections when appropriate
  • Use task lists (- [ ] / - [x]) when drafting action items or checklists
  • Keep line lengths reasonable (e.g., 80-120 characters)

Structure Guidelines

  • Start with a concise summary paragraph before diving into details
  • Use headers to break content into scannable sections
  • Keep paragraphs short — walls of text are hard to scan in issue trackers
  • Put the most important information first (inverted pyramid)
  • End with next steps, open questions, or action items when relevant

Rendering: Always Emit Raw Markdown

The chat interface renders markdown, which strips the raw syntax (###, **, ` ``, etc.) from the output. Since these drafts are meant to be copied and pasted into external systems, the user needs the raw markup characters preserved.

Always wrap the entire draft in a fenced code block so the chat interface displays it as literal text. Use a plain triple-backtick fence (no language tag):

    ## My Heading

    - bullet one
    - **bold text** and `code`

This ensures the user sees and can copy the exact markdown source. Never render the draft as formatted text outside a code fence — the markup will be silently consumed by the chat UI.

What NOT To Do

  • Do not render the draft as formatted markdown outside a code fence — the user will lose the syntax
  • Do not use plain text formatting (e.g., ALL CAPS for headers, ==== underlines, manual indentation)
  • Do not use HTML tags unless the target system requires them and markdown is insufficient
  • Do not add emoji unless the user's draft style includes them or they explicitly request it
  • Do not use common cliche AI-generated phrases, tropes, or filler content like tricolons,

or generic intros/outros. Be concise and to the point.

  • Do not include editorial comments or unsubstantiated claims. Stick to the facts and the user's

instructions precisely. If you need to ask clarifying questions, do so instead of making assumptions.

Related skills

FAQ

What does markdown-drafts produce?

Raw markdown drafts wrapped in a code fence so headers, lists, and code blocks survive copy-paste.

When should I use markdown-drafts?

When drafting GitHub issues, PR descriptions, Jira tickets, or wiki content for external systems.

Is markdown-drafts safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.