SkillsLib.ai

File Watcher

Monitor directories and auto-run Claude prompts on file changes

4.3(45 reviews)
500+ downloads
Updated Sep 2026
Verified SafeSecurity VerifiedThis skill was analyzed by our AI security scanner for harmful content including data exfiltration, system manipulation, credential theft, and prompt injection. No threats were detected.

What You Can Do

Set up continuous monitoring of specific directories or file types, then automatically trigger Claude prompts whenever files change. Perfect for real-time code validation, design-to-code synchronization, test generation, or configuration updates. Each changed file is processed through your custom prompt with full access to its contents.

Features

Real-time file monitoring

Watch directories recursively with Chokidar, detecting adds and changes instantly

Debounce control

Batch rapid saves with configurable debounce delays (default 500ms) to prevent duplicate runs

Glob pattern filtering

Target specific file types (e.g., *.tsx, *.css) to avoid processing unwanted files

Dynamic file substitution

Use {{file}} placeholder in prompts to inject the changed file path automatically

CLI-driven workflow

Execute via npm/bun scripts with flexible arguments for path, prompt, and options

Synchronous execution

Each file change triggers an immediate Claude analysis with results logged to stdout

Batch processing support

Handle multiple file changes efficiently without blocking or missing events

Example Output

Code Review Scenario: Watching src/ for TypeScript changes. When src/api.ts is modified:

code
✓ Analyzing src/api.ts for issues
• Line 42: Missing error handling in async function
• Consider adding try-catch wrapper
• Type annotation missing on params

Design Sync Scenario: Watching designs/ for Figma exports. When designs/button.json changes:

code
✓ Design file detected: designs/button.json
Updated React component:
- Button padding: 12px → 16px
- Hover state color: #0066cc → #0052a3
- Added focus ring: 2px solid #0066cc

What's Included

  • SKILL.md: Complete setup instructions and CLI reference
  • watch-files.mjs: Chokidar-based watcher script with debouncing and glob filtering
  • CLI argument guide: Reference for path, prompt, glob patterns, and debounce options
  • Example prompts library: Pre-written prompts for code review, type checking, design sync, and test generation
  • npm/bun integration: Package.json script templates for common workflows

Who It's For

  • Full-stack developers — Auto-validate code changes against coding standards in real-time
  • Frontend engineers — Keep React components synchronized with design file updates
  • QA engineers — Automatically test modified files for compliance and regressions
  • DevOps/Platform teams — Monitor config files and regenerate dependent artifacts on change
  • Technical leads — Enforce architectural patterns by reviewing every committed file change

Best For

  • Continuous code review — Flag issues in modified files immediately after save
  • Design-to-code workflows — Auto-update components when design tokens or assets change
  • Test generation — Generate or update unit tests whenever source files are modified
  • Type and linting validation — Real-time TypeScript or ESLint-style analysis without build overhead
  • Configuration sync — Regenerate config-dependent files (env schemas, type definitions, docs) on change

You might also like

Setup Portless
$45
Setup Portless

This skill detects your project structure, installs Portless globally, and configures your dev scripts to use stable named URLs instead of port numbers. It handles monorepo detection, suggests appropriate subdomain naming conventions, and updates your package.json automatically—saving you from manual configuration and port conflict headaches.

Shift Coverage Optimization for Support Team Leads
$40
Shift Coverage Optimization for Support Team Leads

You can input historical ticket volume data, agent availability, skill distributions, and cost constraints into Claude to systematically identify coverage gaps and generate optimized shift schedules. The skill surfaces non-obvious solutions like identifying when part-time coverage outperforms full-time hiring, pinpointing cross-training opportunities to improve flexibility, and calculating labor cost trade-offs for different scheduling scenarios—enabling you to make evidence-based decisions that balance operational efficiency with SLA compliance.

Cloudflare Manager
$40
Cloudflare Manager

You can deploy Cloudflare Workers scripts, configure KV Storage and R2 buckets, manage DNS records, set up Pages deployments, and handle routing rules—all directly from Claude. The skill automatically validates your API credentials, extracts live deployment URLs, and surfaces clear error messages when configuration issues arise.

Outbound Campaign Optimizer for Call Center Managers
$40
Outbound3.8(32)
Outbound Campaign Optimizer for Call Center Managers

You can design end-to-end outbound call campaigns from lead list strategy through performance monitoring. Claude helps you create compliant call scripts, validate against TCPA/FCC regulations, set realistic productivity targets that sustain agent morale, and implement KPI tracking systems that prove ROI to leadership. Transform campaign planning from guesswork into a data-driven iterative process.

Infrastructure Code Review and Hardening
$30
Infrastructure Code Review and Hardening

Get comprehensive security and compliance analysis of your infrastructure-as-code across Terraform, CloudFormation, Kubernetes, and other IaC formats. Claude identifies security vulnerabilities, compliance gaps, performance inefficiencies, and cost optimizations while ensuring your infrastructure follows industry best practices and regulatory requirements.

Kubernetes Deployment Helper
$35
Kubernetes Deployment Helper

You can generate complete, production-ready Kubernetes manifests from application requirements or audit existing YAML configurations for security vulnerabilities, resource efficiency, and reliability gaps. The skill applies industry best practices including CPU/memory limits, liveness and readiness probes, graceful rollout strategies, and least-privilege RBAC policies—eliminating common deployment pitfalls and accelerating your path to secure, scalable containerized applications.

Elevenlabs Transcribe
$35
Backend4.3(49)
Elevenlabs Transcribe

You can transcribe audio and video files into accurate text with automatic speaker diarization (identifying who said what), support for 32+ languages, and detection of audio events like background noise or music. The skill accepts flexible parameters for output formatting, custom terminology, and speaker count optimization, making it ideal for podcasts, interviews, meetings, lectures, and multilingual content.

Audit Env Variables
$40
Full-Stack4.7(51)
Audit Env Variables

You can perform a complete audit of your project's environment variables to discover unused configurations, identify which services are integrated (Stripe, AWS, Supabase, etc.), and understand permission scopes. The skill maps exactly where each variable is used in your codebase, then optionally removes unused variables with automatic regression detection to prevent breaking changes.

$25.00