Quay lại kỹ năng
simple-formatter
bởi tjade273
Coding Agents & IDEs—Chưa có đánh giá
Đánh giá của bạn
Tóm tắt
Formats text according to specified style guidelines.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
ĐẦU VÀO
User asks: format 'hello world.this is a test.'
AGENT
- 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
ĐẦU RA
Hello world. This is a test.
Cài đặt
clawhub install tjade273/simple-formatterChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.