العودة إلى المهارات
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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.