建立技能
學習如何建立您自己的 Agent 技能,並與社群分享。
概述
Agent 技能由 GitHub 儲存庫中的 SKILL.md 檔案定義。此檔案包含增強 AI 助理功能的提示詞、指導原則和背景資訊。
優秀技能的特質
優秀的技能具備以下特點:
- 專注:針對特定領域或任務
- 清晰:提供明確的指示
- 實用:包含可執行的指導原則
- 經過測試:已驗證能與目標 AI 平台配合運作
快速開始
- 建立新的 GitHub 儲存庫
- 新增包含技能內容的
SKILL.md檔案 - 將您的技能提交至市集
技能結構
典型的技能包含:
markdown
---
name: My Skill
description: A brief description of what this skill does
version: 1.0.0
author: Your Name
platforms:
- claude-code
- codex
- chatgpt
categories:
- development
- productivity
---
# My Skill
## Context
Background information the AI should understand.
## Guidelines
Rules and best practices to follow.
## Examples
Sample interactions demonstrating expected behavior.
文件說明
- SKILL.md 格式 - 完整格式規範
- 五步驟指南 - 逐步建立流程
範例
瀏覽真實技能範例:
最佳實踐
提交您的技能
當您的技能準備就緒:
- 確保您的儲存庫為公開狀態
- 前往提交頁面
- 輸入您的儲存庫 URL
- 我們將自動匯入您的技能
您的技能將在 6 小時內於市集上架。