Skip to content
Debugging
Skill

/worktree-provider-guard

写操作前检查 target repo worktree、dirty baseline、session binding 与 provider health evidence。

From plugin
nucleus-marketplace
16527 skills1 agent

Claude Code

$ npx -y skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard --agent claude-code

SKILL.md

worktree-provider-guard.SKILL.md
name: worktree-provider-guard
description: 写操作前检查 target repo worktree、dirty baseline、session binding 与 provider health evidence。

Worktree Provider Guard

在任何会写 `docs/features/**`、`tests/**`、源码或混合路径的 Nucleus workflow 前运行。

该 Skill 只读检查 git/worktree/status/provider/session evidence,只把 guard report、provider health report 和 result package 写入 `.nucleus/runs/<workflowRunId>/**`。它不创建 worktree、不切分支、不 stash/reset/clean、不修改 provider 配置。

人审前子代理预审

到达 `guard-human-review` 前,必须按 workflow 的 `subagentPreReview` 调度独立 reviewer 子代理;未取得“材料可提交人工审查”预审结论时,不得请求人工评审通过。

最小命令:

python3 skills/worktree-provider-guard/scripts/worktree_provider_guard.py check \
  --repo-root <target-repo> \
  --context <context-json> \
  --write-intent auto

Provider health 只接受同 run 的结构化 evidence:`session-binding-report`、`codex-hook-json`、`claude-hook-json`、`pms-connector`、`adapter-health`。approved-write 不把 `doctor.py --host all` stdout 当 provider health。

@protect-my-hair
Ships withnucleus-marketplace

Engineering Workflow Discipline Plugin · For Claude Code / Codex Nucleus is a workflow plugin installed inside an AI coding agent.

16527 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
165
Star history of protect-my-hair/nucleus-marketplace on GitHub, a chart by star-history.com

Other skills on nucleus-marketplace.

More skills from other plugins.

cpu-high

cpu-high

排查 JVM / 应用 CPU 飙高(线程定位 + 代码路径分析)

arthas10d38k
@alibaba@alibabaInstall Skill
analyze-dump

analyze-dump

Triage a Windows crash dump - identify the exception, the faulting frame, and what to look at next. Use when the user points at a…

@svnscha@svnschaInstall Skill
d3k

d3k

Test and debug a web app in its existing d3k browser, including local Chrome connected to a Vercel Sandbox over CDP. Use for UI…

dev30008d1.6k
@vercel-labs-2@vercel-labs-2Install Skill

Questions about worktree-provider-guard.

Which coding agents can use worktree-provider-guard?
worktree-provider-guard installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.