Module 07 References

Official Documentation

Key Concepts Quick Reference

Hook Event Types

EventWhen it firesExit code effect
PreToolUseBefore tool executesNon-zero blocks tool; stdout sent to Claude
PostToolUseAfter tool executesExit code ignored; stdout ignored
NotificationWhen Claude needs attentionOS-level alerting
StopAfter Claude finishes responseCleanup / notifications

Settings Precedence (highest to lowest)

  1. .claude/settings.local.json (project + machine, never committed)
  2. .claude/settings.json (project, committed to repo)
  3. ~/.claude/settings.local.json (global + machine, never committed)
  4. ~/.claude/settings.json (global defaults)

Skill File Frontmatter Fields

name: skill-name        # Required. Must match filename.
description: string     # Optional. Shown in /help.
trigger: string         # Optional. Natural language auto-invoke condition.
args:                   # Optional. Named parameters.
  - name: param-name
    description: string
    default: string

Permissions Syntax

"allow": ["Read", "Bash(git *)", "Bash(npm run *)"]
"deny": ["Bash(sudo *)", "Bash(rm -rf *)"]

Tools and Libraries Mentioned

  • Module 01: Environment setup — installing Claude Code, initial configuration
  • Module 05: MCP — registering MCP servers in mcpServers section of settings.json
  • Module 09: Advanced agents — using skills + hooks in complex multi-step agents