Gustavo Madeira Santana
作者:Gustavo Madeira Santana更新於 2026-05-17@clawhub_gumadeiras/entr
指令碼工具

據 AlphaMoat 統計,截至 2026-09,entr 累計下載 3,267 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 3,481 位,在「開發程式設計」分類(577 個)中排名第 449 位。

累計安裝
104
累計下載
3267
星標
-
全站排名
#3,481
全站前 69% · 「開發程式設計」前 78%
平台累計安裝累計下載星標評論
ClawHub ↗1043267--
SkillHub ↗1043241-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

文件說明透過標準輸入提供檔案列表,再由 entr 啟動指定命令;可用於原始檔變化時重新構建、執行測試或過載服務。由於它能執行任意命令,監控範圍和待執行命令應先審查。

資料釋出於 2026-10-29

可以用來做什麼

  • 監視原始檔並在變更時重新構建專案。
  • 在相關檔案更新後執行測試。
  • 在開發時過載持續執行的子程序。

什麼時候用

  • 需要對本地檔案變化觸發命令列任務時。
  • 執行前確認被監控的檔案範圍和命令副作用時。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

為這個目錄設計一個檔案變更後執行測試的 entr 命令方案,先解釋不會監控哪些路徑。
審查這條監控命令可能執行的操作,不要執行它。

月度資料趨勢

累計下載3267
1984267333622026-03 · 累計下載 20792026-05 · 累計下載 25852026-06 · 累計下載 27422026-07 · 累計下載 30272026-08 · 累計下載 31652026-09 · 累計下載 326726-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093267—-
2026-083165+4.6%-
2026-073027+10.4%-
2026-062742+6.1%-
2026-052585—-
2026-032079—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

1.1 KB · ClawHub v1.0.0
---
name: entr
description: Run arbitrary commands when files change. Useful for watching files and triggering builds or tests.
---

# entr (Event Notify Test Runner)

A utility for running arbitrary commands when files change.

## Usage
展開全部(共 45 行)

`entr` takes a list of filenames from standard input and executes the utility specified as the first argument.

### Syntax
```bash
<file_listing_command> | entr <utility> [arguments]
```

### Options
- `-c`: Clear the screen before invoking the utility.
- `-r`: Reload a persistent child process (e.g., a server).
- `-s`: Evaluate the first argument using the interpreter specified by `SHELL`.

## Examples

**Rebuild project when sources change:**
```bash
find src/ -name "*.c" | entr make
```

**Run tests when JS files change:**
```bash
git ls-files | grep '\.js$' | entr npm test
```

**Auto-reload a Node server:**
```bash
ls *.js | entr -r node app.js
```

## Agent Notes
`entr` blocks the terminal. When using it as an agent:
1. Use `process` tool to run it in the background if you need to do other things.
2. Or use it for a quick "watch mode" session where you intend to monitor output for a while.

「開發程式設計」分類下的熱門技能

Gustavo Madeira Santana 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。