Command Palette

Search for a command to run...

Назад к скиллам
скилл № 25347

nocobase-workflow-manage

NocoBase 2 only; never use in a NocoBase 3 project. Use when users need to inspect, create, update, copy, enable, or diagnose NocoBase workflows through `nb`…

БесплатноБез исполняемых скриптов
nocobaseот nocobase★ 54 звезды на GitHub6 установок в других каталогах

Установить nocobase-workflow-manage в Claude Code и Claude Desktop

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

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

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

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

Goal

Manage NocoBase workflows end to end through nb api workflow.

  1. Require an authenticated nb CLI.
  2. Run -h once before first using a subcommand in the current task.
  3. Use only workflow-specific CLI interfaces; do not substitute generic CRUD or source edits.

Scope

  • Inspect, create, update, version, copy, enable, and diagnose workflows.
  • Configure triggers and sequential node chains.
  • Move, duplicate, test, or delete nodes and branches.
  • Inspect executions and failed jobs.
  • Author workflow-bound approval surfaces through flowSurfaces.

Non-Goals

  • nb installation or authentication setup.
  • Data-model design; use nocobase-data-modeling.
  • Ordinary pages, tabs, popups, or routes; use nocobase-ui-builder.
  • Whole-workflow deletion.
  • Approval schema wiring.
  • Invented types, fields, keys, filters, or evaluator functions.

Input Contract

Environment and Tooling

  • Stop on authentication or authorization errors.
  • For expression, load the matching formula.js or math.js reference; never invent functions.

Filter Authoring Gate

Before drafting any workflow node/trigger filter or condition, or any user/assignee query object, load the nocobase-utils skill with topic filter, then read Filter Condition Format in the current task. This is mandatory even when the natural-language comparison looks obvious; the relative link is only the exact document location and does not replace the skill invocation.

  1. Read the target collection's field metadata and resolve the terminal field's frontend interface/type.
  2. Select the operator only from that field group's documented allowlist.
  3. For date fields, map “before/less than” to $dateBefore, “after/greater than” to $dateAfter, “not before/at least/greater than or equal” to $dateNotBefore, and “not after/at most/less than or equal” to $dateNotAfter. Never use $lt, $lte, $gt, or $gte on a date field.
  4. Keep the configuration's documented filter shape and verify the final field/operator pairs before mutation.

Commercial Plugin Capability Gate

Verify the required plugin is installed and enabled before mutation:

Capability Plugin
Approval and approval surfaces @nocobase/plugin-workflow-approval
Webhook @nocobase/plugin-workflow-webhook
Subflow @nocobase/plugin-workflow-subflow

If unavailable, name the prerequisite and stop that path. Never replace requested approval semantics with a manual node. See commercial plugin gate.

Mandatory Clarification Gate

  • Ask only about unresolved create-time, destructive, high-risk, or owner choices; at most two rounds and three questions per round.
  • Proceed when later-editable details are at least 70% certain; verify them after mutation.
  • Require a unique target and exact intended end state before mutation.
  • Do not ask which copy mode the user means; infer it through the following gate and state the chosen outcome before mutation.

Workflow Update and Copy Intent Gate

Users usually describe a change, not a technical revision. Route by desired outcome:

Intent Signals Route and consequence
Modify the existing workflow Update/adjust logic, trigger, condition, or nodes Fetch nodes and versionStats. If versionStats.executed > 0, create a same-workflow revision first; otherwise edit in place. Never create an independent workflow.
Create a new version Explicit new version/revision, preserved history, or successor version Create a revision with the same key. Version executions start at zero; history and key-level aggregate statistics remain.
Copy the workflow entity Copy/clone/save as, another process/template, renamed copy, reset statistics, or bare “copy this workflow” Create an independent workflow with a new key; execution count and history start empty.

Precedence: explicit version continuity → revision; explicit separate identity → independent copy; concrete behavior change → update; bare workflow copy → independent copy.

Use exactly these revision calls:

# Same workflow, new version
nb api workflow workflows revision \
  --filter-by-tk <source-id> \
  --filter '{"key":"<source-key>"}'

# Independent workflow
nb api workflow workflows revision \
  --filter-by-tk <source-id>
  • Same-workflow mode requires the exact top-level control object {"key":"..."}. Never nest it in $and/$or, put it in the body, or use an empty filter.
  • Omit filter for an independent copy.
  • Read back before further mutation: revision means new id and unchanged key; independent copy means both differ.
  • The CLI sends filter as one JSON query object; the repository switches mode only on direct filter.key.

Collection Resolution Gate

For any required but unclear `colle

Полный SKILL.md на GitHub

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

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

  1. 01shell
  2. 02Read(local skill references only)
  3. 03nb(workflows:list|get|create|update|revision|execute, workflows/<workflowId>/nodes:create, flow_nodes:get|update|destroy|destroyBranch|move|duplicate|test, executions:list|get, jobs:get, flowSurfaces:get|catalog|applyApprovalBlueprint|addBlock|addField|addAction|compose|configure|setLayout)

Вложенные файлы

  • references/approval/audience.md
  • references/approval/index.md
  • references/approval/initiator-interface.md
  • references/approval/notifications.md
  • references/approval/ui-config/blueprint.md
  • references/approval/ui-config/incremental.md
  • references/approval/ui-config/index.md
  • references/approval/ui-config/primitives.md
  • references/approval/ui-config/recipes.md
  • references/approval/ui-config/surfaces.md
  • references/approval/ui-config/verification.md
  • references/approval/uid-config.md
  • references/cli/executions.md
  • references/cli/flow_nodes.md
  • references/cli/index.md
  • references/cli/jobs.md
  • references/cli/workflows.md
  • references/commercial-plugin-gate.md
  • references/conventions/index.md
  • references/http-api/executions.md
  • references/http-api/flow_nodes.md
  • references/http-api/index.md
  • references/http-api/jobs.md
  • references/http-api/workflows.md
  • references/modeling/executions.md
  • references/modeling/flow_nodes.md
  • references/modeling/index.md
  • references/modeling/jobs.md
  • references/modeling/workflows.md
  • references/nodes/aggregate.md
  • references/nodes/ai-employee.md
  • references/nodes/approval.md
  • references/nodes/calculation.md
  • references/nodes/cc.md
  • references/nodes/condition.md
  • references/nodes/create.md
  • references/nodes/delay.md
  • references/nodes/destroy.md
  • references/nodes/end.md
  • references/nodes/index.md

FAQ

Что делает скилл nocobase-workflow-manage?

NocoBase 2 only; never use in a NocoBase 3 project. Use when users need to inspect, create, update, copy, enable, or diagnose NocoBase workflows through `nb`, including version-safe edits, node changes, approval surfaces, and execution troubleshooting.

Как установить скилл nocobase-workflow-manage?

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

Скилл nocobase-workflow-manage запускает скрипты?

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

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

Сравнить nocobase-workflow-manage с