Nacl ba entities

From ITSalt/NaCl · View interactive version

Nacl ba entities is an AI agent skill from the GitHub repository ITSalt/NaCl. Catalog NaCl business entities in the graph with stereotypes, attributes, states, relationships, and a CRUD matrix. Use when collecting or changing BA entities, enriching workflow artifacts, or for compatibility with `/nacl-ba-entities`.

How to use this skill

Skill file

NaCl BA Entities For Codex

Build and maintain the BA entity catalog in the graph. BA 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 for FULL, CREATE,

and MODIFY: resolve configuration, inspect schema/query references, check

graph tooling, load current entities, attributes, states, workflow usage, rules,

glossary links, and handoff links as needed, then present the candidate changes

and impact. If graph tools or source graph data are unavailable, report

BLOCKED and provide a graph-ready plan.

Write only after explicit confirmation for the relevant entity, attribute,

relationship, or state batch. Verify by reading back entity details,

relationships, lifecycle data, and CRUD matrix rows.

Operating Forms

| Form | Purpose |

|---|---|

| COLLECT | Scan workflow relationships and consolidate entity candidates. |

| FULL | Describe all entities, attributes, relationships, states, and CRUD usage. |

| CREATE | Add one confirmed entity. |

| MODIFY | Change one existing entity after impact analysis. |

Workflow

COLLECT

Read workflow usage from READS, PRODUCES, and MODIFIES relationships.

Consolidate candidates, propose stereotypes, show where each entity is used,

and stop for explicit user confirmation before any write.

FULL

  1. Collect current entities and workflow usage from the graph.
  2. Confirm entity list and stereotypes:

Внешний документ, Бизнес-объект, or Результат.

  1. For each entity, confirm business attributes using business-level types only.
  2. Confirm relationships, cardinalities, and optional state transitions.
  3. Write confirmed nodes and relationships when graph write tools are available.
  4. Query the graph to generate the CRUD matrix from actual usage edges.

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

FULL must preserve source phase order: collect from graph, confirm entity

identity and stereotypes, confirm attributes, confirm relationships, confirm

states and transitions, then generate the CRUD matrix from graph reads.

CREATE

Gather the entity name, stereotype, description, attributes, relationships, and

state behavior. Write only after user confirmation and verify by graph read.

MODIFY

Before any change, read affected attributes, workflow usages, rules, glossary

links, and traceability edges. Show impact, ask for confirmation, apply the

change, then verify by graph read.

Graph Contract

RELATES_TO with confirmed cardinality/type.

Capabilities

May Do

artifacts when graph write tools are available.

Must Not Do

input.

Conditional Tools And Actions

Blocked Or Unverified Reporting

can run.

state.

entity change.

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.