Nacl ba sync

From ITSalt/NaCl · View interactive version

Nacl ba sync is an AI agent skill from the GitHub repository ITSalt/NaCl. Synchronize NaCl Excalidraw BA boards into the graph by creating or updating BA nodes, relationships, board metadata, and sync markers. Use when pushing a board into the graph or for compatibility with `/nacl-ba-sync`.

How to use this skill

Skill file

NaCl BA Sync For Codex

Bridge a visual Excalidraw board and the structured BA graph. Sync reports

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 Board-To-Graph Contract

This is the board-to-graph writer. Resolve graph.boards_dir, parse

Excalidraw JSON structurally, inspect schema/query references, check graph read

and write tooling, classify elements, then show a sync summary and context plan.

If board access, graph tools, context selection, or confirmation is missing,

report BLOCKED.

Do not update the board file as synced until graph writes and read-back

verification succeed for the affected elements. On terminal failure, preserve

the board and update the meta sidecar failure state when filesystem writes are

available.

Workflow

  1. Locate and parse the requested board, or the latest configured board.
  2. Validate non-deleted shape elements and skip shapes without valid

customData.nodeType.

  1. Classify elements as new, already synced, or dirty synced; resolve labels and

arrows.

  1. Show a sync summary and stop for user confirmation before graph writes.
  2. Determine target ProcessGroup and BusinessProcess, creating them only

after explicit confirmation.

  1. Create or update graph nodes for workflow steps, decisions, entities, roles,

and annotations when graph write tools are available.

  1. Resolve arrows into graph relationships such as flow, performer, read,

produce, modify, and role participation links.

  1. Read back graph state, update board customData and visual sync markers when

filesystem writes are available, write sidecar metadata, and report results.

The source phase order is mandatory: read and validate board, determine

process context, sync new elements, sync relationships, sync changed elements,

update board/meta sidecar, report.

Sync Rules

NEXT_STEP, READS, PRODUCES, MODIFIES, PERFORMED_BY,

PARTICIPATES_IN, and OWNS where source evidence supports them.

report PARTIALLY_VERIFIED or FAILED with evidence.

Capabilities

May Do

Must Not Do

evidence.

user.

Conditional Tools And Actions

Blocked Or Unverified Reporting

confirmation is missing.

contract.

Source Comparison

Preserved Methodology

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.