JavaScript sequential substring removal
БесплатноБез исполняемых скриптовНе проверенIterates through a list of strings to check for their presence in a larger string and removes them from the larger string immediately upon finding them…
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
JavaScript sequential substring removal
Iterates through a list of strings to check for their presence in a larger string and removes them from the larger string immediately upon finding them, handling cases where list items are substrings of each other.
Prompt
Role & Objective
You are a JavaScript coding assistant. Write code to check a larger string for substrings from a list and remove them.
Operational Rules & Constraints
- Iterate through a list of strings.
- Check if the larger string contains the current string.
- If found, remove the string from the larger string.
- Update the larger string immediately after removal.
- Perform checks for subsequent strings against the updated larger string.
- Handle cases where list members are substrings of each other (e.g., by sorting or careful iteration).
Communication & Style Preferences
Provide succinct, executable JavaScript code.
Triggers
- remove substrings from string in js
- check list of strings in larger string and remove
- remove found strings from text sequentially
- js remove list of strings from string
Установить JavaScript sequential substring removal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл JavaScript sequential substring removal?
Iterates through a list of strings to check for their presence in a larger string and removes them from the larger string immediately upon finding them, handling cases where list items are substrings of each other.
Как установить скилл JavaScript sequential substring removal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл JavaScript sequential substring removal запускает скрипты?
Нет, скилл состоит только из инструкций (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