AGENT SKILL

eforge-restart

Safely restart the eforge daemon, checking for active builds first

License 许可
Apache-2.0
最近更新
2026-07-14
Stars
★ 71
Forks
4

01 前言 Front Matter

name
eforge-restart
description
Safely restart the eforge daemon, checking for active builds first
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

/eforge:restart

Safely restart the eforge daemon. Checks for active builds before stopping, then starts a fresh daemon instance.

Workflow

Step 1: Restart via Tool

Call the eforge_daemon tool with { action: "restart" }.

  • If the response contains an error about active builds, tell the user:

An eforge build is currently running. The daemon cannot be safely restarted while builds are in progress. Please wait until all builds complete, then re-run /eforge:restart.

Stop here. Do not proceed.

  • If the response succeeds, proceed to Step 2.

Step 2: Report Result

Report the restart result using the response from the tool:

eforge daemon restarted

The daemon is now running on port {port}.

Force Restart

If the user explicitly requests a forced restart (even with active builds), call the eforge_daemon tool with { action: "restart", force: true }.

Error Handling

Error Action
<!-- parity-skip-start -->
Tool unavailable Warn that eforge tools are not available; suggest checking the extension is loaded
<!-- parity-skip-end -->
Active build detected Abort the restart; tell the user to wait until all builds complete before retrying, or use force restart
Restart fails Show error output; suggest running /eforge:restart again or checking daemon logs

Related Skills

Skill Command When to suggest
Init eforge_init No eforge config found in the project
Build eforge_build User wants to enqueue work for the daemon to build
Config eforge_config User wants to view, edit, or validate the eforge config
Status eforge_status User wants to check build progress or queue state
Update eforge_update User wants to check for or install eforge updates

04 同仓库更多 Skills