Skip to content

/pw-go

Request the reviewed prewalk handoff and spawn exactly one routed Claude Task for the remaining todos.

shell
$ npx -y skills add TerenceLiu98/prewalk --skill pw-go --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/pw-go
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Request the reviewed prewalk handoff and spawn exactly one routed Claude Task for the remaining todos.

SKILL.md

pw-go.SKILL.md
name: pw-go
description: Request the reviewed prewalk handoff and spawn exactly one routed Claude Task for the remaining todos.

Prewalk Handoff

Run:

python3 "${CLAUDE_PLUGIN_ROOT}/hooks/_pw.py" go "$CLAUDE_SESSION_ID"

If there is no active checkpoint, report that and stop. If a handoff is already pending, do not spawn another Task.

For a new handoff request, spawn exactly one `Task`/`Agent` using the complete structured Handoff Packet as its prompt. The PreToolUse hook rewrites that Task to the configured `prewalk-executor` and executor model. Do not edit remaining work in the main session and do not report success before the Task returns.

The PostToolUse hook owns the result:

  • `PREWALK_COMPLETE` clears the run.
  • `PREWALK_INCOMPLETE: <reason>` restores the checkpoint for revision or retry.
  • rejection, failure, or a missing marker also restores a retryable checkpoint.
Read it on GitHub ↗
Ships withprewalk

Prewalk lets a strong planner do the expensive repository work, then gives a configured executor a verified starting point and a self-contained handoff: Use it for changes where understanding the repository is a meaningful part of the work.

Get the whole plugin, auto-invoked
Stats
3
Stars
0
Views
0
Forks
Active
Maintenance
Python
Language
7d ago
Last commit
10d ago
Created

Repo: TerenceLiu98/prewalk