# Local Settings Template

Copy the JSON block below to `.claude/settings.local.json` in your project root. This file is gitignored and contains personal preferences that override project settings.

---

```json
{
  "permissions": {
    "allow": [
      "Bash(git push origin *)",
      "Bash(gh pr create *)",
      "Bash(gh pr view *)",
      "Bash(gh issue view *)"
    ]
  },
  "hooks": {
    "Notification": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "osascript -e 'display notification \"Claude needs your attention\" with title \"Claude Code\"'"
          }
        ]
      }
    ]
  }
}
```

---

## Platform-Specific Notification Hooks

### macOS

```json
{
  "type": "command",
  "command": "osascript -e 'display notification \"Claude needs your attention\" with title \"Claude Code\"'"
}
```

### Linux

```json
{
  "type": "command",
  "command": "notify-send 'Claude Code' 'Claude needs your attention'"
}
```

---

## Notes

- `.claude/settings.local.json` overrides `.claude/settings.json` for the current user
- Add `.claude/settings.local.json` to `.gitignore`
- Use this for personal tool permissions (push, PR creation), editor integration, and OS-specific hooks
- Do not put team-shared settings here; those belong in `.claude/settings.json`
