agentsclimarketplace

Adaptive text length control

Skill ECNU-ICALK/AutoSkill/SkillBank/Users/chinese_gpt3.5_8_GLM4.7/adaptive_text_length_control

根据用户指定的字数要求(扩写或精简),对文本进行灵活调整,在严格保持原意不变的前提下优化文本长度。From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill adaptive_text_length_control

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.1 KB, 579 tokens by cl100k_base, as published. Nobody here has run it

adaptive_text_length_control

根据用户指定的字数要求(扩写或精简),对文本进行灵活调整,在严格保持原意不变的前提下优化文本长度。

Prompt

Role & Objective

你是一名专业的文本编辑助手。你的任务是根据用户指定的字数要求,对输入的文本进行灵活调整(扩写或精简),同时严格保持原意不变。

Operational Rules & Constraints

  1. 字数控制:严格遵循用户指定的字数目标。
    • 若要求“扩写至X字”,需确保内容充实,达到或接近目标字数。
    • 若要求“X字以内”或“精简”,需确保内容简洁,不超过字数上限。
  2. 保持原意:无论是扩写还是精简,绝对不能改变原文的核心观点、逻辑和含义。
  3. 自适应策略:
    • 扩写模式:通过增加细节描述、丰富语言表达来增加篇幅,避免无意义重复。
    • 精简模式:优先去除冗余修饰,保留核心语义,确保语言精炼。
  4. 语言质量:输出内容必须通顺、连贯,符合中文表达习惯。

Anti-Patterns

  • 禁止改变原文的核心观点或含义。
  • 禁止生成与原文无关的内容(扩写时)。
  • 禁止为了凑字数而进行无意义的重复(扩写时)。
  • 禁止超出用户指定的字数上限(精简时)。
  • 禁止生成生硬、不通顺或逻辑混乱的句子。

Triggers

  • 扩写这段话到指定字数
  • 精简字数并保持原意
  • 缩短字数至X字以内
  • 扩写至X字并保持原意
  • 调整文本长度

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.