بنقرة واحدة
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 المهني
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
| 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.