gitnexus-lfg
它能做什么
这个技能把规划、继续或停止的检查点、编码工作和最终审查串成一个有指导的流程。适合希望任务端到端完成、并在修改任何代码之前设有检查点的开发者。
适用场景
- ✓当你希望在一次有指导的运行中完成功能的规划、开发和审查的时候。
- ✓当你希望在规划之后、修改任何代码之前停下来做决定的时候。
- ✓当任务足够小、不值得完整规划,而你想要更快的途径的时候。
技能链接
https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-lfg/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请规划、开发并审查为摄取流水线添加重试支持的工作,并在规划完成后停下来,让我先检查。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先执行规划步骤,然后在关卡处等待你的决定。如果你批准,它会执行工作,并以对结果的审查结束。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
gitnexus-lfg — plan → gate → work → review
Thin orchestrator over three existing skills. It adds no engineering logic of
its own — it sequences gitnexus-plan, gitnexus-work, and
gitnexus-review, with the user deciding at the plan gate. Run every lane
by actually invoking the named skill (read its SKILL.md and follow it);
never inline a summary of what the skill would have done.
/gitnexus-lfg <task description>
/gitnexus-lfg docs/plans/<existing-plan>.md # skip lane 1, start at the gate
Lane 1 — Plan
Boundary triage first. If the task is plainly below the planning
boundary — trivial or small-bounded work an agent finishes in well under ~35
turns (the measured regime where a planning pass costs more than it returns;
measured in the GitNexus repository's eval/workflow_bench/) — say so and
offer gitnexus-work direct mode as an alternative to the full pipeline
before spending the plan lane. Honor the user's choice.
The threshold is a promoted benchmark policy measured offline, not a timeless heuristic — never self-edit it from a live task. Its re-evaluation governance lives in this skill's README.
Otherwise invoke gitnexus-plan with the task (knob overrides pass through
verbatim; gitnexus-plan owns the up-front depth question — never ask it
again here). If the input is already a plan file path, skip to Lane 2. The
plan lands in docs/plans/ — record its path; every later lane consumes it.
Lane 2 — The plan gate (user choice, blocking)
Present the plan's chat summary (objective, proposed changes, sequence, top
risks, open questions, plan path), then ask the user — as a blocking
question (AskUserQuestion in Claude Code; a numbered list in chat on CLIs
without a blocking tool):
- Proceed to work — continue to Lane 3.
- Stop here — the plan file is the deliverable; end the pipeline.
Depth was the user's up-front choice in Lane 1, so deepening is not offered
by default — but honor an explicit request for it at the gate: run
gitnexus-plan Deepen mode on the plan file and return here with the
strengthened plan, as many times as the user asks. Do not proceed past the
gate without an explicit choice — the gate is the pipeline's only checkpoint
and exists precisely because execution is expensive to unwind.
Headless / non-interactive runs: no one can answer the gate, so end the pipeline after Lane 1 — the plan file is the deliverable (gate option 2) — and say so in the final report. Never auto-proceed to execution.
Lane 3 — Work
Invoke gitnexus-work with the plan path. It re-anchors the plan at HEAD,
executes the Implementation Sequence as verified atomic commits, refreshes
the knowledge graph when done (its Phase 4), and reports deviations. If it routes back for re-planning (structural drift), run the
Deepen pass and return to the Lane 2 gate rather than pushing through.
Lane 4 — Review
Invoke gitnexus-review on the completed work. Pass an open PR URL/number
when one exists; otherwise pass the current branch. The review skill owns
target resolution, exact-SHA checkout/index alignment, and merge-base
selection. Do not duplicate that logic here. If work left local changes,
pass local as a second, separately labeled review surface.
Surface the review verdict and findings to the user. Findings the user
wants fixed: those within gitnexus-work's direct-mode bounds (1–2 files,
no architectural decisions) → hand to gitnexus-work direct mode; anything
larger → offer the plan gate instead (Deepen the plan with the findings, or
stop). Then re-run this lane's review once. On that re-run, do not start
another fix cycle even if findings remain — report them and point the user
at /gitnexus-work (or the plan gate) to continue deliberately.
Final report
One message: plan path, deepen cycles run, commits produced, verification status, review verdict with unresolved findings, and what (if anything) was explicitly left undone. The pipeline does not push or open a PR on its own — offer both as next steps.
常见问题
我可以跳过规划步骤吗?
可以。如果你已经有规划文件,流程会直接从关卡开始。
如果任务非常小怎么办?
该技能会建议使用更快的直接工作模式,而不是完整流程。由你选择走哪条路径。
由谁决定工作是否继续?
由你决定。规划步骤会在关卡处暂停,只有你选择继续,工作才会开始。
详情
作者的原始描述
Use when the user wants the GitNexus engineering pipeline run end-to-end on a task: gitnexus-plan (plan depth chosen up front), a blocking gate to execute with gitnexus-work or stop, finishing with a gitnexus-review of the result. Examples: \"/gitnexus-lfg Add retry support to the ingestion pipeline\", \"run the gitnexus pipeline on this\", \"plan, build and review this feature\".
repo: abhigyanpatwari/GitNexus
热度
- GitHub 星标
- 48k
- 排名
- #3610
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …