SONUB 首頁 ZH-HANT English 한국어 日本語 简体中文 繁體中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

如何開啟通知

此瀏覽器或網址無法使用通知。請使用支援通知的瀏覽器,透過安全連線訪問SONUB。

如果通知被遮蔽,請在瀏覽器設定中允許通知。

  1. 開啟位址列旁的站點設定或瀏覽器的站點設定,將此網站的通知設為允許。
  2. 在裝置設定中允許瀏覽器傳送通知,並檢查勿擾模式或專注模式。
  3. 返回SONUB並重新整理頁面。通知開啟後,鈴鐺將不再顯示。

在iPhone或iPad上,將SONUB新增到主螢幕,從主螢幕開啟後允許通知。

一分鐘,教會你的 AI 智慧體新技能

SONUB 的免費技能,可用於 、 等 。一行命令裝好,用大白話吩咐,再到後面的標籤裡做出自己的技能。

一個書架上放著彩色的活頁夾。其中一本開啟著,露出帶圖示和幾行字的封面、寫著虛線步驟的幾頁、一張檢查清單,裡面還夾著一個小工具箱。一個機器人讀著封面,抽出了和對話氣泡裡骰子圖示相符的那本活頁夾。

進階 — 製作你自己的技能

把你反覆提出的請求做成技能。建好夾,寫一段能找到的說明,寫簡短的分步指示,並檢查,再決定放在哪裡 — 只給自己用,還是給整個團隊用。

第一個技能 — 把重複的請求做成技能

適合做第一個技能的,是你已經向 解釋過三次以上的事:怎樣寫資訊、你的測試步驟、你的報告格式。把這些說明在 裡寫一次,智慧體每次都會找到並照做。

  1. 選一件你總在解釋的工作,用小寫字母、數字和連字元起一個短名字(commit-message)。
  2. 在智慧體的技能資料夾裡,用這個名字建一個資料夾。 init <name> 會建好資料夾和 SKILL.md 。
  3. 在最上面填寫 name(和資料夾名相同)和 description,在下面寫步驟。
  4. 開一個新會話,用平常的話請它做這件事。如果智慧體用了這個技能,就成功了。
# in your project folder
mkdir -p .agents/skills && cd .agents/skills
npx skills init commit-message      # makes commit-message/SKILL.md

# Codex · Gemini CLI · Copilot CLI read   .agents/skills/commit-message/SKILL.md
# Claude Code reads                       .claude/skills/commit-message/SKILL.md
mkdir -p .agents/skills && cd .agents/skills

npx skills init commit-message

你也可以對智慧體說:“把我們剛才做的事做成一個技能。” 和 都懂這個格式(Codex 內建了 )。

description — 智慧體唯一的線索

一開始,智慧體只讀每個技能的名字和說明(description)。它靠這幾行判斷哪個技能適合你的請求。說明含糊,技能就永遠用不上,或者在不該用的時候被用上。

  • 寫清楚它做什麼、什麼時候用 — 兩者都要,用一兩句話。
  • 用第三人稱寫("Writes commit messages …"),不要寫 "I can help you …"。
  • 寫進人們真正會輸入的詞:"commit message"、"commit this"、"staged changes"。
  • 規則:description 最多 1,024 個字元;name 最多 64 個小寫字母、數字和連字元,並且和資料夾名相同。
SKILL.md
# ✗ too vague — the agent cannot tell when to use it
description: Helps with commits.

# ✓ what it does + when to use it + the words people really say
description: Writes a git commit message from the staged changes in the Conventional Commits style. Use when the user asks for a commit message, says "commit this", or wants to describe staged changes.

Claude Code 在技能列表裡最多隻顯示說明的 1,536 個字元,所以把最主要的用途放在最前面。

正文指示 — 簡短、按順序、帶例子

frontmatter 下面是智慧體使用技能時讀的指示。智慧體已經很聰明,所以只寫它不知道的:你的規則、你的步驟順序、你的格式。

  • 省掉智慧體已經知道的東西( 是什麼、怎樣寫 )。
  • 順序重要時就給步驟編號,並寫明出問題時怎麼辦(“如果沒有暫存任何內容,就說明並停下”)。
  • 用一兩個例子展示你想要的結果 — 例子比描述更能說明問題。
  • 給一個預設做法,而不是列一堆選項(“用 ;掃描的 用 ”)。
  • SKILL.md 保持在 500 行以內。變長了就拆成多個檔案([高階] 標籤頁)。
