groove-utilities-task-config

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

groove-utilities-task-config

groove-utilities-task-config

Outcome

功能效果

The current task backend configuration is shown to the user, or updated based on provided arguments. After update, user is prompted to run
/groove-utilities-task-install
if the backend changed.
向用户展示当前的任务后端配置,或根据提供的参数更新配置。更新完成后,如果后端发生变更,会提示用户运行
/groove-utilities-task-install

Acceptance Criteria

验收标准

  • Current
    tasks:
    value is displayed with no arguments
  • Backend is updated in
    .groove/index.md
    frontmatter when new value provided
  • User is reminded to run
    /groove-utilities-task-install
    if backend changed
  • 未提供参数时显示当前
    tasks:
    的值
  • 提供新值时,更新
    .groove/index.md
    前置元数据中的后端配置
  • 如果后端发生变更,提醒用户运行
    /groove-utilities-task-install

Constraints

约束条件

  • Read and write
    .groove/index.md
    frontmatter
    tasks:
    key only
  • Valid values:
    beans
    ,
    linear
    ,
    github
    ,
    none
  • Reject unknown backend values with a helpful error listing valid options
  • If
    .groove/index.md
    does not exist, create from
    skills/groove/templates/index.md
    with defaults
  • Do not modify any other keys in
    .groove/index.md
  • 仅读写
    .groove/index.md
    前置元数据中的
    tasks:
  • 有效值:
    beans
    linear
    github
    none
  • 遇到未知后端值时拒绝操作,并返回提示性错误,列出所有有效选项
  • 如果
    .groove/index.md
    不存在,从
    skills/groove/templates/index.md
    按默认配置创建
  • 不得修改
    .groove/index.md
    中的任何其他键