groove-utilities-task-install
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesegroove-utilities-task-install
groove-utilities-task-install
Outcome
预期结果
The configured task backend is installed and verified reachable. User is informed of what was installed and how to use it.
已完成配置的任务后端安装完毕且验证可访问,向用户告知已安装的内容以及使用方法。
Acceptance Criteria
验收标准
- Backend CLI is available in PATH after install
- User is shown a confirmation with the installed version or a reachability check
- No-op if
tasks: none - If :
tasks: beanscontains aAGENTS.mdstub pointing to<!-- groove:task:start -->beans prime
- 安装完成后Backend CLI已加入PATH环境变量
- 向用户展示安装版本确认信息或可达性校验结果
- 如果配置为则不执行任何操作
tasks: none - 如果配置为:
tasks: beans需包含指向AGENTS.md的beans prime存根内容<!-- groove:task:start -->
Constraints
约束条件
- Read from
tasks:to determine backend.groove/index.md - If , print friendly no-op message and exit
tasks: none - Backend install guidance:
- : link to https://github.com/hmans/beans for install instructions; verify with
beansbeans version - : link to https://linear.app/docs/cli for install instructions; verify with
linearor MCP availabilitylinear --version - : link to https://cli.github.com for install instructions; verify with
githubgh --version
- After install, run a simple reachability check (e.g., or
beans version)gh auth status - If CLI is already installed, report current version and skip install
- If and
tasks: beansdoes not exist at git root:.beans.yml- Derive from the git repo name (last path component of
[PROJECT_PREFIX], uppercased, non-alphanumeric stripped) — e.g.git remote get-url origin→grooveGRV - Scaffold from
.beans.ymlwith the derived prefixskills/groove-utilities-task-install/templates/beans-config.md - Create directory if it does not exist
.groove/tasks/ - Report the path written
- Derive
- If : write a minimal stub to
tasks: beansat git root:AGENTS.md- Wrap in /
<!-- groove:task:start -->fenced section<!-- groove:task:end --> - Stub content:
Task backend: beans — use `/groove-utilities-task-*` skills for all task management. Run `beans prime` to load the full beans CLI reference. - Replace section if it already exists; append if not; preserve all other content
AGENTS.md - Report the path written
- Wrap in
- 从读取
.groove/index.md配置项来确定要安装的后端tasks: - 如果,打印友好的无操作提示信息后退出
tasks: none - 后端安装指引:
- :跳转至https://github.com/hmans/beans 查看安装说明,使用
beans验证安装beans version - :跳转至https://linear.app/docs/cli 查看安装说明,使用
linear或MCP可用性验证安装linear --version - :跳转至https://cli.github.com 查看安装说明,使用
github验证安装gh --version
- 安装完成后,运行简单的可达性校验(例如或
beans version)gh auth status - 如果CLI已经安装,上报当前版本并跳过安装流程
- 如果且Git根目录下不存在
tasks: beans:.beans.yml- 从Git仓库名称推导(取
[PROJECT_PREFIX]的最后一段路径,转为大写,剔除非字母数字字符),例如git remote get-url origin→grooveGRV - 使用推导得到的前缀从生成
skills/groove-utilities-task-install/templates/beans-config.md脚手架.beans.yml - 如果目录不存在则创建该目录
.groove/tasks/ - 上报写入的文件路径
- 从Git仓库名称推导
- 如果:向Git根目录的
tasks: beans写入最小存根内容:AGENTS.md- 使用/
<!-- groove:task:start -->围栏包裹内容<!-- groove:task:end --> - 存根内容:
Task backend: beans — use `/groove-utilities-task-*` skills for all task management. Run `beans prime` to load the full beans CLI reference. - 如果该片段已存在则替换,不存在则追加,保留的所有其他内容
AGENTS.md - 上报写入的文件路径
- 使用