Skip to content
Skill Authoring
Command

/eac-update

Update eac skill and sub-commands to latest version. Usage: /eac-update

From plugin
everything-ai-coding
20714 skills14 commands
$ npx -y skills add zgsm-ai/everything-ai-coding --agent claude-code

Command definition

eac-update.md
description: 'Update eac skill and sub-commands to latest version. Usage: /eac-update'
argument-hint: resource id

Everything AI Coding - Update

$ARGUMENTS

Language Detection

Determine the output language using the following priority chain (first match wins):

1. **Explicit parameter**: if `$ARGUMENTS` contains `lang:zh` or `lang:en`, use that (strip it from arguments) 2. **Conversation signal**: if the user's recent messages are clearly in one language, follow that 3. **System locale fallback**: run `echo $LANG` in Bash — if the value starts with `zh` (e.g. `zh_CN.UTF-8`), use Chinese; otherwise use English

Once determined, apply consistently:

  • **All output** (status messages, file lists, error messages) MUST be in the detected language.

Pull the latest version of eac skill and sub-commands from GitHub, overwriting the local installation.

Source

**Note**: Apply GitHub Network Detection rules (see SKILL.md) to all GitHub URLs below. If `[network-config]` specifies a proxy, rewrite URLs accordingly.

Base URL: `https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main`

Execution Flow

1. **Detect current platform**

Check in order, use the first match:

  • Check if `~/.claude/skills/eac/SKILL.md` exists → Claude Code
  • If none match, default to Claude Code

2. **Download latest files**

Run the following Bash commands to download from GitHub and overwrite local files:

   # Skill (global)
   curl -sfL "https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main/platforms/claude-code/skills/eac/SKILL.md" -o ~/.claude/skills/eac/SKILL.md

   # Sub-commands (project-level)
   mkdir -p .claude/commands/eac/
   for cmd in search browse recommend install uninstall update; do
     curl -sfL "https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main/platforms/claude-code/commands/eac/${cmd}.md" -o ".claude/commands/eac/${cmd}.md"
   done

3. **Report result** (in user's language)

Show which files were updated:

   Structure:
     Section: "Update Complete"
     Message: "Pulled latest version from GitHub:"
     File list:
       - ~/.claude/skills/eac/SKILL.md
       - .claude/commands/eac/search.md
       - .claude/commands/eac/browse.md
       - .claude/commands/eac/recommend.md
       - .claude/commands/eac/install.md
       - .claude/commands/eac/uninstall.md
       - .claude/commands/eac/update.md

4. **Reset network detection**: After SKILL.md is re-downloaded, delete the `[network-config]` marker at the end of the old file if it was preserved, so a fresh network probe runs on the next session.

Error Handling

  • If curl download fails (network issue or HTTP error like 404/500): prompt user to check network and retry
  • If target directory does not exist (never installed before): prompt user to install first
Read more
@zgsm-ai
Ships witheverything-ai-coding

聚合精选编程 AI 扩展资源:MCP Servers、Skills、Rules、Prompts,周更索引 + 一键安装。

Stars on GitHub

Momentum

stars in total
207
Star history of zgsm-ai/everything-ai-coding on GitHub, a chart by star-history.com

Other commands on everything-ai-coding.

More commands from other plugins.

skillopt-sleep

skillopt-sleep

Command

Run or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…

@microsoft@microsoftInstall Command