← Browse

@fishtvlvoe/ssc

A

建立或升級 Skill / Agent / Hook 時使用。

skillclaude

Install

agr install @fishtvlvoe/ssc --target claude

Writes 8 files into .claude/skills/, pinned to git-d3fbeb26.

  • .claude/skills/ssc/CHANGELOG.md
  • .claude/skills/ssc/CONTRIBUTING.md
  • .claude/skills/ssc/LICENSE
  • .claude/skills/ssc/README.en.md
  • .claude/skills/ssc/README.md
  • .claude/skills/ssc/SECURITY.md
  • .claude/skills/ssc/SKILL.md
  • .claude/skills/ssc/VERSION

Document


name: ssc description: "建立或升級 Skill / Agent / Hook 時使用。" user-invocable: true

SSC — Super Skills Creator

GATE:強制對焦(不可跳過)

收到任務後,第一步必須:

  1. 一句話複述「我理解你要 ___」
  2. 判斷模式:
    • 新建:從零打造
    • 轉換:把別人的 Skill 改造成我們的結構
    • 升級:把現有世代 1/2 升級到世代 3
  3. 問「方向對嗎?」→ 用戶說 OK 才往下

強制委派規則(不可跳過):

  • 需要讀取參考檔、現有 Skill、範本(3+ 個檔案)→ Haiku 子代理收集摘要,主對話只看結果
  • 建立/寫入檔案 → Sonnet 子代理執行,主對話確認結構後下指令
  • 主對話只做:確認方向、決定結構、核查輸出

步驟 1:分類(Skill / Agent / Hook)

Read knowledge/classification.md 依決策樹判斷類型。

判斷完成後,向用戶報告:

  • 「這個適合做 [Skill / Agent / Hook],因為 ___」
  • 如果是灰色地帶(混合型),說明拆法

強制停止點:用戶確認分類結果才往下。


步驟 2:訪談收集資訊

依分類類型,問不同的問題:

Skill(互動式工作流):

  1. 這個 Skill 要完成什麼任務?
  2. 需要用戶確認哪些關鍵決策?(→ 停止點)
  3. 品質怎麼判斷?(→ 品質檢查類型)
  4. 有沒有固定的輸出格式?(→ TEMPLATES.md)
  5. 有哪些參考資料需要按需載入?(→ knowledge/)

Agent(獨立執行):

  1. 這個 Agent 的專業領域是什麼?
  2. 輸入什麼、輸出什麼?
  3. 有沒有 Checklist 需要逐項檢查?
  4. 嚴重程度怎麼分級?

Hook(事件觸發):

  1. 什麼事件觸發?(SessionStart / Stop / PreToolUse 等)
  2. 要執行什麼 Shell 指令?
  3. timeout 多少?

步驟 3:產出結構

Read knowledge/templates.md 取得對應模板,生成完整檔案。

Skill → 世代 3 結構:

  • 建立 ~/.claude/skills/<name>/SKILL.md(含 GATE + 流程 + 品質檢查 + 完成條件)
  • 建立 knowledge/ 資料夾(如有參考資料)
  • 建立 TEMPLATES.md(如有固定輸出格式)

Agent → agents/*.md:

  • 建立 ~/.claude/agents/<name>.md

Hook → settings.json:

  • 輸出 hook 設定片段,由用戶確認後寫入

強制停止點:產出後展示給用戶,確認才寫入檔案。


步驟 4:品質檢查

Read knowledge/quality-check.md 執行品質驗證。

驗證項目依類型不同:

  • Skill → 世代 3 完整性檢查(5 項必備元件)
  • Agent → 結構完整性 + 職責單一性
  • Hook → 指令可執行性 + 事件正確性

完成條件(全部達到才算完成)

  • GATE 已通過
  • 分類已確認(Skill / Agent / Hook)
  • 結構已產出且用戶已確認
  • 品質檢查全部通過
  • 檔案已寫入正確位置

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-d3fbeb26a7af2026-07-31