file-watcher-setup
SkillFiles & storageSet up cross-platform file system watching with debouncing and efficient change detection
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the file-watcher-setup skill
What this skill tells your AI
The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/desktop-development/skills/file-watcher-setup/SKILL.md and read by ahel’s review.
Set up cross-platform file system watching with debouncing, efficient change detection, and proper resource management.
Capabilities
- Watch files and directories
- Configure debouncing
- Handle recursive watching
- Filter file types
- Detect add/change/delete events
- Handle watcher errors
- Resource cleanup
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"watchLibrary": { "enum": ["chokidar", "native", "nsfw"] },
"debounceMs": { "type": "number", "default": 300 }
},
"required": ["projectPath"]
}
Chokidar Example
const chokidar = require('chokidar');
const watcher = chokidar.watch('/path/to/watch', {
ignored: /(^|[\/\\])\../,
persistent: true,
ignoreInitial: true,
awaitWriteFinish: {
stabilityThreshold: 300,
pollInterval: 100
}
});
watcher
.on('add', path => console.log(`Added: ${path}`))
.on('change', path => console.log(`Changed: ${path}`))
.on('unlink', path => console.log(`Removed: ${path}`));
Related Skills
file-dialog-abstractionfile-system-integrationprocess
Signals
- GitHub stars
- 2k
- Forks
- 112
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
file-watcher-setup- Source
- github.com/a5c-ai/babysitter
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · wshobson
The pick for JavaScriptnodejs-backend-patterns
Skill · wshobson
The pick for Noderun-node-tests
Skill · hiroro-work
The pick for Nodepptx
Skill · anthropics
More in Files & storagedocx
Skill · anthropics
More in Files & storage