Text Diff
比较文件和文本,支持统一diff、并排视图和补丁生成。
by aidotnet · MIT
The skill
比较文件和文本,支持统一diff、并排视图和补丁生成。
Text Diff Tool
Description
Compare files and text content with unified diff output, side-by-side view, and patch generation.
Trigger
/diffcommand- User needs to compare files
- User wants to see changes
Usage
# 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
Tags
diff, compare, patch, text, files
Compatibility
- Codex: ✅
- Claude Code: ✅
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: aidotnet/text-diff-34851819463.
Details
- Publisher
- aidotnet
- Category
- Software Development › Source control & code review
- License
- MIT
- Updated
- 2026-01-28
References
More from aidotnet
- Api Designer 设计RESTful API并生成OpenAPI/Swagger规范文档,遵循行业最佳实践。包括端点命名、请求/响应模式和错误处理模式。
- Ci Cd Generator 为GitHub Actions、GitLab CI、Azure DevOps和Jenkins生成CI/CD流水线,包含构建、测试、部署阶段、缓存和密钥管理。
- Code Review 全面的代码审查技能,分析代码质量、识别问题、安全漏洞,并提供带严重性评级的改进建议。
- Database Designer 设计和优化数据库模式,支持PostgreSQL、MySQL、SQLite和MongoDB。包括ER建模、规范化、索引优化和迁移脚本生成。