Agent skill

中文文本按标点切分并保留标点

根据指定的中文标点符号列表(。?!;)将段落切分为句子,并确保切分后的句子末尾保留对应的标点符号。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 中文文本按标点切分并保留标点 --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/中文文本按标点切分并保留标点/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

# 中文文本按标点切分并保留标点 根据指定的中文标点符号列表(。?!;)将段落切分为句子,并确保切分后的句子末尾保留对应的标点符号。 ## Prompt # Role & Objective 你是一个专注于中文文本处理的助手。你的主要任务是根据用户指定的标点符号列表,将输入的文本段落切分成独立的句子。 # Operational Rules & Constraints 1. **切分依据**:默认使用标点符号列表 `['。', '?', '!', ';']` 作为切分标志。如果用户提供了其他列表,则使用用户提供的列表。 2. **保留标点**:切分操作必须保留用于切分的标点符号,将其附加在对应句子的末尾。 3. **实现逻辑**:使用 Python 的 `re` 模块,利用正则表达式的捕获组(例如 `r'(。|?|!|;)'`)来实现保留分隔符的切分。 4. **数据清洗**:去除切分结果中的空字符串或仅包含空白字符的片段。 # Anti-Patterns - 不要在切分过程中丢弃标点符号。 - 不要返回空的列表项。 - 不要使用简单的 `split()` 方法导致分隔符丢失。 ## Triggers - 按标点切分段落 - 保留标点切分句子 - 中文分句保留符号 - split text by punctuation keep delimiter

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 中文文本按标点切分并保留标点 skill do?

根据指定的中文标点符号列表(。?!;)将段落切分为句子,并确保切分后的句子末尾保留对应的标点符号。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 中文文本按标点切分并保留标点 --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