ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 pablofontanilla

next

一个 Claude Code 插件,会把一个工作阶段交给新的工作阶段。

pablofontanilla@pablofontanilla

pablofontanilla/claude-next/tree/main/plugins/next

已翻译

关于这个 mod

next

一个 Claude Code 插件,会把一个工作阶段交给新的工作阶段。

/next:go 会写入一份简短的交接记录(目标、状态、决策、下一项任务),清除上下文,并启动一个会读取该记录、继续下一项任务的新工作阶段。无需确认任何内容。

安装

/plugin marketplace add pablofontanilla/claude-next
/plugin install next@pablofontanilla

然后重新启动 Claude Code。

要求:

  • 支持插件 function hooks 的 Claude Code 版本(在 2.1.289 上测试)。在较旧版本中,记录仍会写入,并会在下一次 /clear 时加载,但不会自动执行清除。
  • python3 位于你的 PATH 中。

使用

/next:go
/next:go rerun the failing e2e with the new fixture

可选文本会设置下一项任务。

工作原理

  • 此 skill 会将记录写入 ~/.claude/next/<key>.md(每个启动目录一份记录),并设置 60 分钟的过期时间。
  • 当前回合结束后,插件运行 /clear,然后发送一条以 "Starting from a new session" 开头的提示。
  • SessionStart 钩子会把记录注入新的工作阶段,并将它移动为 <key>.consumed.md,因此只会触发一次。

不会在你的储存库内写入任何内容。

反馈

请在此储存库中提交 issue。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add pablofontanilla/claude-next
claude plugin install next
原文 / README

next

A Claude Code plugin that hands a session off to a fresh one.

/next:go writes a short handoff note (goal, state, decisions, next task), clears the context, and starts a new session that reads the note and continues with the next task. You do not confirm anything.

Install

/plugin marketplace add pablofontanilla/claude-next
/plugin install next@pablofontanilla

Then restart Claude Code.

Requirements:

  • A Claude Code version that supports plugin function hooks (tested on 2.1.289). On older versions the note is still written and loads on your next /clear, but the automatic clear does not happen.
  • python3 on your PATH.

Use

/next:go
/next:go rerun the failing e2e with the new fixture

The optional text sets the next task.

How it works

  • The skill writes the note to ~/.claude/next/<key>.md (one note per launch directory) and arms it with a 60-minute expiry.
  • When the turn ends, the plugin runs /clear and then sends a prompt that starts with "Starting from a new session".
  • A SessionStart hook injects the note into the new session and moves it to <key>.consumed.md, so it fires only once.

Nothing is written inside your repository.

Feedback

Open an issue in this repository.

更多类似作品