·plugin-structure
</>

plugin-structure

anthropics/claude-plugins-official

當使用者要求「建立插件」、「建立插件」、「理解插件結構」、「組織插件元件」、「設定plugin.json」、「使用 ${CLAUDE_PLUGIN_ROOT}」、「新增指令/代理/技能/鉤子」、「設定自動發現」時,或需要目錄目錄佈局、清單設定、「新增指令/代理/技能/鉤子」、「設定自動發現」時,或是需要在目錄版面、清單設定、裝置、檔案命名方案

148安裝·4熱度·@anthropics

安裝

$npx skills add https://github.com/anthropics/claude-plugins-official --skill plugin-structure

SKILL.md

Claude Code plugins follow a standardized directory structure with automatic component discovery. Understanding this structure enables creating well-organized, maintainable plugins that integrate seamlessly with Claude Code.

The manifest defines plugin metadata and configuration. Located at .claude-plugin/plugin.json:

Version format: Follow semantic versioning (MAJOR.MINOR.PATCH) Keywords: Use for plugin discovery and categorization

當使用者要求「建立插件」、「建立插件」、「理解插件結構」、「組織插件元件」、「設定plugin.json」、「使用 ${CLAUDE_PLUGIN_ROOT}」、「新增指令/代理/技能/鉤子」、「設定自動發現」時,或需要目錄目錄佈局、清單設定、「新增指令/代理/技能/鉤子」、「設定自動發現」時,或是需要在目錄版面、清單設定、裝置、檔案命名方案 來源:anthropics/claude-plugins-official。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/anthropics/claude-plugins-official --skill plugin-structure
分類
</>開發工具
認證
收錄時間
2026-02-12
更新時間
2026-02-18

快速解答

什麼是 plugin-structure?

當使用者要求「建立插件」、「建立插件」、「理解插件結構」、「組織插件元件」、「設定plugin.json」、「使用 ${CLAUDE_PLUGIN_ROOT}」、「新增指令/代理/技能/鉤子」、「設定自動發現」時,或需要目錄目錄佈局、清單設定、「新增指令/代理/技能/鉤子」、「設定自動發現」時,或是需要在目錄版面、清單設定、裝置、檔案命名方案 來源:anthropics/claude-plugins-official。

如何安裝 plugin-structure?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/anthropics/claude-plugins-official --skill plugin-structure 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/anthropics/claude-plugins-official