claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[DOCS] Request Syntax and usage examples for Frontmatter hooks

Open vantasnerdan opened this issue 1 month ago • 0 comments

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/hooks-guide

Section/Topic

Front Matter Hooks

Current Documentation

Change Log for version 2.1.0 shows these two new features

  • Added hooks support to agent frontmatter, allowing agents to define PreToolUse, PostToolUse, and Stop hooks scoped to the agent's lifecycle
  • Added hooks support for skill and slash command frontmatter

What's Wrong or Missing?

The syntax for using these features is not documented.

Suggested Improvement

I've tried brute force validating this without success.

Impact

High - Prevents users from using a feature

Additional Context

No response

vantasnerdan avatar Jan 08 '26 11:01 vantasnerdan