Pular para o conteúdo
Kitbay
Skill

plugin-settings

Apache-2.0Atualizado em 11 de nov. de 202646.808Estrelas no GitHubInclui scripts

A skill in the plugin-dev plugin of Anthropic's official Claude Code plugin directory that explains how a Claude Code plugin can keep per-project settings and state in a .claude/<plugin-name>.local.md file, with YAML frontmatter for structured values and a Markdown body for prompts or context.

O que a skill ensina

A skill in the plugin-dev plugin of Anthropic's official Claude Code plugin directory that explains how a Claude Code plugin can keep per-project settings and state in a .claude/<plugin-name>.local.md file, with YAML frontmatter for structured values and a Markdown body for prompts or context. It shows how hooks parse the file with shell tools and exit quietly when it is missing, how commands and agents read it, and patterns such as switching a hook on or off, storing agent coordination state or setting a validation level. Its advice includes keeping the file out of git, providing defaults, validating values, escaping input, restricting permissions and telling users to restart Claude Code. Example files and helper scripts are included.

O que faz

  • Design a per-project plugin settings file
  • Parse YAML frontmatter in hooks
  • Toggle hooks from a settings file
  • Secure and gitignore local settings