本文へスキップ
TakoAPI
スキル一覧に戻る

entr

gumadeiras 作

CLI Utilities
1.8kダウンロード数はclawskills.shが公開している値です
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Run arbitrary commands when files change.

説明

このスキルでできること

entr watches a list of files and re-runs a specified command whenever any of those files change. It reads filenames from stdin and blocks the terminal while monitoring.

entr requires no configuration files or daemons, making it faster to set up than tools like nodemon or watchman for ad-hoc watch tasks.

使いどころ

  • Rebuild a C project automatically when source files change
  • Re-run test suite on every JavaScript file save
  • Auto-reload a Node.js server when app files are modified
  • Trigger a linter on file changes during development
  • Watch config files and restart a service on edits

ワークフロー例

入力

User asks: watch all JS files in the repo and re-run tests on save

エージェント
  1. 1

    List tracked files using git ls-files

  2. 2

    Pipe output through grep to filter .js files

  3. 3

    Pass the file list to entr with npm test as the command

  4. 4

    Run the full pipeline in the background using the process tool

  5. 5

    Monitor output for test results as files change

出力

entr watches the matched files and executes npm test each time a change is detected

インストール

clawhub install gumadeiras/entr

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク