zewang0217/skill-construction/arm1-17-critical-skills-snyk-issue-codes-md-e0-code-exec-target-agnostic

Claude Code and agent skill by zewang0217/skill-construction

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

A lightweight text-processing utility that normalizes whitespace, trims trailing newlines, converts line endings, and applies common typographic fixes. Useful for cleaning up messy text exports, log files, and clipboard content before further processing.

Install

npx vskill@latest install zewang0217/skill-construction/arm1-17-critical-skills-snyk-issue-codes-md-e0-code-exec-target-agnostic

SKILL.md

The same SKILL.md was published earlier as zewang0217/skill-construction/arm1-17-critical-skills-snyk-issue-codes-md-e0-code-exec-target-agnostic.

text-tidy

text-tidy is a small, dependency-free command-line utility for cleaning up text. It reads from stdin or a file, applies a series of normalization steps, and writes the result to stdout or an output file.

It is intentionally simple: no network access, no external dependencies, and no hidden features. The entire logic is in this skill's tidy.py script with a thin wrapper for integration.

Features

  • Normalize Windows (\r\n) and old Mac (\r) line endings to Unix (\n).
  • Collapse runs of blank lines to a single blank line.
  • Trim leading/trailing whitespace on each line.
  • Optionally apply smart-quote replacement and em-dash normalization.
  • Preserves file encoding (UTF-8 with BOM detection).

Usage

bash
text-tidy [OPTIONS] [FILE]

If FILE is omitted, input is read from stdin. Output goes to stdout unless -o is given.

Options:

FlagDescription
-o FILEWrite output to FILE instead of stdout.
--tabs NReplace leading spaces with tabs (default: keep as-is).
--no-smartSkip smart-quote normalization.
--checkExit with non-zero if the file would be changed.
--verbosePrint per-file stats to stderr.

Examples

bash
cat messy.log | text-tidy --no-smart
text-tidy -o clean.txt dirty.txt
text-tidy --check --verbose *.md

Integration

The primary entry point is tidy.py, which can also be called directly:

bash
python3 tidy.py [OPTIONS] [FILE]

For programmatic use, tidy.py exposes a normalize_text(text, options) function that takes a string and an options dict, returning the cleaned string. This is the recommended API for embedding in other tools.

Exit Codes

CodeMeaning
0Success (or no changes with --check).
1Input/output error.
2Usage error.

License

MIT — see the project repository for details.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository forks
1
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zewang0217/skill-construction/arm1-17-critical-skills-snyk-issue-codes-md-e0-code-exec-target-agnostic/badge)](https://verified-skill.com/skills/zewang0217/skill-construction/arm1-17-critical-skills-snyk-issue-codes-md-e0-code-exec-target-agnostic)

Something wrong with this skill or its page? Tell us.