Plugin Structure
建立 Claude Code 外掛結構
外掛作者需要 Claude Code 可探索的一致版面配置。此技能說明資訊清單、元件、hooks、MCP 伺服器,以及可靠外掛所需的可攜式路徑。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "Plugin Structure" from https://skillstore.io/skills/anthropics-plugin-structure.md and its manifest at https://skillstore.io/api/skills/anthropics-plugin-structure/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「Plugin Structure」。 Create a small plugin for a reusable review command.
預期結果:
- 一份最小資料夾規劃,資訊清單位於 .claude-plugin 下。
- 一個 command 檔案位置,以及 Claude Code 如何探索它的簡短說明。
- 未來元件的命名和路徑指引。
正在使用「Plugin Structure」。 Organize a team plugin with commands, agents, and skills.
預期結果:
- commands、agents、skills、hooks、scripts 和 references 的結構化元件對照表。
- 使用者可見 commands 與可重用知識檔案之間的清楚邊界。
- 關於可攜式路徑參照和選用自訂資訊清單路徑的備註。
正在使用「Plugin Structure」。 Audit a proposed plugin tree before publishing.
預期結果:
- 缺少必要檔案和元件放置錯誤的檢查清單。
- 針對資訊清單路徑、檔案名稱和巢狀目錄的具體修正。
- Claude Code 探索準備狀態的簡短摘要。
安全審計
安全All 218 static findings are false positives caused by Markdown code fences, inline code, placeholder metadata, or non-executing examples. The reviewed files contain documentation only, with no credential harvesting, network exfiltration, prompt injection, or hidden behavior. Some examples describe hooks, MCP servers, and shell commands that generated plugins should review before use.
風險因素
⚙️ 外部命令 (50)
🌐 網路存取 (17)
📁 檔案系統存取 (8)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/anthropics-plugin-structure/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/anthropics-plugin-structure?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/anthropics-plugin-structure?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/anthropics-plugin-structure/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/anthropics-plugin-structure.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
anthropics. (2026). Plugin Structure security audit report (audit version 8) [Author version 0.1.0]. Skillstore. https://skillstore.io/skills/anthropics-plugin-structure/audits/8BibTeX 引用
@techreport{anthropics-anthropics-plugin-structure-2026,
author = {anthropics},
title = {Plugin Structure security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/anthropics-plugin-structure/audits/8},
note = {Author version 0.1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "Plugin Structure security audit report (audit version 8)"
version: "0.1.0"
type: report
authors:
- name: "anthropics"
date-released: "2026-07-18"
url: "https://skillstore.io/skills/anthropics-plugin-structure/audits/8"
identifiers:
- type: other
value: "skillstore:anthropics-plugin-structure:audit:8"
description: "Skillstore immutable audit report identifier"
比較變體
3 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
為第一個外掛建立腳手架
建立包含必要資訊清單和起始元件目錄的最小外掛版面配置。
標準化團隊外掛
為共享外掛儲存庫定義一致的資料夾、命名規則和資訊清單慣例。
審查複雜外掛架構
檢查結合 commands、agents、skills、hooks、scripts 和 MCP 伺服器的外掛設計。
試試這些提示
建立一個名為 my-helper 的最小 Claude Code 外掛,包含必要資訊清單和一個 command。說明每個檔案的用途。
為程式碼品質自動化設計外掛版面配置,包含 commands、agents、skills、scripts 和 references。使用標準探索路徑。
規劃一個使用 hooks 和 MCP 伺服器的外掛。包含安全的路徑參照、環境變數和元件邊界。
審查此 plugin file tree 是否相容於 Claude Code。識別資訊清單、探索、命名、可攜性和可維護性問題。
最佳實務
- 除非需要自訂路徑,否則將元件目錄保留在外掛根目錄。
- 對參照外掛內部檔案的路徑使用 CLAUDE_PLUGIN_ROOT。
- 只建立外掛實際需要的元件目錄。
避免
- 將 commands、agents、skills 或 hooks 放在 .claude-plugin 內。
- 在資訊清單路徑中使用絕對路徑、家目錄捷徑或父目錄遍歷。
- 建立缺乏清楚元件所有權或文件說明的廣泛 utility 資料夾。
常見問題
此技能可以協助建立什麼?
它會安裝外掛嗎?
它可以建立 hooks 嗎?
它支援 MCP 伺服器嗎?
它只適用於新外掛嗎?
哪些工具可以使用它?
開發者詳細資訊
作者
anthropics授權
MIT
作者版本
v0.1.0
Skillstore 修訂
r1
引用
1b5b6c4962b2ad5a7a34603cab2685bbbd1b61ef
維護新鮮度
2026/7/18
使用量
6 次下載 · 636 次瀏覽