promote_skill_to_playbook
Convert a skill's procedure into a reusable playbook file, making it discoverable via get_playbook, while refusing to overwrite existing playbooks unless force is enabled.
Instructions
v3.1.0 M3: Write the skill's procedure as a playbook markdown file at .codevira/playbooks/<task_type>/.md. Refuses on existing file unless force=True so hand-written playbooks aren't clobbered. After promotion the procedure is also discoverable via get_playbook(task_type).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skill_id": "<skill_id>",
"task_type": "<task_type>"
},
"name": "promote_skill_to_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional filename slug; defaults to slugified(skill.name) | |
| force | No | ||
| skill_id | Yes | ||
| task_type | Yes | Playbook directory name (e.g., 'commit', 'add_tool', 'debug_pipeline') |