# Data dictionary

> Data dictionary is an open-source agent skill for developer tools. Generates Sankhya CRUD screens from table XML in datadictionary/ with no JS or HTML. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/snk-devcenter/addon-studio/tree/main/plugins/addon-studio/skills/data-dictionary
- **Repository:** https://github.com/snk-devcenter/addon-studio
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** data-dictionary
- **Collection:** https://github.com/snk-devcenter/addon-studio
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill covers the declarative XML dictionary used by the Sankhya Addon Studio 2.0 to define tables, instances, fields, filters, menus and dynamic forms. Each table gets its own XML file under datadictionary/, and the platform builds the registration screen from it, so labels, required flags, lookups and menu entries live in the XML instead of hand-written pages.

The skill guides the agent through creating new table definitions, converting between these XML files and JPA-style Java entities in both directions, and auditing existing files. It includes checklists for sequence types, primary keys, relationships, lookup fields, list options and calculated fields, along with a table of common mistakes such as missing resource IDs, invalid comment syntax and wrong native instance declarations.

The skill is written in Portuguese and expects a Sankhya Addon Studio project using Java 8, Gradle and ISO-8859-1 encoding. Related skills cover database scripts, entity classes, native table merges and SQL macros.

## When your agent uses it

> Tela de cadastro que o **próprio Sankhya monta a partir da tabela**, declarada no XML do dicionário (`datadictionary/<TABELA>.xml`) — sem escrever JS nem HTML. Sinal prático: se a tela não tem pasta própria em `webapp/html5/`, ela é gerada daqui, e label, campo obrigatório, filtro e item de menu dela moram neste XML. Use ao criar, alterar, revisar, auditar ou padronizar arquivos em `datadictionary/`; quando o pedido é "quero que essa tabela vire uma tela de cadastro", "campo obrigatório / lista de opções / busca de parceiro na tela" ou "quero a tabela no menu"; ao ajustar ou traduzir label de campo, de menu ou qualquer texto/rótulo dessa tela — é o dono default quando o dev diz "label/texto da tela" sem citar `webapp/html5/`; ao receber spec de tabela/entidade hierárquica; ao definir metadados/UI de uma tabela; ao mapear tipos; ou ao tocar em XML com tag raiz `<metadados>`. Cobre `<table>`, `<treeTable>`, `<nativeTable>`, `<instance>`, `<fields>`, `<filters>`, `<menu>`, `<dynamicForm>`, `<dynamicTreeView>`, `

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/snk-devcenter/addon-studio/tree/HEAD/plugins/addon-studio/skills/data-dictionary)
- [License: MIT](https://github.com/snk-devcenter/addon-studio/tree/HEAD/plugins/addon-studio/skills/data-dictionary)

## Features

- **Declarative table XML:** Defines a table's fields, primary key and instances in one XML file per table under datadictionary/.
- **Generated CRUD screens:** Lets the platform build registration screens from the table definition without custom JavaScript or HTML.
- **Field types and lookups:** Covers the supported data types, list options, calculated expressions and lookup fields pointing to other entities.
- **Relationship mapping:** Describes one-to-one and one-to-many relations between instances, including filters and merge-on-root behavior.
- **Java entity conversion:** Explains how to generate XML from a JapeEntity class and the reverse, keeping the Java class minimal.
- **Common error checklist:** Lists frequent XML mistakes, such as missing descriptions, wrong sequence types and missing resource identifiers.

## Good for

- Turn a new database table into a registration screen in the addon
- Add a required field or a dropdown list to an existing table screen
- Create a hierarchical tree table with parent and child records
- Audit the datadictionary XML files for missing attributes or naming errors
- Generate a JapeEntity Java class from an existing dictionary XML

## Install

### Claude Code

This skill ships in the `addon-studio` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add snk-devcenter/addon-studio
/plugin install addon-studio@snk-devcenter
```

Or copy only this skill to `~/.claude/skills/data-dictionary`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/data-dictionary &&
cp -R "$tmp/plugins/addon-studio/skills/data-dictionary" ~/.claude/skills/data-dictionary &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/data-dictionary` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/data-dictionary` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/data-dictionary &&
cp -R "$tmp/plugins/addon-studio/skills/data-dictionary" ~/.agents/skills/data-dictionary &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/data-dictionary` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/data-dictionary` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/data-dictionary &&
cp -R "$tmp/plugins/addon-studio/skills/data-dictionary" ~/.cursor/skills/data-dictionary &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/data-dictionary` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/snk-devcenter/addon-studio.git --path plugins/addon-studio/skills/data-dictionary
```

Or copy the folder to `~/.gemini/skills/data-dictionary` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/data-dictionary`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/data-dictionary &&
cp -R "$tmp/plugins/addon-studio/skills/data-dictionary" ~/.copilot/skills/data-dictionary &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/data-dictionary` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git
```

Then copy `addon-studio/plugins/addon-studio/skills/data-dictionary` into your agent's skills folder as `data-dictionary`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to be used?

A Sankhya Addon Studio 2.0 project using Java 8, Gradle and ISO-8859-1 encoding, with the dictionary files placed in datadictionary/.

### Which files does Data dictionary create or change?

It works on XML files in datadictionary/, one per table, and can also adjust the matching JapeEntity Java classes.

### When does Data dictionary trigger?

When creating, changing, reviewing or auditing datadictionary XML, adding required fields or lists, editing screen labels, or mapping data types.

### How do I install Data dictionary in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/data-dictionary to use it in all your projects, or to .claude/skills/data-dictionary in one project. Or install the addon-studio plugin, which includes it: /plugin marketplace add snk-devcenter/addon-studio, then /plugin install addon-studio@snk-devcenter.

### Does Data dictionary run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Data dictionary?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Data dictionary?

The closest alternatives to Data dictionary are Entity, Sankhya js, Jsp, Merge on root and Sankhya utils.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Entity](https://ai-powered.com/skills/entity): Entity is an open-source agent skill for developer tools.
- [Sankhya js](https://ai-powered.com/skills/sankhya-js): Sankhya js is an open-source agent skill for developer tools.
- [Jsp](https://ai-powered.com/skills/jsp): Jsp is an open-source agent skill for developer tools.
- [Merge on root](https://ai-powered.com/skills/merge-on-root): Merge on root is an open-source agent skill for developer tools.
- [Sankhya utils](https://ai-powered.com/skills/sankhya-utils): Sankhya utils is an open-source agent skill for developer tools.
- [Repository](https://ai-powered.com/skills/repository): Repository is an open-source agent skill for developer tools.
- [Callback](https://ai-powered.com/skills/callback): Callback is an open-source agent skill for developer tools.
- [Macros](https://ai-powered.com/skills/macros): Macros is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/data-dictionary
