开始使用免费开始使用

Package what you built

Over this course you built a setup worth keeping: a verification skill that fires on its own, and hooks that gate the turn. Right now it lives in one .claude directory on one machine, and the only way your team gets it is copy and paste.

Package it instead. A plugin is one installable unit, and it uses the same shape you already have, so this is mostly a move plus a manifest.

本练习是课程的一部分

Claude Code in Action

查看课程

练习说明

  • Start Claude Code with claude.
  • Ask Claude to package the project's .claude setup as a plugin in a new queries-verify/ directory, putting the skill under skills/ and the hook wiring in hooks/hooks.json.
  • Have it write the manifest to queries-verify/.claude-plugin/plugin.json with a hyphenated name, a version, a description, and an author.
  • Type /exit to exit Claude Code.

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习