Plugin Settings Pattern

•
229
•

Establishes a standard pattern for making Claude Code plugins configurable on a per-project basis using local markdown files with YAML frontmatter.

Provides a standardized method for making Claude Code plugins configurable on a per-project basis. This skill details the `.claude/plugin-name.local.md` file pattern, which uses YAML frontmatter for structured settings (like API keys or feature flags) and a markdown body for unstructured content (like prompts or notes). It's essential for developers creating plugins, hooks, or agents that need to adapt their behavior based on user-defined, project-specific configuration without modifying the core plugin code.

主な機能

01229 GitHub stars
02Utilizes YAML frontmatter for structured data and markdown for prompts or notes.
03Covers best practices for defaults, validation, and `.gitignore` management.
04Illustrates patterns for managing agent state and conditional hook execution.
05Defines the `.claude/plugin-name.local.md` convention for per-project settings.
06Includes shell script snippets for parsing configuration files in hooks.

ユースケース

01Creating a plugin with user-configurable behavior for different projects.
02Allowing users to easily enable or disable a hook without editing plugin files.
03Storing persistent state or multi-step instructions for an agent.