最新文章

Agent Skills 深度解析:为 AI 代理构建可复用的技能生态系统

Agent Skills 深度解析:为 AI 代理构建可复用的技能生态系统

背景

一个真实的故事

两周前,KiloCode 发布了 v4.141.0 版本,这个版本带来了一个重要特性:原生支持 Agent Skills。

在此之前,我在 KiloCode 中使用 skills 需要在一个 main rule 中手动 list 所有技能。每次添加新技能都需要:

<!-- 旧方式:在 main rule 中手动维护 -->
# AVAILABLE SKILLS

Skills are pre-packaged instructions. When a task matches a skill,
use read_file to load the SKILL.md and follow its instructions.

Available skills:
- **frontend-design**: Create distinctive UI components
  Location: ~/.kilocode/skills/frontend-design/SKILL.md
  
- **code-review**: Automated code quality analysis
  Location: ~/.kilocode/skills/code-review/SKILL.md
  
- **pdf-processing**: PDF manipulation toolkit
  Location: ~/.kilocode/skills/pdf-processing/SKILL.md

To use: read_file the location → follow instructions

这种方式的问题显而易见:

再见,褪去浮躁的 2025

再见,褪去浮躁的 2025

昨晚队友问我今年还要写总结吗,说实话我也在犹豫。工作十几年几乎没正经写过总结,倒是这几年在这儿一直坚持。想了想,确实该好好交代一下——好像做完这件事,才能真正踏实地迈入新的一年。

今年,我四十了(突然想到《喜人 2》里那句“我六十了”的调子 …