nemoclaw-maintainer-normalize-title-tags
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
NemoClaw Maintainer — Normalize Title Tags
NemoClaw 维护工具 — 标题标签规范化
Preview and optionally apply bulk title cleanup for bracketed NemoClaw tags in GitHub issue and PR titles.
预览并可选地批量清理GitHub Issue和PR标题中带括号的NemoClaw标签。
Examples
示例
- →
[NemoClaw][All Platforms] local-inference policy preset missing Ollama ports[All Platforms] local-inference policy preset missing Ollama ports - →
[Bug] [Nemoclaw] [Slack] Slack configuration in Nemoclaw Onboard fails[Bug] [Slack] Slack configuration in Nemoclaw Onboard fails
- →
[NemoClaw][All Platforms] local-inference policy preset missing Ollama ports[All Platforms] local-inference policy preset missing Ollama ports - →
[Bug] [Nemoclaw] [Slack] Slack configuration in Nemoclaw Onboard fails[Bug] [Slack] Slack configuration in Nemoclaw Onboard fails
Prerequisites
前提条件
- You must be in the NemoClaw git repository.
- The CLI must be authenticated with write access to
gh.NVIDIA/NemoClaw - Default behavior is a dry run. Do not apply changes until the user approves the preview.
- 你必须处于NemoClaw git仓库目录中。
- CLI必须已完成身份验证,且拥有
gh仓库的写入权限。NVIDIA/NemoClaw - 默认行为是试运行模式。在用户确认预览结果前,请勿应用更改。
Workflow
操作流程
Copy this checklist and track progress:
text
Title tag cleanup progress:
- [ ] Step 1: Verify GitHub auth
- [ ] Step 2: Preview proposed title changes
- [ ] Step 3: Confirm scope
- [ ] Step 4: Apply changes
- [ ] Step 5: Verify no matching tags remain in scope复制以下检查清单并跟踪进度:
text
Title tag cleanup progress:
- [ ] Step 1: Verify GitHub auth
- [ ] Step 2: Preview proposed title changes
- [ ] Step 3: Confirm scope
- [ ] Step 4: Apply changes
- [ ] Step 5: Verify no matching tags remain in scopeStep 1: Verify GitHub Auth
步骤1:验证GitHub身份验证
bash
gh auth statusbash
gh auth statusStep 2: Preview Proposed Changes
步骤2:预览拟议的更改
bash
node --experimental-strip-types --no-warnings \
.agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.tsThe script matches bracket tags whose content is , case-insensitively, anywhere in the title.
It prints a dry-run summary by default. Review the proposed renames with the user before applying anything.
nemoclawbash
node --experimental-strip-types --no-warnings \
.agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts该脚本会匹配标题中任何位置、内容为(不区分大小写)的括号标签。默认情况下会打印试运行摘要。在应用任何更改前,请与用户一同审核拟议的重命名内容。
nemoclawStep 3: Confirm Scope
步骤3:确认范围
Ask the user which scope they want:
- Default — all open and closed issues and PRs in
NVIDIA/NemoClaw - State filter — optionally limit to or
openclosed - Repo override — only when the user explicitly wants a different repository
询问用户需要处理的范围:
- 默认 — 仓库中所有已打开和已关闭的Issue及PR
NVIDIA/NemoClaw - 状态筛选 — 可选限制为(已打开)或
open(已关闭)closed - 仓库覆盖 — 仅当用户明确指定其他仓库时使用
Step 4: Apply Changes
步骤4:应用更改
Apply to all items:
bash
node --experimental-strip-types --no-warnings \
.agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
--applyApply only to open items:
bash
node --experimental-strip-types --no-warnings \
.agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
--state open \
--apply应用到所有项目:
bash
node --experimental-strip-types --no-warnings \
.agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
--apply仅应用到已打开的项目:
bash
node --experimental-strip-types --no-warnings \
.agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
--state open \
--applyStep 5: Verify
步骤5:验证
The script automatically re-runs the same search after and exits non-zero if matching tags remain.
--applyIf verification fails, stop and show the remaining matches to the user instead of retrying blindly.
执行参数后,脚本会自动重新运行相同的搜索,如果仍存在匹配的标签,则会以非零状态退出。
--apply如果验证失败,请停止操作并向用户显示剩余的匹配项,不要盲目重试。
Notes
注意事项
- The script uses the GitHub Issues API, which covers both issues and pull requests.
- It removes only bracket tags whose content is , ignoring case. Plain-text mentions of
nemoclaware untouched.NemoClaw - The default repository is . Pass
NVIDIA/NemoClawonly when the user explicitly wants a different repo.--repo OWNER/REPO
- 该脚本使用GitHub Issues API,可同时处理Issue和拉取请求(PR)。
- 它仅移除内容为(不区分大小写)的括号标签,不会修改纯文本形式的
nemoclaw提及内容。NemoClaw - 默认仓库为。仅当用户明确指定其他仓库时,才需传递
NVIDIA/NemoClaw参数。--repo OWNER/REPO