Claude Code hook

Claude Code Plugin Template

GitHub template for creating Claude Code plugin marketplaces. Includes plugin scaffolding, validation commands, hooks, skills, agents, and CI/CD workflows. Ready-to-use toolkit for teams distributing Claude Code plugins.

68 stars 16 forksHooks Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add .

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/ivan-magda/claude-code-plugin-template.git

From the README

Claude Code Plugin Marketplace Template

Create and distribute Claude Code plugins for your team or community. This GitHub template gives you a working marketplace structure, scaffolding commands, validation, and CI/CD automation.

Features

- Skip the boilerplate. Marketplace structure, plugin manifests, and GitHub Actions validation come ready to use.
- Plugin development toolkit. Scaffold plugins, add commands, skills, agents, and hooks, then validate before release.
- Team distribution. Set up automatic marketplace installation for your projects.
- Docs and a working example. Guides for every plugin component, plus a hello-world plugin you can copy.

What's Included

Quick Start

1. Create Your Marketplace

Click "Use this template" on GitHub, then clone your new repository:

2. Customize the Marketplace

Update .claude-plugin/marketplace.json with your organization details:

3. Install the Plugin Development Toolkit

4. Create Your First Plugin

Plugin Development Commands

The plugin-development plugin provides these commands:

Repository Structure

Team Distribution

Configure automatic marketplace installation for your team by adding .claude/settings.json to your projects:

When team members trust the repository folder, Claude Code installs the marketplace for them. See Configure team marketplaces for details.

Installing from GitHub

Once your marketplace is published to GitHub, users can install plugins with:

Local Testing

Test your plugins before publishing:

For iterative development:

Uninstalling

Remove the marketplace and its plugins from Claude Code:

To remove everything, delete the cloned repository directory.

Creating Plugins Manually

If you prefer manual setup over the scaffolding commands:

1. Create Plugin Directory

2. Add Plugin…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
Shell
License
MIT
Last updated
28 June 2026
Topics
ai-codinganthropicclaude-codeclaude-code-pluginsclideveloper-toolsmcpplugin-marketplacesstarter-kittemplate-repository

FAQ

What is Claude Code Plugin Template?

GitHub template for creating Claude Code plugin marketplaces. Includes plugin scaffolding, validation commands, hooks, skills, agents, and CI/CD workflows. Ready-to-use toolkit for teams distributing Claude Code plugins. It is a hook for Claude Code, from ivan-magda/claude-code-plugin-template on GitHub.

How do I install Claude Code Plugin Template?

Run /plugin marketplace add . inside Claude Code, then follow the setup in the README.

Is Claude Code Plugin Template popular?

ivan-magda/claude-code-plugin-template has 68 GitHub stars and 16 forks. It was last updated on 28 June 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.