watch

Set up a file watcher that triggers Claude on file changes

Content Preview
---
description: Set up a file watcher that triggers Claude on file changes
argument: Watch path (file or directory)
---

# File Watcher Setup

Set up a chokidar-based file watcher for: `$ARGUMENTS`

## Instructions

1. Ask the user the following questions interactively (use AskUserQuestion):
   - **Prompt**: "What Claude prompt should run when files change?" (remind them they can use `{{file}}` as a placeholder for the changed file path)
   - **Glob filter** (optional): "Do you want to filter b
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/watch.md \
  https://raw.githubusercontent.com/qdhenry/Claude-Command-Suite/main/.claude/commands/dev/watch.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/qdhenry/Claude-Command-Suite

Then reference at .claude/commands/dev/watch.md

Related Skills