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
- community
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-agnosticSKILL.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
If FILE is omitted, input is read from stdin. Output goes to stdout unless -o is given.
Options:
| Flag | Description | |
|---|---|---|
-o FILE | Write output to FILE instead of stdout. | |
--tabs N | Replace leading spaces with tabs (default: keep as-is). | |
--no-smart | Skip smart-quote normalization. | |
--check | Exit with non-zero if the file would be changed. | |
--verbose | Print per-file stats to stderr. |
Examples
Integration
The primary entry point is tidy.py, which can also be called directly:
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
| Code | Meaning | |
|---|---|---|
| 0 | Success (or no changes with --check). | |
| 1 | Input/output error. | |
| 2 | Usage 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
- SKILL.md in the repositoryCheckinggenerator/output/arm1-17-critical__skills__snyk_issue_codes_md_e0-code_exec-target_agnostic/SKILL.md
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
[](https://verified-skill.com/skills/zewang0217/skill-construction/arm1-17-critical-skills-snyk-issue-codes-md-e0-code-exec-target-agnostic)