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`…
Об этом скилле
Goal
Manage NocoBase workflows end to end through nb api workflow.
- Require an authenticated
nbCLI. - Run
-honce before first using a subcommand in the current task. - 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
nbinstallation 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.
- Read the target collection's field metadata and resolve the terminal field's frontend interface/type.
- Select the operator only from that field group's documented allowlist.
- 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$gteon a date field. - 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
filterfor an independent copy. - Read back before further mutation: revision means new
idand unchangedkey; independent copy means both differ. - The CLI sends
filteras one JSON query object; the repository switches mode only on directfilter.key.
Collection Resolution Gate
For any required but unclear `colle
Установить nocobase-workflow-manage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
shellRead(local skill references only)nb(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)Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic