Skip to content
Skill Authoring
Command

/evo

Evolve a locally installed skill / prompt / rule. Usage: /eac:evo <id>

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

Command definition

evo.md
description: 'Evolve a locally installed skill / prompt / rule. Usage: /eac:evo <id>'

Everything AI Coding - Evo

$ARGUMENTS

---

> 📖 **Rubric attribution** — the 7-dimension skill rubric and 4-dimension prompt/rule rubric used below are adapted from [darwin-skill](https://github.com/alchaincyf/darwin-skill) (MIT License © 花叔). darwin-skill originated the "structure + effectiveness" dual-evaluation idea for SKILL.md files. This command simplifies it for on-demand client-side use: the dynamic "live test" dimension and the ratchet mechanism are deferred. See `docs/wiki/evo-rubric.md` in the main repository for full dimension descriptions.

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, rubric labels, diff summaries, prompts) MUST be in the detected language.
  • Command references and file paths stay as-is regardless of language.

Prompt Rendering Rule

Whenever a prompt asks the user to pick an option with letters, ALWAYS render each option with an explicit label. Use these bilingual templates:

| Pattern | English | Chinese | |---------|---------|---------| | `Y/n/edit` (apply/adjust/reject) | `(Y = apply as shown / n = discard, keep original / edit = tell me what to tweak)` | `(Y = 应用改动 / n = 放弃,保留原样 / edit = 告诉我怎么改)` | | dimension-pick | `(all = improve all weak dimensions / comma-separated dimension numbers / skip = exit without changes)` | `(all = 改进所有弱项 / 逗号分隔维度编号 / skip = 不改,退出)` |

Every bare `(Y/n/edit)` or `(all/numbers/skip)` MUST be expanded at render time.

Scope and Applicability

This command operates ONLY on resources already installed locally. It does NOT touch the catalog index, does NOT open upstream PRs, and does NOT persist any data outside the user's home configuration directory.

Supported resource types: **skill**, **prompt**, **rule**. **Refused types**:

  • **mcp** (configuration-only, no textual body to improve)
  • **plugin** (distribution container; contents are owned by the upstream marketplace and re-fetched on install — local edits would be discarded)

Data Sources

**Note**: Apply GitHub Network Detection rules (see SKILL.md) to all GitHub URLs below.

Search index (for id → type resolution): `https://zgsm-ai.github.io/everything-ai-coding/api/v1/search-index.json` Per-entry API (optional, for displaying catalog `weak_dims` as a starting hint): `https://zgsm-ai.github.io/everything-ai-coding/api/v1/{type}/{id}.json`

Local Paths

Target files to evolve (search in order; stop at first found):

| Type | Search paths | |------|--------------| | skill | `~/.claude/skills/<id>/SKILL.md` | | rule | `.claude/rules/<id>.md` → `~/.claude/rules/<id>.md` | | prompt | `.claude/rules/<id>.md` → `~/.claude/rules/<id>.md` (same as rule) |

History cache directory: `~/.claude/.evo/<id>/history.json`

Execution Flow

Step 1 — Parse arguments

Extract resource ID from `$ARGUMENTS` (strip `lang:*` parameter if present). If no ID provided, print usage hint and stop.

Step 2 — Resolve type via search index

1. Fetch search index: `curl -sf --compressed https://zgsm-ai.github.io/everything-ai-coding/api/v1/search-index.json` 2. Exact match on `id` first; else fuzzy match on name/id (Python-side filter) 3. If multiple candidates, list them and let user choose 4. Record the resolved `type`

**If type is `mcp`**, stop immediately with a message: > Evo does not apply to MCP servers — MCP resources are configuration-only and have no textual body to improve. To reconfigure, edit `.claude/settings.json` or reinstall via `/eac:install <id>`.

**If type is `plugin`**, stop immediately with a bilingual message and exit BEFORE locating any local file or invoking the LLM. Do NOT read or modify any files on disk. > evo does not support plugin entries. > evo 不支持 plugin 类型条目。 > Plugins are distribution containers maintained by the upstream marketplace — please file changes via the upstream marketplace (e.g. open a PR against the plugin's source repo / `marketplace.json`). Local modifications would be overwritten on the next install. > Plugin 是分发容器,由上游 marketplace 维护——请向上游 marketplace(如插件源仓库或 `marketplace.json`)提 PR 修改;本机改动会在下次安装时被覆盖。

Step 3 — Locate local copy

Check the target paths listed in "Local Paths" above for the resolved type. If no local copy exists:

> This resource is not installed. Run `/eac:install <id>` first, then come back to evo.

Stop without any further action.

Step 4 — Static lint pre-flight (no LLM call)

Before any LLM invocation, validate the local file's structural integrity.

**Skill lint rules**:

  • File starts with `---` and has a matching closing `---` (frontmatter exists)
  • Frontmatter contains `name` (non-empty, matches regex `^[a-z0-9][a-z0-9-]*$`)
  • Frontmatter contains `description` (non-empty)
  • All markdown code fences (```...```) are closed
  • No illegal control characters (`\x00-\x1f` except `\n`, `\t`, `\r`)

**Prompt / Rule lint rules**:

  • File size ≥ 50 bytes
  • All markdown code fences closed
  • No illegal control characters

**On lint failure**: list the specific failures, suggest a fix, and stop. Do NOT proceed to LLM scoring — fix the file first.

**`.cursorrules` exception**: for rules whose file extension is `.cursorrules` or whose first line does not start with `#`, only check file size + control characters. Skip markdown fence check.

Step 5 — Fetch catalog weak_dims hint (optional, for display only)

Try to fetch per-entry API for the resource and extract `evaluation.weak_dims` (from catalog's 6-dim rubric). This is a **cou

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