reproduce-issue
БесплатноБез исполняемых скриптовНе проверенReproduce an Nx GitHub issue or explicit reproduction recipe inside the shared review sandbox, then report observed behavior. Use for bug reproduction and PR…
от nrwl★ 29 499 звёзд на GitHubОб этом скилле
Read Codex execution conventions before following this workflow.
Reproduce an issue (sandboxed)
Reproduce an nx bug inside the sandbox and report the outcome. The untrusted repro — its install (arbitrary postinstall scripts) and its repro command — runs only there, never on the host.
Everything goes through .claude/tools/sandbox. That CLI owns the container: which isolation runtime applies on this platform, the hardening flags, the shared host, and teardown. Do not run docker yourself — hand-rolling it is how a repro ends up unisolated on one platform and nobody notices. This is a workflow requirement: use only the sandbox CLI for execution, and keep host-side repro scripts under /tmp. Codex skill metadata does not enforce a tool allowlist.
This is the one reproduction engine in the repo. It has two front doors:
Entry A — a GitHub issue (human: $reproduce-issue <N>)
- Fetch the issue:
gh issue view <N> --repo nrwl/nx --json number,title,body,comments,labels - Extract from the body: the repro repo URL (or
create-nx-workspacesteps), the exact command(s) that show the bug, the reported vs expected behavior, and the Nx Report (nx version + Node version). - Fill the parameters below and run the sandbox (default
nx-version= whatever the issue reports / the repo pins; default registry = public npm).
Entry B — explicit parameters (agent: reproduce-verifier Level 2)
The caller passes these directly:
repro—repo:<git-url>(clone a public repo) ORcreate:"<create-nx-workspace args>".nx-version:<version>— install this published nx and rewrite the repro'snx/@nx/*/@nrwl/*deps to it. For reproducing against a released version.nx-build:<git-ref>(PR-verification mode) — instead of a published version, build nx from thisnrwl/nxcommit inside the sandbox and reproduce against it. Uses thenx-review-sandboximage; the skill derives the version and serves it from alocalhostverdaccio in the same container. Mutually exclusive withnx-version.nx-registry:<url>(optional,nx-versionmode only) — registry to install from. Default public npm.command:"<repro-cmd>"— the command whose output/exit code decides the verdict.node-image:<img>(optional) — base image matching the issue's Node (defaultnode:22; public images are multi-arch → native on Apple Silicon).expect:<reported symptom>(optional),setup:"<files/steps>"(optional) — files to create in the workspace first.
Preflight
One command. It reports the platform, the backend, and the isolation tier the CLI will use:
.claude/tools/sandbox doctor
isolation=vm (macOS) or isolation=runsc (Linux) with exec=full means you are good. Anything
else prints its own fix — usually the setup-review-sandbox skill. On Linux without gVisor the CLI
refuses to run, rather than quietly falling back to plain runc.
For nx-build mode only, the toolchain image must exist:
.claude/tools/sandbox doctor --image nx-review-sandbox:latest
Safety rails
The CLI enforces the container ones for you — --cap-drop ALL, no-new-privileges, the isolation
runtime, and resource limits. What is still yours to get right:
- Never pass a repro URL to
--checkout. That fetches into/work/.repo, the object store every review shares, mixing a stranger's history into the repo reviewers read. Start without--checkoutto get an empty private workspace, and clone inside it. - Never mount a host path. The CLI gives you no way to; do not reach around it.
- Always
stopthe id when you are done. The workspace is a real directory in a long-lived container, not a--rmcontainer that cleans itself. - Lanes share the container. Isolation between sandboxes is not claimed — that is a deliberate
disk trade. So do not assume a fixed port is free, and if a run looks poisoned by a neighbour,
stopit and start a fresh id rather than debugging the contamination.
Run
Three commands: start a workspace, pipe a script into it, stop it.
ID=$(.claude/tools/sandbox start --image node:22 | head -1)
.claude/tools/sandbox exec "$ID" -- bash -s < /tmp/repro-<N>.sh
.claude/tools/sandbox stop "$ID"
Write the script to a file with an available file-writing tool and pipe it in. exec joins its argv with spaces after --, so an
inline script loses its quoting — a node -e '...' one-liner arrives mangled, fails, and reads as
the repro failing. bash -s on stdin passes heredocs, nested quotes and all through untouched.
Use node:22 by default, or the image matching the issue's Node version. Public node images are
multi-arch, so they run native on Apple Silicon.
The script
set -euo pipefail # pipefail matters: see "surface the real error" below
git clone --depth 1 <GIT_URL> repro # repo: form
#
Установить reproduce-issue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл reproduce-issue?
Reproduce an Nx GitHub issue or explicit reproduction recipe inside the shared review sandbox, then report observed behavior. Use for bug reproduction and PR fix verification; never execute untrusted repro code on the host.
Как установить скилл reproduce-issue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reproduce-issue запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic