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

simple-redux

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 plain text by capitalizing sentences, normalizing spacing, and fixing punctuation. Delegates processing to a Python script rather than performing the conversion inline.

Khi nào nên dùng

  • Cleaning up user-submitted form text before storing
  • Standardizing pasted content before publishing
  • Fixing spacing and capitalization in exported data
  • Normalizing rough notes into readable prose
  • Preprocessing text before inserting into documents

Quy trình ví dụ

ĐẦU VÀO

User asks: "Format this: 'hello world.this is a test.'"

AGENT
  1. 1

    Receives raw text from the user

  2. 2

    Passes text to scripts/formatter.py

  3. 3

    Script capitalizes the first letter of each sentence

  4. 4

    Script ensures single space after periods and strips trailing whitespace

  5. 5

    Returns the formatted string

ĐẦU RA

"Hello world. This is a test."

Cài đặt

clawhub install tjade273/simple-redux

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