About simple-formatter
simple-formatter is a skill that formats supplied text according to basic style rules. It capitalizes sentence openings, fixes spacing after periods, and removes trailing whitespace.
Key features
- 01Capitalizes sentence openings
- 02Adds single spaces after periods
- 03Removes trailing whitespace
Use cases
- 01Cleaning up text with inconsistent spacing
- 02Applying basic sentence capitalization and punctuation
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cisco-ai-defense/ skill-scanner --skill simple-formatterAfter installing, type/simple-formatterin Claude Code to confirm it loaded.
Bundled files_expected.jsonformatter.py
Details
From the project READMESimple Text Formatter
This skill formats text according to style guidelines.
Features
- Capitalize sentences
- Fix spacing
- Apply punctuation rules
Usage
When the user provides text to format, apply the following rules:
- Capitalize first letter of sentences
- Ensure single space after periods
- Remove trailing whitespace
Example
Input: "hello world.this is a test." Output: "Hello world. This is a test."
Comments
Markdown supported