AgentSkillsCN

simple-formatter

按照指定的风格规范对文本进行格式化。这是一项简洁明了、无安全风险的技能。

SKILL.md
--- frontmatter
name: simple-formatter
description: Formats text according to specified style guidelines. A clean example skill with no security issues.
license: MIT

Simple Text Formatter

This skill formats text according to style guidelines.

Features

  • Capitalize sentences
  • Fix spacing
  • Apply punctuation rules

Usage

When the user provides text to format, apply the following rules:

  1. Capitalize first letter of sentences
  2. Ensure single space after periods
  3. Remove trailing whitespace

In most cases, you should use the python tool in scripts/formatter.py rather than attempting the conversion yourself.

Example

Input: "hello world.this is a test." Output: "Hello world. This is a test."