跳到正文
cccskills
免费在 GitHub 公开

nemoclaw-maintainer-analyze-pr-value-stream

Analyze the full retained history of one NemoClaw pull request to identify contributor, review, and automation delays. Generate a summary and an interactive timeline file, then compare observed timing with a default ten-minute target or a requested alternative.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Analyze one NemoClaw PR lifetime to identify contributor, review, and automation delays or compare it with a latency target.

查看安装方法

适用场景

  • Find delays across a pull request's lifetime
  • Compare processing time with a target
  • Measure review and merge waiting time
  • Inspect workflow timing in Perfetto

包含的文件(3)

  • SKILL.md4.4 KB
  • scripts/analyze-pr-value-stream.mts54.0 KB
  • scripts/export-pr-lifetime-trace.mts41.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!-- SPDX-License-Identifier: Apache-2.0 -->

Analyze a Pull Request Value Stream

Run the deterministic read-only analyzer once for one pull request. Every invocation collects the complete observable retained lifetime. It writes a Perfetto-compatible trace, summary, and manifest under .nemoclaw-maintainer/pr-value-stream/pr-<number>/ and emits the summary as bounded JSON on stdout.

Do not run a reduced or latest-revision-only analysis. The latest-revision waterfall remains one derived part of the complete lifetime result.

Prerequisites

  • Run from a NemoClaw checkout with authenticated gh access.
  • Use Node.js 22.19 or later with type stripping enabled.
  • Retained Vitest artifact timing is conditional: install this checkout's dependencies so node_modules/vitest/vitest.mjs is available, and install zipinfo and unzip. Optional artifact failures appear in caveats and do not become test-timing evidence.

Run the analysis

node --no-warnings \
  .agents/skills/nemoclaw-maintainer-analyze-pr-value-stream/scripts/analyze-pr-value-stream.mts \
  --workdir "$PWD" \
  --number <pull-request-number>

The default repository is NVIDIA/NemoClaw. Use --repository OWNER/REPO only when the user requests another repository. The ten-minute target defaults to 10; use --target-minutes only when the user requests another target.

The analyzer owns completeness and safety bounds. Do not use legacy pagination or truncation options to reduce the standard analysis. If required retained history exceeds a bound, the command fails rather than calling a partial trace complete.

Outputs

A successful invocation writes:

  • summary.json: the complete bounded value-stream report printed on stdout.
  • trace.json: Chrome Trace Event JSON for Perfetto or chrome://tracing.
  • manifest.json: exact pull request identity, head commit, output sizes, and completeness declarations. This file is written last.

The trace contains lifecycle events, all retained PR revisions, workflows, job queues, job executions, steps, external checks, reviews, comments, inline feedback, commit publication spans, and temporal feedback-to-next-change spans.

Open trace.json in Perfetto to zoom, filter categories, inspect event arguments, and measure arbitrary intervals.

Interpret the result

Report these fields first:

  1. target.status and target.theoreticalFastestSeconds.
  2. The largest entries in bottlenecks.
  3. elapsed.approvalDelaySeconds and elapsed.mergeLagAfterReadySeconds.
  4. The lifetime artifact paths and counts.
  5. All applicable caveats.

Do not describe a fallback branch timestamp as exact. Do not claim causal attribution from temporal feedback-to-change spans or counterfactual approval calculations. Treat null timing fields as queued or otherwise unobserved. Treat artifact failure caveats as status evidence, not test timing evidence.

Trust boundaries

The script performs no GitHub writes. It invokes executables with argument arrays, bounds GitHub output, pagination, revisions, workflow runs, jobs, trace events, artifact sizes, and file sizes, and rejects malformed or incomplete required history. Lifetime artifact publication uses a per-PR lock. An active publication waits for up to 30 seconds; a lock left untouched for more than five minutes is reclaimed when its recorded owner identity no longer matches or owner metadata is unreadable. When either process-start identity is unavailable, the lock is retained unless the recorded process is confirmed absent. A timeout reports the exact active lock path for diagnosis.

GitHub does not expose canonical branch-creation timestamps or pull request description edit history. The trace uses the first retained exact-commit workflow as an observable push signal and records that limitation. Draft transitions appear only when GitHub's timeline returns them.

When retained CLI shard artifacts are available, the script accepts only an exact run and commit match, one regular blob-*.json ZIP entry, and bounded compressed and expanded sizes. It uses a private temporary directory and removes it after the attempt.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Publish or update a NemoClaw pull request and track automated checks and reviews through completion. It preserves the requested scope, coordinates repairs for valid findings, and reports the latest commit’s results and remaining blockers.

中文简介正在准备中。当前显示英语简介。

  • Publishing implemented changes as a pull request
  • Updating an open pull request after review feedback
  • Tracking automated checks and reviews on the latest commit
NVIDIA/NemoClaw2.3万2026年10月23日 更新

Implement an accepted NemoClaw issue or repair a classified pull request finding. Keep changes within the agreed scope, run focused checks for affected behavior, and review the final changes before handing evidence to an authorized publication workflow.

中文简介正在准备中。当前显示英语简介。

  • Implement an accepted issue within its agreed scope
  • Repair a classified pull request finding
  • Validate failure, recovery, and cleanup behavior
NVIDIA/NemoClaw2.3万2026年10月23日 更新

Prepare a local NemoClaw development environment, repair setup problems, or check readiness. It also handles explicitly requested command-line access, runtime onboarding, and launching the coding agent pinned by the project.

中文简介正在准备中。当前显示英语简介。

  • Setting up a local NemoClaw development environment
  • Checking readiness before starting development
  • Repairing local dependency, build, or hook problems
NVIDIA/NemoClaw2.3万2026年10月23日 更新

Turn a named NemoClaw issue into an implementation plan with clear ownership, scope, completion criteria, and validation evidence. For larger changes, define independently useful steps, their dependencies, and delivery order.

中文简介正在准备中。当前显示英语简介。

  • Plan implementation for a named issue
  • Divide a large change into useful steps
  • Define acceptance criteria and test evidence
NVIDIA/NemoClaw2.3万2026年10月23日 更新

Audit and upgrade NemoClaw dependencies, including Hermes and base images. Trace upstream changes to affected code, implement required migrations, and verify tests, distributed artifacts, and the versions actually selected for use.

中文简介正在准备中。当前显示英语简介。

  • Assess the impact of a dependency upgrade
  • Plan migrations for a Hermes upgrade
  • Verify base images and selected artifacts
NVIDIA/NemoClaw2.3万2026年10月23日 更新

Update NemoClaw documentation after merged changes or audit it for outdated guidance. Verify current behavior against source and tests, edit the pages responsible for that guidance, and check affected links and generated variants.

中文简介正在准备中。当前显示英语简介。

  • Catch up documentation after merged changes
  • Audit documentation for outdated guidance
  • Update guides for changed user behavior
NVIDIA/NemoClaw2.3万2026年10月23日 更新

查看 NVIDIA 的全部技能

报告此技能的问题