Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

simple-formatter

bởi tjade273

Coding Agents & IDEs
365Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—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. 1

    Receives the raw input text

  2. 2

    Capitalizes the first letter of each sentence

  3. 3

    Ensures a single space follows each period

  4. 4

    Removes trailing whitespace

  5. 5

    Returns the cleaned text

ĐẦU RA

Hello world. This is a test.

Cài đặt

clawhub install tjade273/simple-formatter

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết