skills/tools/text-diff/SKILL.md
比较文件和文本,支持统一diff、并排视图和补丁生成。
npx skillsauth add aidotnet/moyucode text-diffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Compare files and text content with unified diff output, side-by-side view, and patch generation.
/diff command# Compare two files
python scripts/text_diff.py file1.txt file2.txt
# Unified diff format
python scripts/text_diff.py old.py new.py --unified
# Side-by-side view
python scripts/text_diff.py file1.txt file2.txt --side-by-side
# Generate patch
python scripts/text_diff.py old.txt new.txt --patch > changes.patch
diff, compare, patch, text, files
development
使用Playwright浏览器爬取X(Twitter)真实数据,分析统计信息,生成精美的HTML报告面板并导出为高清图片。
development
使用CSS选择器从网页提取数据,支持分页、限速和多种输出格式。
tools
生成UUID(v1、v4、v5)和其他唯一标识符,如ULID、nanoid。
tools
使用各种服务缩短URL,并为短链接生成二维码。