Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

approval-runtime-skill

БесплатноБез исполняемых скриптовНе проверен

Used to query or process existing approval instances and approval tasks. Use when users mention approval to-dos, agree, pass, complete, reject, return…

infometaот infometa★ 475 звёзд на GitHub

Об этом скилле

Approval Flow Runtime

Scope

Only handles existing approval instances, approval tasks, activity feeds, replies, and runtime form data. Do not treat instance detail, task detail, or feed detail as a to-do query. First bind one explicit task, instance, object record, feed, or reply target, then choose the narrowest tool for that target.

Core Rules

  • This MCP skill only uses MCP tools and fixed apiName values.
  • Read operations may execute directly; write operations must first present a business-facing preview and wait for an explicit affirmative in a later user message.
  • taskId / instanceId / objectId / replyId / feedId are different identifiers and must not be mixed.
  • buttonType is only for approval_runtime_get_task_extra_data; actionType is only for final approval actions such as complete or update-and-complete.
  • Never fabricate field API names, field values, version values, originalData, rejectToTaskId, previousTaskId, replyId, or assignee IDs.

Layout Identification Before Editing or Completing

When the user asks to edit, save, agree, pass, or complete an approval task, always identify the layout through approval_runtime_get_task_extra_data with fixed apiName: ApprovalTaskExtraData.

  1. Determine buttonType from the confirmed action in current context.
  2. Reuse a trusted explicit buttonType if one already exists for the same task and action.
  3. Use these fixed mappings when the action is already uniquely identified:
    • Agree -> AGREE_BUTTON
    • CompleteTask -> COMPLETE_BUTTON
    • Reject -> REJECT_BUTTON
    • ChangeApprover -> CHANGE_HANDLER_BUTTON
    • Retrieve -> RETRIEVE_BUTTON
    • Carbon copy -> CARBON_BUTTON
    • editForm with trusted executionType == update -> COMPLETE_BUTTON
    • editForm with any other trusted or missing executionType -> AGREE_BUTTON
  4. Call approval_runtime_get_task_extra_data with instanceId, taskId, and matching buttonType.
  5. Route only by approvalForm.objectFlowLayoutExists from that result:
    • true: flow layout, use approval_runtime_edit for save and approval_runtime_complete for final completion
    • false: default layout, use approval_runtime_update_approval_content for save-only or approval_runtime_update_and_complete for save-and-complete
  6. Do not use task detail, instance detail, or any other result to replace this layout judgment.

Tool Routing

User Intent Tool Fixed apiName Role
View task detail or feed detail approval_runtime_get_task_detail ApprovalFeedDetail Read task, to-do, or workflow instance level detail
View instance detail approval_runtime_instance_detail ApprovalInstanceDetail Read full approval instance information
Find active instance by business record approval_runtime_get_approval_in_95f9b6fb59f0 ApprovalInstanceIdByObject Resolve the running instance from entityId + objectId
View task extra data approval_runtime_get_task_extra_data ApprovalTaskExtraData Read button-scoped extra data, form layout, opinion rules, and task-side runtime data
View detail change data approval_runtime_detail_change ApprovalInstanceDetailChange Read instance detail-line change information
Query rejectable targets approval_runtime_get_can_refuse_tasks ApprovalCanRefuseTasks Get candidate tasks that the current task can reject to
Check whether a task can be retrieved approval_runtime_retrieve_check ApprovalTaskRetrieveCheck Validate retrieve eligibility before retrieve
Save flow-layout form only approval_runtime_edit ApprovalTaskFormEdit Save a flow-layout approval form without completing
Save default-layout form only approval_runtime_update_approval_content ApprovalTaskDefaultFormEdit Save default-layout form data without completing
Complete a flow-layout approval task approval_runtime_complete ApprovalTaskComplete Complete the approval task after flow-layout data is already saved
Update and complete a default-layout approval task approval_runtime_update_and_complete ApprovalTaskUpdateComplete Save required data and complete in one call
Reject to a previous task approval_runtime_reject_to_before_task ApprovalTaskReject Reject from the current task to a selected previous task
Retrieve an approval task approval_runtime_retrieve ApprovalTaskRetrieve Perform retrieve after retrieve-check is satisfied
Change regular task handler approval_runtime_change_task_handler ApprovalTaskChangeHandler Replace the current task assignees
Change free approval handler approval_runtime_change_free_app_b3714e5440ed ApprovalTaskChangeFreeHandler Adjust the free-approval handler definition on the instance
Carbon copy / mark as read approval_runtime_carbon_copy ApprovalTaskCarbonCopy Send carbon-copy style approval-side messag
Полный SKILL.md на GitHub

Установить approval-runtime-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл approval-runtime-skill?

Used to query or process existing approval instances and approval tasks. Use when users mention approval to-dos, agree, pass, complete, reject, return, withdraw, cancel, edit approval forms, submit after filling, change handler, add sign-off node, remind, carbon copy, reply, task details, progress, or approval instances. First select a unique reference by intent; changes must confirm target and parameters; queries must not auto-escalate to changes.

Как установить скилл approval-runtime-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл approval-runtime-skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить approval-runtime-skill с