Назад к навыкам
simple-formatter
от tjade273
Coding Agents & IDEs365Число загрузок по данным clawskills.sh
2Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку—Ещё нет оценок
Ваша оценка
Кратко
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 — любой кодинг-агент, которым пользуетесь.