Skip to content

zach22-1999/generic-skills / skills/zach-md-html

zach-md-html

Verified

已降级的 Markdown→HTML 兼容转换器。仅当用户明确要求“使用 zach-md-html”、或明确说“不要重组内容,只把现成 Markdown 机械转换成 HTML/套用旧主题”时使用。不要因为用户只说“输出成 HTML”“生成 HTML 报告”“把日常报告做成 HTML”“数据报告/交付报告”而触发;这些任务应由模型从原始资料直接组织并生成自包含 HTML。此 Skill 不负责数据可视化、工作面、自由设计、万物转 md、html 转 md 或 md 转 docx。

examples/workspace/comparison/input.md

View on GitHub
# Agent 框架选型:Claude Agent SDK vs LangChain vs 自建

> 我们要为内部一组 AI 助手选一个 agent 框架。三个候选放台面上对比,每个都跑过 demo,每个都有优缺点。这份对比给团队拍板用。

## 方案 A · Claude Agent SDK

**定调**:Anthropic 官方栈,深度集成 Claude 模型 + tool use + 子 agent 编排。

- 开发速度:⭐⭐⭐⭐⭐ 半天能跑起来一个完整 agent
- 灵活性:⭐⭐⭐⭐ 提供原语,组合自由
- 学习成本:⭐⭐⭐⭐ 文档清晰,概念少(一个 SDK + tool use 约定)
- 社区生态:⭐⭐⭐ 官方 + 内部用户群,第三方插件少
- 生产就绪:⭐⭐⭐⭐ 内置 prompt caching / streaming / tool retry
- 长期可维护:⭐⭐⭐⭐⭐ Anthropic 自己用,长期支持

**适合**:纯 Claude 模型场景;希望少配置多产出;和 Anthropic 生态一起走。

**不适合**:要做 multi-provider 路由;要对底层 prompt 流程做大量自定义。

## 方案 B · LangChain

**定调**:开源 multi-provider 框架,组件多、社区大、模式成熟。

- 开发速度:⭐⭐⭐ 上手慢,但有现成的 chain 可以借
- 灵活性:⭐⭐⭐⭐⭐ 几乎任何组件都能换
- 学习成本:⭐⭐ 抽象层多,调试链路长
- 社区生态:⭐⭐⭐⭐⭐ 第三方插件、教程、模板最全
- 生产就绪:⭐⭐⭐ 取决于具体组件,新版本 breaking change 多
- 长期可维护:⭐⭐⭐ API 迭代频繁,旧代码经常要重写

**适合**:跨 provider;需要丰富现成组件;团队已有 LangChain 经验。

**不适合**:单 provider 场景下属于过度工程;要求 API 长期稳定的核心产品。

## 方案 C · 自建(Vanilla SDK + 内部框架)

**定调**:直接用 Anthropic 官方 SDK(或对应 provider SDK),自己写薄薄一层封装。

- 开发速度:⭐⭐ 前期慢,要造一些轮子
- 灵活性:⭐⭐⭐⭐⭐ 完全可控
- 学习成本:⭐ 学曲线最陡,要懂底层
- 社区生态:⭐ 完全自己负责
- 生产就绪:⭐⭐⭐ 取决于自建的工程功夫
- 长期可维护:⭐⭐⭐⭐ 你写的代码你最懂

**适合**:核心业务,框架就是产品的一部分;团队 senior 多;性能或安全有特殊要求。

**不适合**:小团队、上线压力大、agent 不是核心差异化。

## 推荐方案

**A · Claude Agent SDK**。

理由:

1. **我们的核心场景就是 Claude 模型**——主要 8 成业务用 Sonnet 4.6 / Opus 4.7,没有 multi-provider 需求
2. **生产就绪 + 长期支持**比"灵活性"更重要——我们不是研究团队,是要交付产品
3. **学习成本低**让团队半天上手,不用花两周教 LangChain 抽象
4. **prompt caching / tool retry** 等关键能力官方内置,自己实现要踩坑

LangChain 留作"如果未来有跨 provider 需求"的备选。自建当前不必——团队 senior 数量不够撑住自建框架的工程债务。
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall