こんにちは。
ファインディ株式会社でテックリードマネージャーをやらせてもらってる戸田です。
この記事は、ファインディエンジニア #1 Advent Calendar 2025の17日目の記事です。
現在のソフトウェア開発の世界は、生成AIの登場により大きな転換点を迎えています。
GitHub CopilotやClaude Codeなど生成AIを活用した開発支援ツールが次々と登場し、開発者の日常的なワークフローに組み込まれつつあります。
そんな中で先日、Claude Codeの新機能であるPluginsが公開されました。
そこで今回は、Pluginsの紹介と解説、作り方と利用方法を紹介したいと思います。
それでは見ていきましょう!
Pluginsとは
PluginsはCustom slash commands, Subagents, Hooks, Agent Skills、MCPサーバーを使用してClaude Codeを拡張できる便利な機能となっています。
また、marketplacesからPluginsをインストールして、事前に構築されたCustom slash commands, Subagents, Hooks, Agent Skills、MCPサーバーを利用できるようにもなります。
一言で言うと、Claude Codeの各種設定や機能をPluginsとして事前に用意しておき、それらを簡単に横展開できるようにした仕組みです。
開発組織やチーム間で、開発手法やワークフローを標準化するのに非常に役立ちます。
作り方
必要なファイルと、展開したい各種Claude Codeの設定ファイルなどを用意するだけでPluginsを作成できます。
まずPluginsを管理するための新しいリポジトリをGitHub上に作成します。作成したリポジトリをLocal環境にcloneしましょう。今回は TestOrg/DevPlugins というリポジトリを作成したとします。
次にリポジトリのrootに .claude-plugin というディレクトリを作成し、その中に marketplace.json というファイルを新規で作成します。
{
"name": "DevPlugins",
"owner": {
"name": "TestOrg Inc."
},
"plugins": [
{
"name": "development-plugin",
"source": "./development-plugin",
"description": "Development plugin for TestOrg Inc."
}
]
}
次にリポジトリのrootに development-plugin/.claude-plugin というディレクトリを作成し、その中に plugin.json というファイルを新規で作成します。
{
"name": "development-plugins",
"description": "Development plugins for TestOrg",
"version": "0.0.1",
"author": {
"name": "TestOrg Inc."
}
}
これで DevPlugins というmarketplaceに development-plugin というPluginsが作成されました。
ここまで用意できれば、あとは展開したい各種Claude Codeの設定ファイルを development-plugin ディレクトリ以下に配置していくだけです。今回はCustom slash commandsを追加します。
--- description: Greet the user with a personalized message --- # Hello Command Greet the user warmly and ask how you can help them today. Make the greeting personal and encouraging.
全体の最小構成は次のようになります。
DevPlugins/
├── .claude-plugin/
│ └── marketplace.json
└── development-plugin/
├── .claude-plugin/
│ └── plugin.json
└── commands/
└── hello.md
作成したファイルをGitHubのデフォルトブランチに push すれば Plugins の作成と展開は完了です。marketplace と Plugins の設定ファイルを作成し、展開したい各種Claude Codeの設定ファイルを配置するだけでシンプルに構築できることが分かると思います。
利用方法
作成したPluginsを利用する方法を説明します。
まずPluginsの登録先を追加します。Claudeのコンソールに入って、次のコマンドを実行します。
> /plugin marketplace add TestOrg/DevPlugins
このコマンドにより、GitHub上のリポジトリをmarketplaceとして登録します。
次に、作成したPluginsを実際にインストールします。続いて次のコマンドを実行します。
> /plugin install development-plugin@DevPlugins
実行すると次のような出力が表示されるので Install now を選択します。
╭────────────────────────────────────────────────────────────╮ │ Plugin Details │ │ │ │ development-plugin │ │ │ │ Development plugin for TestOrg Inc. │ │ │ │ Will install: │ │ • Components will be discovered at installation │ │ │ │ > Install now │ │ Back to plugin list │ ╰────────────────────────────────────────────────────────────╯
インストールが成功すると ✓ Installed development-plugin. Restart Claude Code to load new plugins. と表示されるので、Claude Codeを再起動します。
再起動すると、インストールしたPluginsが利用可能になります。実際に利用するには、次のようにコマンドを実行します。
> /development-plugin:hello
実行すると次のような出力が表示されました。Pluginsを正しくインストール出来たことが確認できます。
⏺ Hello! 👋 Welcome to DevPlugins I'm Claude Code, and I'm here to help you with anything related to this project. Whether you need to: - 🚀 Set up the development environment - 🔧 Build new features or fix bugs - 🧪 Write or run tests - 📊 Work with the database or migrations - 🤖 Integrate with Claude AI or GitHub APIs - 📝 Review code or create pull requests I'm ready to assist! I have full context of the project structure, authentication patterns, service architecture, and best practices for this codebase. What would you like to work on today?
まとめ
Pluginsを利用することで、開発組織やチーム間で開発手法やワークフローを簡単に標準化できるようになります。
弊社ではClaude Codeの共通の設定を自動で設定するCustom slash commandsや、Pull requestを作成するAgent Skillsなどを作成して開発組織全体に展開し、開発効率の向上に役立てています。実際に作成した Plugins の具体例紹介は、別の機会で改めてまとめたいと思います。
現在、ファインディでは一緒に働くメンバーを募集中です。
興味がある方はこちらから ↓ herp.careers