name: pair-mode description: Toggle pair mode on/off for the current vibe session. When on, every behavioral code change requires a before/after diagram approved by the human before writing any code. user-invocable: true allowed-tools: mcp__plugin_mermaid-collab_mermaid__list_documents, mcp__plugin_mermaid-collab_mermaid__get_document, mcp__plugin_mermaid-collab_mermaid__patch_document, mcp__plugin_mermaid-collab_mermaid__create_document
Pair Mode
Toggle pair mode for the current vibe session. When on, every behavioral code change requires a before/after diagram approved by the human before writing any code.
Pair mode preference is stored as a ## Pair Mode section in the vibeinstructions document.
Usage
/pair-mode on— enable pair mode/pair-mode off— disable pair mode/pair-mode— show current status
Steps
Step 1 — Find the vibeinstructions document
Call mcp__plugin_mermaid-collab_mermaid__list_documents with the current project and session.
Look for a document whose name ends with vibeinstructions. If found, call mcp__plugin_mermaid-collab_mermaid__get_document to read its content.
Step 2 — Handle argument
If called with on:
- Update the vibeinstructions document to include
## Pair Mode\nEnabled(usepatch_documentto replace the Pair Mode section, or append it if not present). If no vibeinstructions document exists, create one withcreate_documentcontaining the Pair Mode section. - Invoke the
pairskill via the Skill tool to load its content into context. - Respond: "Pair mode on. Behavioral changes will require before/after diagram approval before I write any code."
If called with off:
- Update the vibeinstructions document to include
## Pair Mode\nDisabled(usepatch_documentto replace the Pair Mode section, or append it if not present). - Respond: "Pair mode off. Editing with native approvals only."
If called with no argument:
Read the ## Pair Mode section from the vibeinstructions document and show status:
- If
Enabled: "Pair mode is currently on. Run/pair-mode offto disable." - If
Disabledor section not found: "Pair mode is currently off. Run/pair-mode onto enable."