원클릭으로
process-protocol
"Process and implement tasks from a protocol in git worktrees (or inline on the main workdir)"
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
"Process and implement tasks from a protocol in git worktrees (or inline on the main workdir)"
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | process-protocol |
| description | "Process and implement tasks from a protocol in git worktrees (or inline on the main workdir)" |
Run the process-protocol workflow to implement protocol steps.
Two modes:
.worktrees/protocol-NNN checkout. Allows parallel protocols, keeps main workdir clean.--no-worktree): reuses the main workdir on branch protocol-NNN. Useful when tests need the main workdir, or when only one protocol runs at a time.The user may specify a protocol in different ways. Resolve to a directory containing plan.md:
3, 003): find matching directory in .protocols/ (e.g., .protocols/003-*).protocols/003-feature): use directly.protocols/*/plan.md, match by contentVerify the resolved directory contains plan.md before proceeding.
If the user passes --no-worktree (anywhere in the arguments), set no_worktree=true in the variables block below. Otherwise omit it.
Inline-mode preconditions (when --no-worktree is used): the working directory must have no uncommitted changes. The workflow aborts early with a clear error if git status --porcelain is non-empty. Tell the user to commit or stash first.
Check if <protocol_dir>/.last_run exists. If it does:
<run_id>). Resume it or start fresh?"Load the memento-workflow:workflow-engine skill, then:
Fresh start (worktree mode):
mcp__plugin_memento-workflow_memento-workflow__start(
workflow="process-protocol",
variables={"protocol_dir": "<resolved protocol directory>"},
cwd="<project root>"
)
Fresh start (inline mode):
mcp__plugin_memento-workflow_memento-workflow__start(
workflow="process-protocol",
variables={"protocol_dir": "<resolved protocol directory>", "no_worktree": true},
cwd="<project root>"
)
Resume: add resume="<run_id from .last_run>" to the call. Include the same no_worktree value the original run used.
/merge-protocol to merge .worktrees/protocol-NNN back into develop.protocol-NNN is committed in the main workdir. Merge manually when ready:
git checkout develop && git merge --no-ff protocol-NNN
/merge-protocol currently expects the worktree layout and does not support inline mode yet.Generate a PRD for a feature using Memory Bank context
Generate a technical specification based on a PRD using Memory Bank context
Run Memory Bank doc gardening (maintenance / garbage collection)
Update Memory Bank documentation after code changes or protocol completion
Defer an out-of-scope finding to the backlog. Use when a bug, tech debt, idea, or risk is discovered but not appropriate to solve now.
Detect project tech stack (frameworks, databases, test frameworks, libraries) and output structured JSON