跳到正文
cccskills
免费在 GitHub 公开

fork

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Fork

/fork start

Capture the current context and branch off into a new session.

  1. Snapshot: write a markdown file to /tmp/fork-<timestamp>.md containing:
    • Goal: what we're working on
    • Plan: current plan or approach (if any)
    • Progress: what's been done so far (commits, files changed)
    • Pending: what's left to do
    • Context: key decisions, constraints, or gotchas discovered along the way
    • Git state: current branch, last commit SHA, dirty files
  2. Rename this session: run /rename to give the current session a descriptive name (e.g., "feat: auth middleware") so it's easy to find later.
  3. Instruct the user: print the file path and a ready-to-paste prompt for the new session:
FORKED SESSION — fork file: /tmp/fork-<timestamp>.md

Read the fork file for context on what I was working on. I need to explore: <describe the rabbit hole>.

This is a forked session. Keep track of all findings, commits, and decisions — when done, the user will call `/fork end` to write a summary back to the fork file so the original session can pick it up.

Also remind them:

  • Run /rename Fork: <topic> in the new session to tag it
  • Run /fork end when done — it writes findings back to the fork file
  • Then resume the original session with claude --continue

/fork end

Wrap up a rabbit hole session and write findings back to the fork file.

  1. Locate: find the fork file from the session context (it was read at the start of this session).
  2. Summarize: append a ## Findings section to the fork file containing:
    • Result: what was discovered or resolved
    • Commits: any commits made during the investigation (SHAs + messages)
    • Impact on original work: how this affects the plan or pending work from the parent session
  3. Instruct the user: remind them to resume the original session with claude --continue and reference the fork file.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

amend

免费

Amend the last commit with current changes and/or an updated message.

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

commit

免费

Stage changes and create a commit with a conventional commit message.

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

cook

免费

Full autopilot — plan, implement, and polish a task end-to-end.

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

diff

免费

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

execute

免费

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

plan

免费

Structured design intake for non-trivial tasks. Asks clarifying questions and produces a design proposal.

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

查看 simonepri 的全部技能

报告此技能的问题