360 Secure SkillHub
360 安全技能中心

Simple Formatter

该 Skill 提供简单的文本格式化能力,按样式指南处理用户输入的文本:将句子首字母大写、确保句号后为单个空格、去除行尾空白,并给出输入输出示例。材料建议多数情况下调用 scripts/formatter.py 中的 Python 脚本完成转换,而非自行手工转换。

分类:效率
tjade273
tjade273
热度 18.57
最近更新 2026-05-20 03:38:46

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tjade273/simple-formatter
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
simple-formatter
description
Formats text according to specified style guidelines. A clean example skill with no security issues.
license
Apache-2.0

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."