skill-builder

仓库创建 2013年3月8日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由

帮助开发者把隐性知识转为可复用的 agent skill 文件。

这个 Skill 做什么

指导如何为 OpenCode 写好可被发现与加载的 SKILL.md。

教你怎么写能被 OpenCode 发现并按需加载的 SKILL.md,把常用自动化行为包装成别人能直接调用的技能。适合想把复用指令、模板或代理能力分享到仓库或本地配置时使用,保证别人在需要时能找到并正确加载。会覆盖放置位置、格式和元数据等要点,帮助提高可发现性和重用率。

▸ 展开 SKILL.md 英文原文

A comprehensive guide and helper to define reusable behavior via SKILL.md definitions for OpenCode.

Skill 开发管理Skill 构建文档规范OpenCode通用
61
Stars
19
Forks
4
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jeremyckahn/dotfiles/master/opencode/.config/opencode/skills/skill-builder/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jeremyckahn/dotfiles/master/opencode/.config/opencode/skills/skill-builder/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Building an Opencode Skill

Agent skills let OpenCode discover reusable instructions from your repository or home directory. Skills are loaded on-demand via the native `skill` tool—agents see available skills and can load the full content when needed.

## 🛠️ 1. Skill File Placement

For a **global skill**, place the `SKILL.md` file in:
`~/.config/opencode/skills/<skill-name>/SKILL.md`

## 🔍 2. Understanding Discovery

OpenCode searches several locations for skills:

- **Project config**: `.opencode/skills/<name>/SKILL.md`
- **Global config**: `~/.config/opencode/skills/<name>/SKILL.md` (This is where we are placing it)
- ... and others (e.g., `.claude/skills`, `.agents/skills`).

## ✍️ 3
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有