Skip to content
Skill Authoring
Command

/recommend

Recommend coding resources based on current project stack. Usage: /eac:recommend [type:mcp|skill|rule|prompt|plugin]

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

Command definition

recommend.md
description: 'Recommend coding resources based on current project stack. Usage: /eac:recommend [type:mcp|skill|rule|prompt|plugin]'

Everything AI Coding - Recommend

$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** (section titles, table headers, labels, helper text) MUST be in the detected language.
  • For the Description column in tables: use `description_zh` for Chinese, `description` for English.
  • For candidate detail text (why-it-fits, basis): generate in the detected language.
  • Command references (e.g. `/eac:install <id>`) stay as-is regardless of language.

Data Sources

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

Search index URL: `https://zgsm-ai.github.io/everything-ai-coding/api/v1/search-index.json` Fallback URL: `https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main/catalog/search-index.json` Local fallback: `/Volumes/Work/Projects/everything-ai-coding/catalog/search-index.json` Per-entry API: `https://zgsm-ai.github.io/everything-ai-coding/api/v1/{type}/{id}.json` Full index fallback: `https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main/catalog/index.json`

Execution Flow

1. Extract optional type filter from `$ARGUMENTS`

  • Supports `type:mcp`, `type:skill`, `type:rule`, `type:prompt`, `type:plugin` filters
  • Example: `/eac:recommend type:mcp` — recommend MCP type only; `/eac:recommend type:plugin` — plugins only
  • If `type:<value>` is present, extract it as a filter

2. Analyze current project tech stack:

  • Read `package.json` → extract framework names from dependencies (react, next, vue, express, etc.)
  • Read `requirements.txt` / `pyproject.toml` → extract Python packages
  • Read `go.mod` → extract Go modules
  • Read `Cargo.toml` → extract Rust crates
  • Read `Gemfile` → extract Ruby gems
  • Check file extensions: `.tsx`→react, `.vue`→vue, `.py`→python, `.go`→go, `.rs`→rust, `.swift`→swift, `.kt`→kotlin
  • Check config files: `Dockerfile`→docker, `.github/workflows/`→ci-cd, `tsconfig.json`→typescript

3. Generate lightweight recommendation keywords from detected stack:

  • Retain detected tech stack tags
  • Compress "framework + task" into index-friendly short terms, e.g. `react performance`, `fastapi docs`, `docker ci-cd`
  • If user provided extra context (e.g. skill-only or mcp-only), preserve that constraint — do not overwrite with rewrites
  • **Default preference rule**: unless user explicitly specifies `type:mcp` or `type:plugin`, prioritize `skill`, `rule`, `prompt` that directly serve project implementation/constraints/workflow; only include MCP entries when one is clearly the core workflow tool for the scenario, and only include plugin entries when a single bundle delivers a workflow that loose skills/rules cannot match (plugins require a Claude Code restart, so the bar is higher)

4. Download index to temp file: `curl -sf --compressed <index URL> -o "$TMPDIR/everything-ai-coding-index.json"`, on failure try Fallback URL, then local fallback 5. Pre-filter with Python (cross-platform: use `$(command -v python3 || command -v python)`):

  • Load JSON file
  • Match detected project tags against each entry's `tags` + `tech_stack`, supplement with lightweight recommendation keyword matching (prefer `search_text` when available)
  • If type filter specified, filter by `type` field first
  • Score each entry by the lexicographic descending key `(matched_tags, freshness_label != "abandoned", final_score, stars)` — `matched_tags` (number of distinct project tags/keywords hit) is the primary relevance signal; within equal relevance, non-abandoned entries outrank abandoned ones (sorting `True > False`); within the same relevance + freshness tier, `final_score` breaks ties ahead of `stars`. Treat missing `freshness_label` as not-abandoned and missing `final_score` as `0`. Do NOT drop abandoned entries here — the gate in step 7 handles them, and they may still surface in "Other Matches".
  • Keep `freshness_label` in the TSV so step 6 can apply the freshness preference and step 8 can render the stale warning: emit `id\ttype\tmatched_tags\tstars\tfinal_score\tdecision\tfreshness_label\tinstall_method\tsource_url\tdescription\tdescription_zh` (output top 15)

6. From shortlist, select top 3-5 candidates and fetch per-entry API for verification:

  • **Freshness preference**: when two candidates are similarly relevant (same `matched_tags` count and comparable project fit), PREFER entries with `freshness_label != "abandoned"`. Abandoned entries can still appear in "Other Matches" but should NOT occupy verification slots unless no active/stale alternative matches the project at all. If the shortlist genuinely has no active/stale matches, it is acceptable to verify abandoned candidates and note the staleness in the output.
  • Prefer `source`, `evaluation`, `health`, `install`, `source_url`, `tags`, `highlights`, `weak_dims`, `freshness_label`
  • Combine with current project stack to judge "does this truly fit the current project" — not just coincidental tag matches

7. **Candidate Verification Gate (mandatory)**

  • NEVER label all matches as "recommendations" based solely on tag overlap or stars
  • A candidate enters the "Top Candidates" section ONLY when ALL of the following hold:

1. `final_score >= 70`, AND 2. `freshness_label != "abandoned"`, AND 3. at least one tag / keyword / `search_text`

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