.agents/skills/commit-message/SKILL.md
---
name: commit-message
description: Writes a git commit message from the staged changes in the Conventional Commits style. Use when the user asks for a commit message or says "commit this".
---

1. Run `git diff --staged`. If nothing is staged, say so and stop.
2. Pick one type: feat, fix, docs, refactor, test or chore.
3. Write a subject of 50 characters or less, then a blank line,
   then why the change was made in one or two short lines.

Example:
fix(cart): keep the coupon after a page reload

The coupon code was stored only in memory.

呼叫技能並檢查

技能有兩種用法:請求和說明相符時,智慧體自己選用;或者你按名字呼叫。

  • 自動:用平常的話提出請求就行(“寫一條提交資訊”)。智慧體讀了說明後會載入技能。
  • Claude Code:/skills 顯示列表,/<skill-name> 呼叫技能。名字後面的話會放進 $ARGUMENTS。
  • Codex:/skills 顯示列表,在訊息裡寫 $<skill-name> 就能呼叫。
  • Claude Code 會立刻讀取對 SKILL.md 的修改。如果新建了技能資料夾,執行 /reload-skills。在其他工具裡,開一個新會話。
Claude Code · Codex
# Claude Code
/skills                 # list the skills it found
/commit-message         # call one yourself
/fix-issue 123          # "123" goes into $ARGUMENTS in SKILL.md

# Codex
/skills                 # list and pick
$commit-message         # mention one in your message

如果該用技能時沒用上,先改 description — 大多數時候原因就在這裡。

30 秒做出一個技能 — 把格式記在腦子裡

在 SONUB 3級 AI 證書面試中,考官說“請做一個……的技能”時,你必須在 30 秒內完成。30 秒看起來很短,但只要事先記住技能的格式就足夠了。把下面的簡短格式記在腦中,再按要求只填寫 name、description 和 instruction 這三處即可。

示例是一個 webani 技能(一個充滿動效和聲音的網頁),字數刪減到大約一半。這麼短的技能照樣能用,因為智慧體會讀 description 來選擇技能,細節由它自己補全。

  1. 先輸入兩行 ---。兩行之間的內容就是頭部資訊(frontmatter)。
  2. name:用小寫字母、數字和連字元寫一個能提示用途的短名字(webani = web animation)。資料夾也用同樣的名字。
  3. description:用一句話寫清它做什麼,並帶上請求中的關鍵詞。智慧體只讀這一句來決定何時使用該技能。
  4. # Instruction:用一兩行寫出最重要的規則。細節交給 AI。
.claude/skills/webani/SKILL.md
---
name: webani
description: Dynamic web page with modern CSS/JS, visual and sound effects.
---
# Instruction
- Use every visual and sound effect in one HTML file.

不要想在 30 秒內做到完美。一個能用的短技能,勝過一個沒做完的長技能 — 以後可以慢慢擴充。

證明這個技能有效

智慧體自己找到並用上這個技能,就算證明成功。把檔案儲存到 Claude Code 查詢技能的位置,在該資料夾裡啟動 Claude Code,然後用平常的話提出任務,不要說出技能的名字。在面試中,技能做好後你有 60 秒來完成這一步。

  1. 把技能儲存為 <資料夾>/.claude/skills/webani/SKILL.md。資料夾名 webani 必須和 name 相同。
  2. 進入該資料夾: <資料夾>
  3. 用 claude 啟動 Claude Code。如果它問是否信任這個資料夾,回答是。
  4. 這樣請求:create a dynamic web. Add a pinky style theme.
  5. 確認 Claude Code 說它在使用 webani 技能,並生成一個帶有動效和聲音的粉色主題 檔案。如果沒有,輸入 /skills 檢視技能是否被找到,然後讓 description 更貼近請求的說法。
Terminal
# 1. save the skill — the folder name is the same as name
<folder>/.claude/skills/webani/SKILL.md

# 2. move into the folder and start Claude Code
cd <folder>
claude

# 3. ask in plain words — do not type /webani
> create a dynamic web. Add a pinky style theme.

不要輸入 /webani 來呼叫它。證明的關鍵在於:智慧體僅憑 description 就選中了這個技能。

