惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy & Cybersecurity Law Blog
V
V2EX
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Register - Security
The Register - Security
MongoDB | Blog
MongoDB | Blog
P
Privacy International News Feed
The Last Watchdog
The Last Watchdog
Security Archives - TechRepublic
Security Archives - TechRepublic
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
K
Kaspersky official blog
S
Secure Thoughts
T
Tenable Blog
Security Latest
Security Latest
The Cloudflare Blog
S
Security @ Cisco Blogs
H
Heimdal Security Blog
aimingoo的专栏
aimingoo的专栏
TaoSecurity Blog
TaoSecurity Blog
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
Schneier on Security
Schneier on Security
Webroot Blog
Webroot Blog
G
Google Developers Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Scott Helme
Scott Helme
IT之家
IT之家
Latest news
Latest news
The Hacker News
The Hacker News
C
Check Point Blog
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
N
News | PayPal Newsroom
Forbes - Security
Forbes - Security
P
Palo Alto Networks Blog
S
Security Affairs
S
Securelist
Google Online Security Blog
Google Online Security Blog
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
A
About on SuperTechFans

YeungYeah's Context

当 AI 开始读懂我的健康数据 Waline 数据源迁移记 我的 RSS 与独立博客阅读史 深度使用语音输入后,还是得继续重视写作 AI 时代,还有什么值得自己写? vibe coding: ccpclean 残留进程清理 从打字到动嘴:我的语音输入踩坑与探索 Superpower Agent Skills in Gemini 更换博客名字和网络身份标识 赛博"多重国籍":账号折腾实录 真.拥抱 AI 跟着 Alpha Picks 来投资 2025 年度记录
用 Claude Skills 翻译博客
YeungYeah · 2026-01-26 · via YeungYeah's Context

 Posts  

之前给博客设了一个英语版(过程可见 开设我的英语博客 By Hugo),会把一些文章通过 AI 翻译成英语来发布。当时的工作流是写好了一篇文章,会丢进大模型的 Chat 窗口,通过固定的 prompt 来将其翻译成英语,并且保持一样的 md 格式直接输出。然后将其复制到英文内容的相同目录下,创建一个新的文件。这样每次都复制粘贴几次,还要手动创建新文件,快是也挺快,但是现在接触到 Claude Code 后,就想到能不能再便捷一点。

于是选择使用 Claude Skills

Claude Skill 是什么? Skill(技能)是一种模块化、独立的扩展包,用于扩展 Claude 的能力,提供专业化的知识、工作流程和工具。可以把它们理解为特定领域或任务的"入职指南"——它们将 Claude 从通用型智能体转变为配备了程序性知识的专业化智能体。

通过定义一个 SKILL.md 的文档,可以创建一个技能,通过描述执行的指令步骤,以及可以参考的外部可执行代码和可参考的材料。通过可以通过一个命令,就让 Claude Code 执行相应的操作。以翻译博客为例,我在项目的 ./claude/skills/translate-post 目录下新建了一个 SKILL.md 文件,然后输入下面的内容

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
---
name: translate-post
description: transalte post's content from Chinese into English
disable-model-invocation: true
---

transalte the specific post file $ARGUMENTS content into English

1. read file $ARGUMENTS all text content
2. translate all content into English. cannot drop any content
3. create a text file in content_en directory but with the same path with original file in content

非常简单的指令,读文件内容,翻译成英语,在指定目录下创建文件。这里 $ARGUMENTS 是输入的参数。实际运行的时候,只需要输入命令/translate-post @content/posts/2026/post.md,Claude Code 就可以自动在 content_en/posts/2026/ 下创建同名的文件,并且里面的内容是翻译好的。