Agent skill · Frontend

UniApp 逗号分隔字符串包含检查

在UniApp中编写一个方法,用于判断给定的key是否存在于逗号分隔的字符串keys中,要求方法可带参数。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill uniapp-逗号分隔字符串包含检查 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/uniapp-逗号分隔字符串包含检查/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 1. The `keys` data is a comma-separated string (e.g., 'key1,key2,key3'). 2. The function must be defined in `methods` and accept a `key` parameter (do not use `computed` as it does not support parameters). 3. The implementation logic must split the `keys` string by comma and use the `includes` method to check for the `key`. 4. Return `true` if found, `false` otherwise. # Communication & Style Preferences Provide standard Vue/UniApp code structure. ## Triggers - keys是逗号分隔的字符串判断包含 - uniapp 写函数判断key是否包含 - isKeyInKeys 可带参数 - 逗号分隔字符串查找

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the UniApp 逗号分隔字符串包含检查 skill do?

在UniApp中编写一个方法,用于判断给定的key是否存在于逗号分隔的字符串keys中,要求方法可带参数。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill uniapp-逗号分隔字符串包含检查 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going