ClaudeMods
☰
ZH-TW
● 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.

更多類似作品