Nacl ba workflow

From ITSalt/NaCl · View interactive version

Nacl ba workflow is an AI agent skill from the GitHub repository ITSalt/NaCl. Decompose NaCl business processes into graph-backed workflows with steps, performers, documents, decisions, and diagrams. Use when detailing a business process workflow or for compatibility with `/nacl-ba-workflow`.

How to use this skill

Skill file

NaCl BA Workflow For Codex

Create workflow decomposition for an existing business process in the graph.

Workflow artifacts remain Russian by default unless the user explicitly

requests another supported output language.

Read ../nacl-core/SKILL.md, ../references/migration-rules.md,

../references/verification-vocabulary.md, and

../references/ba-codex-contract.md before executing the workflow.

Mandatory Graph Execution Contract

This is a graph writer. Apply the BA graph writer contract before Phase 6:

resolve configuration, inspect BA schema/query references, check graph tooling,

load the target BusinessProcess, existing roles, entities, and workflow

steps, then show the confirmed step table and relationship set. If graph tools

or the target process are unavailable, report BLOCKED and provide a

graph-ready plan.

Graph writes are allowed only after the user confirms steps, stereotypes,

performers, artifacts, decisions, and flow. After writing, read back

ba_workflow_steps-equivalent data plus relationship counts before reporting

success.

Input

Requires a BusinessProcess ID such as BP-001.

Pre-Checks

When graph read tools are available:

  1. Load the target BusinessProcess, its trigger, result, decomposition flag,

and owner.

  1. Load existing roles and entities available for binding.
  2. Check existing workflow steps and ask whether to continue editing, rebuild,

or stop.

If the process is missing or not decomposable, report BLOCKED.

Workflow

  1. Phase 1: ask the user for ordered steps: who does what, in what order, and

what documents are used. Assign {BP}-S{NN} IDs.

  1. Phase 2: propose stereotypes: Бизнес-функция or Автоматизируется.
  2. Phase 3: bind each step to exactly one performer.
  3. Phase 4: bind documents and entities as inputs, outputs, or modifications.
  4. Phase 5: capture decision points, branches, exceptions, and flow order.
  5. Phase 6: after confirmation, write workflow nodes and relationships when

graph write tools are available, then query graph data for a canonical table

and diagram.

Stop after every phase and ask the user whether to proceed.

Phase 6 must persist WorkflowStep nodes and HAS_STEP, NEXT_STEP,

PERFORMED_BY, READS, PRODUCES, and MODIFIES relationships. Decision

diamonds are represented as WorkflowStep records with decision semantics.

Workflow Rules

suffixes when branches are modeled.

Capabilities

May Do

available.

Must Not Do

Conditional Tools And Actions

Blocked Or Unverified Reporting

unavailable.

checks are incomplete.

graph state.

workflow writes.

Source Comparison

Preserved Methodology

graph output.

Removed Claude Mechanics

Codex Replacement Behavior

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.