diffcheck
Create shareable Diffchecker URLs for comparing text, files, or code. Use when the user wants to share a diff, compare before/after, or create a diff link.
소스 정보
- 저장소
- wise-toddler/diffchecker-skill
- 최근 소스 활동
- 2026년 5월 14일 14:17
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- diffcheck
- description
- Create shareable Diffchecker URLs for comparing text, files, or code. Use when the user wants to share a diff, compare before/after, or create a diff link.
# Diffcheck
Create shareable Diffchecker URLs from the CLI using `diffcheck`.
If `diffcheck` is not found, install it first: `uv tool install diffchecker-skill`
## Setup
```bash
# Store your session cookie (one-time, optional — works without auth too)
diffcheck login '<diffsession_cookie_value>'
diffcheck whoami
```
## Commands
```bash
# Compare two files
diffcheck diff file1.txt file2.txt
# Compare with title and expiry
diffcheck diff old.py new.py --title "refactor auth" --expiry 1_week
# Compare inline text
diffcheck diff --left-text "hello world" --right-text "hello earth" dummy
# Pipe left from stdin, right from file
cat old_version.py | diffcheck diff - new_version.py --title "migration changes"
# Full JSON response
diffcheck diff a.txt b.txt --json
# Private diff
diffcheck diff a.txt b.txt --private
```
## Expiry Options
`1_hour`, `1_day` (default), `1_week`, `1_month`, `forever`
## Typical Workflow
When the user asks to share a diff or compare content:
1. Write left/right content to temp files if needed
2. Run `diffcheck diff <left> <right> --title "descriptive title"`
3. Return the URL to the user
Example with git changes:
```bash
git diff HEAD~1 -- path/to/file > /tmp/old.txt
git show HEAD:path/to/file > /tmp/new.txt
diffcheck diff /tmp/old.txt /tmp/new.txt --title "latest commit changes"
```
GitHub에서 보기