Create protocol

From mderk/memento · View interactive version

Create protocol is an AI agent skill from the GitHub repository mderk/memento. Create a protocol structure from a PRD with mini-ADR plan and step files

How to use this skill

Skill file

Create Protocol

Generate a structured protocol from a PRD or task description using the workflow engine.

Instructions

1. Resolve inputs

The user may specify the source in different ways:

Determine:

If no protocol directory exists, determine the next number:

ls .protocols/ 2>/dev/null | sort -r | head -1

2. Load workflow engine

Load the memento-workflow:workflow-engine skill (it contains the relay protocol you must follow).

3. Start the workflow

mcp__plugin_memento-workflow_memento-workflow__start(
  workflow="create-protocol",
  variables={
    "protocol_dir": "<resolved protocol directory>",
    "prd_source": "<task description or empty string>",
    "workdir": "<project root>"
  },
  cwd="<project root>"
)

4. Follow the relay protocol from the workflow-engine skill until the workflow completes.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.