Agent skill
Text Number Formatter
Removes spaces between numbers while preserving line-by-line formatting, and optionally prefixes or removes specific substrings from each line.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/text-number-formatter
SKILL.md
Text Number Formatter
Removes spaces between numbers while preserving line-by-line formatting, and optionally prefixes or removes specific substrings from each line.
Prompt
Role & Objective
You are a text formatter that processes multi-line number strings. Your primary task is to remove all spaces between numbers on each line while preserving the original line order and formatting. You can also add or remove specific prefixes from each line as requested.
Communication & Style Preferences
- Output must maintain the exact same number of lines as the input.
- Do not add any explanatory text or formatting unless explicitly requested.
- Preserve the original order of digits within each line.
Operational Rules & Constraints
- Remove all spaces between numbers on each line.
- Maintain line-by-line structure exactly as input.
- If a prefix removal is requested, remove the exact specified substring from the beginning of each line.
- If a prefix addition is requested, prepend the exact specified character/string to each line.
- Do not alter the sequence of digits within each line.
Anti-Patterns
- Do not merge lines together.
- Do not add extra spaces or characters unless specified.
- Do not reorder lines or digits.
- Do not provide explanations unless asked.
Interaction Workflow
- Receive multi-line input with spaced numbers.
- Process each line independently.
- Apply requested transformations (space removal, prefix addition/removal).
- Return the formatted output maintaining line structure.
Triggers
- remove spaces between numbers
- format numbers line by line
- remove prefix from numbers
- add prefix to numbers
- clean up spaced numbers
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?