
Sankhya js
Builds HTML5 screens for Sankhya addons with AngularJS and the sankhya-js framework
Sankhya js is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- JavaScript
- Platforms
- Claude Code
- GitHub stars
- 7
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Sankhya js
This skill guides an agent through creating, changing, reviewing and debugging custom HTML5 screens inside a Sankhya addon's webapp folder. It covers the module layout, the AngularJS 1.x controller pattern, and how the screen calls server endpoints of the addon through the ServiceProxy service with the addon's service prefix.
The skill documents the proprietary framework components it relies on, such as dynaforms bound to data dictionary instances, dataset and datagrid components, popups, wizards and metadata lookups. It also explains how to register a screen in the menu, scaffold one with a Gradle task, and keep translations of template text in the right place.
Work is in JavaScript, HTML and CSS under the webapp, with the Sankhya Addon Studio 2.0 build and the sankhya-js runtime as the expected environment. Files are expected in UTF-8, and Java-side services are handled by separate skills.
When your agent uses it
Tela HTML5 que **você desenha**, com layout e lógica próprios em `src/main/webapp/html5/<Tela>/` (módulo `<addon>-vc`, AngularJS 1.x sobre o framework proprietário `sankhya-js`/módulo `snk`). Sinal prático: se a tela chama um endpoint/serviço do addon, tem `.js`/`.html` próprios ou i18n de template, é aqui; se ela só grava direto na tabela e foi gerada pelo dicionário, é `data-dictionary`. Use ao criar, alterar, revisar ou depurar tela do addon; ao traduzir ou trocar textos e rótulos que moram no template/`.properties` sob `webapp/html5/`; ao gerar tela com `gradle gerarTela`; ao consumir um `@Controller ...SP` do próprio addon a partir da tela; quando o pedido é "tela onde o usuário preenche um formulário e envia para o meu endpoint/serviço" ou "tela com botão que chama meu controller" — formulário que envia para endpoint do addon é aqui, não dicionário nem `.jsp`; ao montar dynaform sobre `<instance>` do dicionário; ao registrar a tela no menu via `<ui url="/$ctx/<Tela>.xhtml5">`; ou ao tocar em `.js`/`.htm
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 29 files (335 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the addon-studio plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add snk-devcenter/addon-studio
/plugin install addon-studio@snk-devcenterOr copy only this skill to ~/.claude/skills/sankhya-js:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sankhya-js &&
cp -R "$tmp/plugins/addon-studio/skills/sankhya-js" ~/.claude/skills/sankhya-js &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/sankhya-js inside it instead.
Copy the skill folder to ~/.agents/skills/sankhya-js to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sankhya-js &&
cp -R "$tmp/plugins/addon-studio/skills/sankhya-js" ~/.agents/skills/sankhya-js &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/sankhya-js inside it instead.
Copy the skill folder to ~/.cursor/skills/sankhya-js to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sankhya-js &&
cp -R "$tmp/plugins/addon-studio/skills/sankhya-js" ~/.cursor/skills/sankhya-js &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/sankhya-js inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/snk-devcenter/addon-studio.git --path plugins/addon-studio/skills/sankhya-jsOr copy the folder to ~/.gemini/skills/sankhya-js yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sankhya-js:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sankhya-js &&
cp -R "$tmp/plugins/addon-studio/skills/sankhya-js" ~/.copilot/skills/sankhya-js &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/sankhya-js inside it instead.
Get the folder:
git clone --depth 1 https://github.com/snk-devcenter/addon-studio.gitThen copy addon-studio/plugins/addon-studio/skills/sankhya-js into your agent's skills folder as sankhya-js. Agents that support SKILL.md read one folder per skill.
What it does
- Addon screen structure
- Explains the folder layout, fragments, launcher files and module declaration for an addon HTML5 screen.
- Service calls
- Shows how to invoke addon controllers through ServiceProxy with correct service naming and error handling.
- Dynaform and dataset binding
- Covers binding a screen to a data dictionary instance with dynaforms, datasets and navigators.
- Popups and parameter forms
- Describes opening custom popups and building quick parameter dialogs without a separate template.
- Scaffolding and menu registration
- Covers generating a screen with a Gradle task and registering it in the addon menu.
- Utilities and components
- Reference for shared string, date, number and metadata utilities and UI components of the framework.
Good for
- Create a screen where a user fills a form and submits it to an addon endpoint
- Debug a custom addon screen that fails when calling its controller
- Add a dynaform for a data dictionary instance with custom buttons
- Open a popup that asks the user for a date and a search field
- Register a new HTML5 screen in the addon menu
Sankhya js FAQ
When should Sankhya js be used instead of the data dictionary approach?
Use it when the screen calls an endpoint or service of the addon, has its own JS or HTML files, or has template translations. If the screen only writes directly to a table and was generated from the dictionary, the data-dictionary approach applies.
Does Sankhya js cover the new Design System frontend?
No. It explicitly excludes the Stencil-based Design System frontend, React, and Flex screens.
What language and framework does Sankhya js assume?
It assumes AngularJS 1.x on the proprietary sankhya-js framework with the snk module, not Angular 2 or later.
How do I install Sankhya js in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/sankhya-js to use it in all your projects, or to .claude/skills/sankhya-js 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 Sankhya js run scripts?
Yes. It runs JavaScript scripts. No network calls were found in its 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 Sankhya js?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Sankhya js?
The closest alternatives to Sankhya js are Jsp, Data dictionary, Sankhya utils, Test and Retrofit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from snk-devcenter/addon-studio

Adds dynamic search filters to Sankhya entity finders before the query runs
- Open source
- 7 GitHub stars
- Developer tools

Guides writing Sankhya commercial business rules with @BusinessRule for sales documents
- Open source
- 7 GitHub stars
- Enterprise it

Lets agents write, review and refactor Sankhya document callbacks with @Callback hooks
- Open source
- 7 GitHub stars
- Developer tools

Builds and reviews Sankhya REST endpoints with @Controller, DTOs and transactions
- Open source
- 7 GitHub stars
- Developer tools

Sets up global Sankhya exception handlers with rollback, error DTOs and HTTP status
- Open source
- 7 GitHub stars
- Developer tools

Generates Sankhya CRUD screens from table XML in datadictionary/ with no JS or HTML
- Open source
- 7 GitHub stars
- Developer tools

