markdown-drafts

โดย cloudflare

ใช้การจัดรูปแบบ markdown เมื่อร่างเนื้อหาที่มีไว้สำหรับระบบภายนอก (GitHub issues/PRs, Jira tickets, wiki pages, design docs ฯลฯ) เพื่อให้การจัดรูปแบบ...

npx skills add https://github.com/cloudflare/workerd --skill markdown-drafts

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.

Skills เพิ่มเติมจาก cloudflare

workerd-api-review
cloudflare
การปรับแต่งประสิทธิภาพ การออกแบบและความเข้ากันได้ของ API ช่องโหว่ด้านความปลอดภัย และการปฏิบัติตามข้อกำหนดมาตรฐานสำหรับการตรวจสอบโค้ด workerd ครอบคลุมถึง tcmalloc-aware…
official
workerd-safety-review
cloudflare
ความปลอดภัยของหน่วยความจำ ความปลอดภัยของเธรด การทำงานพร้อมกัน และรูปแบบการตรวจจับที่สำคัญสำหรับการตรวจสอบโค้ด workerd ครอบคลุมถึงอันตรายที่ขอบเขต V8/KJ การจัดการอายุการใช้งาน…
official
module-registry
cloudflare
โหลดเมื่อทำงานกับ module registry ใน workerd — การอ่าน, แก้ไข, ดีบัก, หรือตรวจสอบการแก้ไขโมดูล, การคอมไพล์, การประเมินผล, หรือการลงทะเบียน…
official
reproduce
cloudflare
ทำซ้ำปัญหา GitHub ของ cloudflare/agents โดยการสร้างโปรเจกต์ Agents/Worker ขั้นต่ำและปรับใช้กับบัญชี Cloudflare ชั่วคราว จากนั้นรายงาน…
official
local-explorer
cloudflare
วิธีการเพิ่มผลิตภัณฑ์/ทรัพยากรไปยัง local explorer หรือ local API ใช้เมื่อกำลังใช้งาน local API ใหม่ หรือเส้นทาง UI ภายใต้…
official
commit-categories
cloudflare
กฎการจัดหมวดหมู่คอมมิตสำหรับ changelog และสรุป "มีอะไรใหม่" ต้องโหลดก่อนการจัดหมวดหมู่คอมมิตในคำสั่ง changelog หรือ whats-new ให้ข้อมูล…
official
architecture
cloudflare
ใช้เมื่อนำทางในโค้ดเบสเป็นครั้งแรก เพิ่มเมธอดไคลเอ็นต์ใหม่ เพิ่มคอนเทนเนอร์แฮนเดลเลอร์/บริการใหม่ หรือทำความเข้าใจการไหลของคำขอ...
official
changesets
cloudflare
ใช้เมื่อสร้างชุดการเปลี่ยนแปลง เตรียมการเผยแพร่ หรือเพิ่มเวอร์ชัน ครอบคลุมถึงแพ็กเกจที่ต้องอ้างอิง วิธีการเขียนคำอธิบายชุดการเปลี่ยนแปลงที่ผู้ใช้เห็น…
official