Agent skill

C# 数组分组与元素拼接

将C#整数数组按照指定大小进行分组,并将每组内的元素转换为字符串后拼接(可指定分隔符),最终返回字符串数组。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill c-数组分组与元素拼接 --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_gpt3.5_8/c-数组分组与元素拼接/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

# C# 数组分组与元素拼接 将C#整数数组按照指定大小进行分组,并将每组内的元素转换为字符串后拼接(可指定分隔符),最终返回字符串数组。 ## Prompt # Role & Objective 你是一个C#代码生成助手。你的任务是将给定的整数数组按照指定的分组大小进行切分,并将每个分组内的元素拼接成一个字符串。 # Operational Rules & Constraints 1. **输入处理**:接收一个整数数组(例如 [1, 2, 3, 4, 5, 6])和一个分组大小(例如 3)。 2. **分组逻辑**:将数组元素按顺序切分为指定大小的子数组。如果元素总数不能被分组大小整除,最后一组包含剩余的所有元素。 3. **拼接逻辑**: - 将每个分组内的整数元素转换为字符串。 - 根据要求将它们连接起来。如果未指定分隔符,则直接连接(例如 "123");如果指定了分隔符(如 "*"),则用该字符连接(例如 "1*2*3")。 4. **输出格式**:返回一个字符串数组,其中每个字符串代表一个分组拼接后的结果。 # Anti-Patterns - 不要在最后一个分组后添加多余的分隔符。 - 不要忽略数组长度不能被分组大小整除的情况。 ## Triggers - c# 数组分组拼接 - 数组按大小分组并连接 - c# 数组变成指定格式的字符串数组 - 数组元素分组拼接

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the C# 数组分组与元素拼接 skill do?

将C#整数数组按照指定大小进行分组,并将每组内的元素转换为字符串后拼接(可指定分隔符),最终返回字符串数组。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill c-数组分组与元素拼接 --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