diff --git a/cc-workshop-2/01_skills.md b/cc-workshop-2/01_skills.md index 2e198a2..830dfad 100644 --- a/cc-workshop-2/01_skills.md +++ b/cc-workshop-2/01_skills.md @@ -1,4 +1,4 @@ -# Workshop 04: Building Reusable Skills +# Workshop 01: Building Reusable Skills **Duration: ~12 minutes** diff --git a/cc-workshop-2/02_subagents.md b/cc-workshop-2/02_subagents.md index c3f39a5..f282cc2 100644 --- a/cc-workshop-2/02_subagents.md +++ b/cc-workshop-2/02_subagents.md @@ -1,4 +1,4 @@ -# Workshop 05: Mastering Subagents +# Workshop 02: Mastering Subagents **Duration: ~16 minutes** diff --git a/cc-workshop-2/03_hooks.md b/cc-workshop-2/03_hooks.md index ddc1376..4f85019 100644 --- a/cc-workshop-2/03_hooks.md +++ b/cc-workshop-2/03_hooks.md @@ -1,4 +1,4 @@ -# Workshop 07: Hooks +# Workshop 03: Hooks **Duration: ~8 minutes** @@ -59,6 +59,8 @@ Hooks live in settings files: } ``` +**Important:** You must restart Claude Code after adding or modifying hooks. Changes to hooks configuration are only loaded when Claude starts. + --- ## Task 1: Create Settings File diff --git a/cc-workshop-2/04_marketplace.md b/cc-workshop-2/04_marketplace.md index 5883d28..d2ec6c2 100644 --- a/cc-workshop-2/04_marketplace.md +++ b/cc-workshop-2/04_marketplace.md @@ -1,4 +1,4 @@ -# Workshop 07: Plugins & Marketplaces +# Workshop 04: Plugins & Marketplaces **Duration: ~8 minutes** @@ -50,7 +50,7 @@ A **marketplace** is a catalog of plugins you can browse and install from: Add the official Anthropic marketplace: ```bash -/plugin marketplace add anthropics/claude-code-plugins +/plugin marketplace add anthropics/claude-code ``` Or add a community marketplace: @@ -82,21 +82,6 @@ Or add a community marketplace: --- -## Example: Official Plugin Dev Tools - -Install Anthropic's plugin development toolkit: - -```bash -/plugin install anthropics/claude-code:plugin-dev -``` - -This adds: -- `/plugin-dev:create-plugin` — Guided plugin creation -- Plugin validator agent -- Skills for building commands, hooks, MCP servers - ---- - ## Quick Reference | Action | Command | diff --git a/cc-workshop-2/05_plugins.md b/cc-workshop-2/05_plugins.md index 9d4240a..ae0d49e 100644 --- a/cc-workshop-2/05_plugins.md +++ b/cc-workshop-2/05_plugins.md @@ -144,10 +144,13 @@ You are an expert at crafting warm, personalized greetings. Test your plugin locally: +1. Start Claude Code with your plugin directory: ```bash -/plugin install ./my-plugin +claude --plugin-dir ./my-plugin ``` +2. Once Claude starts, run the `/plugin` command and select your plugin from the list + --- ## Publishing Plugins