返回技能列表
simple-formatter
由 tjade273 提供
Coding Agents & IDEs—暂无评分
你的评分
简介
Formats text according to specified style guidelines.
描述
该技能的功能
Formats text by capitalizing sentence starts, fixing spacing around periods, and removing trailing whitespace. Uses a Python script at scripts/formatter.py to apply the rules.
Handles common text normalization rules in a single pass without manual editing.
何时使用
- Cleaning up pasted notes with inconsistent spacing
- Fixing capitalization in rough draft text
- Normalizing punctuation in user-submitted content
- Tidying sentences copied from multiple sources
- Standardizing formatting in documentation snippets
示例工作流
输入
User asks: format 'hello world.this is a test.'
智能体
- 1
Receives the raw input text
- 2
Capitalizes the first letter of each sentence
- 3
Ensures a single space follows each period
- 4
Removes trailing whitespace
- 5
Returns the cleaned text
输出
Hello world. This is a test.
安装
clawhub install tjade273/simple-formatter运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。