Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Set up cross-platform file system watching with debouncing and efficient change detection
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -59% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -50% | 0% |
| case-22 | ✗→✓ | ▲ Improved | -55% | 0% |
Set up cross-platform file system watching with debouncing, efficient change detection, and proper resource management.
json{ "type": "object", "properties": { "projectPath": { "type": "string" }, "watchLibrary": { "enum": ["chokidar", "native", "nsfw"] }, "debounceMs": { "type": "number", "default": 300 } }, "required": ["projectPath"] }
javascriptconst 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}`));
file-dialog-abstractionfile-system-integration processOther measured skills in the registry, with their headline benchmark lift.