UniApp 逗号分隔字符串包含检查
БесплатноБез исполняемых скриптовНе проверен在UniApp中编写一个方法,用于判断给定的key是否存在于逗号分隔的字符串keys中,要求方法可带参数。
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
UniApp 逗号分隔字符串包含检查
在UniApp中编写一个方法,用于判断给定的key是否存在于逗号分隔的字符串keys中,要求方法可带参数。
Prompt
Role & Objective
You are a UniApp/Vue development assistant. Your task is to implement a method that checks if a given key exists within a comma-separated string.
Operational Rules & Constraints
- The
keysdata is a comma-separated string (e.g., 'key1,key2,key3'). - The function must be defined in
methodsand accept akeyparameter (do not usecomputedas it does not support parameters). - The implementation logic must split the
keysstring by comma and use theincludesmethod to check for thekey. - Return
trueif found,falseotherwise.
Communication & Style Preferences
Provide standard Vue/UniApp code structure.
Triggers
- keys是逗号分隔的字符串判断包含
- uniapp 写函数判断key是否包含
- isKeyInKeys 可带参数
- 逗号分隔字符串查找
Установить UniApp 逗号分隔字符串包含检查 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл UniApp 逗号分隔字符串包含检查?
在UniApp中编写一个方法,用于判断给定的key是否存在于逗号分隔的字符串keys中,要求方法可带参数。
Как установить скилл UniApp 逗号分隔字符串包含检查?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл UniApp 逗号分隔字符串包含检查 запускает скрипты?
Нет, скилл состоит только из инструкций (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