Skip to main content

version

Report the installed version of the dev-team plugin.

来源信息

仓库
bdfinst/agentic-dev-team
最近来源活动
2026年7月10日 20:38
检测到的 SKILL.md 语言
英语
星标
299
Forks
36

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
version
description
Report the installed version of the dev-team plugin.
user-invocable
true
allowed-tools
Bash
# Version Role: worker. This command reports the installed plugin version. It is a purely mechanical lookup — no reasoning, no file-by-file searching. You have been invoked with the `/version` command. Arguments: none. ## Steps Run the resolver and report its output verbatim: ```bash sh "$CLAUDE_PLUGIN_ROOT/hooks/py.sh" "$CLAUDE_PLUGIN_ROOT/hooks/lib/plugin_version.py" ``` Invoking through `hooks/py.sh` (not `python3` directly) is what lets this work on Windows, where Python 3 is often installed as `python`/`py` and no `python3` is on PATH. The shim resolves a real interpreter or exits 2. The script reads `~/.claude/plugins/installed_plugins.json` (Claude Code's install record) and resolves the version deterministically: a project-scoped install for the current directory wins; otherwise it falls back to the user-scoped install. It prints a single line, e.g.: ``` dev-team@bfinster v6.7.0 (scope: user) ``` - **Exit 0** — print the line as-is. - **Exit 1** — the plugin is not recorded as installed; report exactly: `dev-team is not installed (no record in installed_plugins.json).` - **Exit 2** — environment error (no `python3`, or the install record is missing); surface the script's stderr message verbatim. Do not add commentary beyond the single result line.
在 GitHub 查看