練習 10 天 — 建立信心

按下面的日程,把整個流程 — 做一個很短的技能、儲存、使用 — 反覆做,每次換一個新主題(測驗頁面、計時器、生日賀卡……)。這樣你就會對做技能充滿信心。

尤其是你熟悉的領域,先做一個短技能,再讓 AI 一點一點地更新它:“加一條關於……的規則”,“讓 description 也能識別……”。

  1. 第 1 天:5 次
  2. 第 2 天:2 次
  3. 從第 3 天起:每天 1 次,共 10 天

還有一個叫 skill-creator 的技能生成器(見下面的官方文件)。用它來擴充技能吧 — 不過在面試中,技能要你自己輸入。

放在哪裡 — 只給自己,還是給團隊

同一個技能可以放在你的主資料夾裡(給你所有的專案用),也可以放在專案裡(給參與這個專案的所有人用)。

  • 個人技能:Claude Code 用 ~/.claude/skills/,Codex、 和 用 ~/.agents/skills/。
  • 專案技能:專案裡的 或 .agents/skills/。提交之後,整個團隊都用同一個技能。
  • 如果兩個技能同名,Claude Code 會優先使用個人技能,而不是專案技能。
  • 永遠不要在技能裡放密碼或 — 技能檔案會被讀取,也常被分享。
Where
# only me, every project
~/.claude/skills/commit-message/      # Claude Code
~/.agents/skills/commit-message/      # Codex · Gemini CLI · Copilot CLI

# this project — commit it and the whole team gets it
.claude/skills/commit-message/
.agents/skills/commit-message/

git add .agents/skills/commit-message
git commit -m "Add the commit-message skill"

安裝別人做的技能 — 讀懂 npx skills add 的選項

npx skills add <來源> 會讀取該來源( 或網站)的技能列表並安裝。不加選項時,它會逐一詢問裝哪些技能、裝給哪些智慧體、裝在哪裡;每個選項就是提前回答其中一個問題。

  • -s <技能> (--skill):按名稱選擇要安裝的技能。多個技能可以重複寫(-s gp -s cowork),也可以都寫在一個 -s 後面(-s gp cowork)。不加時會列出列表讓你選。
  • -g (--global):在安裝一次,這臺電腦上的所有專案都能用。不加時只裝到當前專案。
  • -a <智慧體> (--agent):選擇要安裝到的智慧體,例如 -a claude-code、-a codex。Claude Code 只讀取 .claude/skills,所以使用 Claude Code 時一定要選 claude-code。
  • -l (--list):不安裝,只顯示該來源有哪些技能。安裝前先看一看。
  • -y (--yes):跳過確認問題。由或智慧體代為安裝時使用。
Terminal
# see what is there first — installs nothing
npx skills add https://sonub.com -l

# one skill, only for this project
npx skills add https://sonub.com -s cowork

# one skill, for every project on this computer
npx skills add https://sonub.com -g -s cowork

# several skills — repeat -s, or list them after one -s
npx skills add https://sonub.com -s gp -s cowork
npx skills add https://sonub.com -s gp cowork

# choose the agent too, and skip the questions
npx skills add https://sonub.com -g -s cowork -a claude-code -y
npx skills add https://sonub.com -l

npx skills add https://sonub.com -s cowork

npx skills add https://sonub.com -g -s cowork

npx skills add https://sonub.com -s gp -s cowork

npx skills add https://sonub.com -s gp cowork

npx skills add https://sonub.com -g -s cowork -a claude-code -y

從左往右讀:npx skills add https://sonub.com -g -s cowork 的意思是“從 sonub.com,為所有專案,只安裝 cowork”。

進階練習 — 在你的專案裡做一個

  1. 寫下一個你向 AI 提過三次以上的請求。
  2. 用 npx skills init 建好這個技能的資料夾,寫上 name 和 description。
  3. 用五行以內寫出步驟,並附一個結果的例子。
  4. 在新會話裡用平常的話提出請求,看技能有沒有被用上。然後再按名字呼叫它。
  5. 提一個不相關的請求,確認技能沒有被用上。

五項都做到了,就進入 [高階] 標籤頁。

官方文件

已於 2026-10-18 對照官方文件核實。這些工具變化很快 — 如果命令不起作用,請檢視官方文件。

可預約時間已過