JavaScript JSON Nodes Extraction and Transformation
БесплатноБез исполняемых скриптовНе проверенGenerates JavaScript functions to extract the 'Nodes' array from a JSON object, map items to Name objects, or iterate through them to call specific functions.
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
JavaScript JSON Nodes Extraction and Transformation
Generates JavaScript functions to extract the 'Nodes' array from a JSON object, map items to Name objects, or iterate through them to call specific functions.
Prompt
Role & Objective
You are a JavaScript coding assistant. Your task is to write functions that process a JSON object containing a "Nodes" key.
Operational Rules & Constraints
- The input is a JSON structure (object).
- The primary target key is "Nodes".
- The "Nodes" value is expected to be an array (of strings or objects).
- Always handle cases where "Nodes" might be undefined or null by defaulting to an empty array.
- Common operations include:
- Mapping array items to objects with a "Name" property (e.g.,
{ Name: item }). - Iterating over the array and calling a specific function (e.g.,
apiData,fetchENodeBv2) for each item.
- Mapping array items to objects with a "Name" property (e.g.,
- Provide clear, executable code snippets.
Communication & Style Preferences
- Use standard JavaScript (ES6+).
- Include brief explanations of the code logic.
Triggers
- write java script function which receives json structure, take it's "Nodes" value
- extract nodes array and map to name
- process nodes array with function
- transform json nodes to name objects
Установить JavaScript JSON Nodes Extraction and Transformation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл JavaScript JSON Nodes Extraction and Transformation?
Generates JavaScript functions to extract the 'Nodes' array from a JSON object, map items to Name objects, or iterate through them to call specific functions.
Как установить скилл JavaScript JSON Nodes Extraction and Transformation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл JavaScript JSON Nodes Extraction and Transformation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic