JimLiu/baocut / skills/baocut/built-in-skills/docs
docs
Verified用户要一份文档时用:报告、提案、计划、简历、求职信、信件、合同、制度、表单、模板、作文、手册、指南、操作说明、速查表这类要保留、共享、评论、导出或打印的文字。用 docs_* 工具在工作目录建一份文档,先发骨架再一节一节填,线程里出现文档卡片,用户在功能区编辑与评论。也用于按文档评论或请求改已有文档。聊天里问的计划、对比、摘要留在聊天;幻灯片用 slides,视觉设计用 design。
| File | Kind | Size |
|---|---|---|
| .baocut-meta.json | config | 2.0 KB |
| SKILL.md | skill md | 17.7 KB |
| references/comments.md | markdown | 4.1 KB |
| references/editing.md | markdown | 12.4 KB |
| references/tabs.md | markdown | 4.3 KB |
| references/uploads.md | markdown | 1.4 KB |
references/uploads.md
View on GitHub# 上传:图片与文件
字节不走 docs_update 之类的工具:工作目录里的文件 → docs_upload → 文档里一个记录它的 blob → 正文用 `blob/<id>` 引用它。
```
docs_upload( doc = "q3-launch-plan", path = "assets/launch-timeline.png" )
→ {blob:"blob/7c2e91d04ab3", id:"7c2e91d04ab3", bytes:48213, contentType:"image/png", next:"…"}
docs_update( doc = "q3-launch-plan", ref = {"object":"node","id":"be1476b2-62c1"}, engine = "prose", container = C, payload = {"ops":[
{"op":"insert","target":{"kind":"blocks","ids":["mq2x81a0kfd.40"]},"side":"after",
"source":{"as":"markdown","from":{"kind":"inline","content":""}}} ]} )
```
- `path` = 工作目录里的文件(相对路径,不含 `..`),最大 20 MB;图片(PNG、JPEG、GIF、WebP、SVG)在正文里显示,其他文件以链接 `[name](blob/<id>)` 引用。
- 图片放在讨论它的地方,写上说明它的 alt 文字;文件名说明不了什么,先看一眼内容。
- blob 不可改:新内容 = 新上传 → 新 blob → 改正文里的引用。
- 用户给的 CSV 或表格数据:这里没有图表,把要的行列写成正文里的 pipe 表格(太长就汇总,或者放进单独的「数据」标签页);原文件需要留存时再上传、链接过去。
- 不支持的文件类型或过大 → 拒绝里说明;照它说的做,或告诉用户。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |