Configure file-watching reactive workflows

file-watcherskillsetup L22,280
rohitg00/pro-workflow
What it does

Configure file watching hooks to auto-react to config changes, env file updates, and dependency modifications. Use to set up reactive workflows.

Best for

Setting up reactive workflows that auto-reload when config, env, or dependency files change.

Inputs
  • · { "hookSpecificOutput": { "hookEventName": "SessionStart", "watchPaths": [ "/absolute/path/to/.env", "/absolute/path/to/package.json" ] } }
  • · { "hook_event_name": "FileChanged", "file_path": "/path/to/changed/file", "event": "change" }
  • · echo "export PROJECT_TYPE=node" >> "$CLAUDE_ENV_FILE" echo "export TEST_CMD='npm test'" >> "$CLAUDE_ENV_FILE"
Outputs
  • · Processed output
  • · Formatted result
Requires
  • · Claude Code hooks
Preconditions

Tool installed and authenticated, read setup instructions

Failure modes

Polling timeout, incomplete state transitions, missing status checks

Trust signals
  • · Testing guidance included