본문으로 건너뛰기
Skillpedia
웹 스크레이핑5.5k · #14818

wigolo-diff

하는 일

이 스킬은 라이브 페이지와 저장된 사본처럼 같은 페이지의 두 버전을 비교하는 방법을 에이전트에게 가르칩니다. 변경 사항을 패치, 섹션별 비교, 개수 요약으로 보여 주며, 변경 기록 작성에 유용합니다.

사용하는 경우

  • ✓사용자가 지난번 이후 페이지에서 무엇이 바뀌었는지 묻는 경우.
  • ✓사용자가 같은 문서의 두 버전을 비교하고 싶을 때.
  • ✓사용자가 콘텐츠의 두 버전 사이의 변경 기록을 원할 때.

스킬 링크

https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“지난달에 저장해 둔 사본 이후 이 API 문서 페이지에서 무엇이 바뀌었나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 캐시나 텍스트에서 이전 버전을 불러오고, 새 버전을 가져와 비교합니다. git 스타일 패치, 섹션별 변경, 개수 요약 중 하나를 돌려줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

wigolo diff

Structural comparison of two page versions. Point it at a live URL and its cached copy, two URLs, or two raw markdown blobs, and it returns a git-style patch, structured per-section hunks, or a counts-only summary.

Quick Reference

// Live page vs its cached version (re-fetches `new` side)
{ "old": { "url": "https://docs.example.com/api" }, "new": { "url": "https://docs.example.com/api" } }

// Two different URLs
{ "old": { "url": "https://v1.example.com/spec" }, "new": { "url": "https://v2.example.com/spec" } }

// Two markdown blobs directly
{ "old": { "markdown": "# Title\nold body" }, "new": { "markdown": "# Title\nnew body" } }

// Structured per-section hunks at word granularity
{ "old": { "url": "https://example.com" }, "new": { "url": "https://example.com" }, "output": "hunks", "granularity": "word" }

// Counts only
{ "old": { "url": "https://example.com" }, "new": { "url": "https://example.com" }, "output": "summary" }

Parameters

Parameter Type Default When to use
old object required Left-hand side. One of { url, markdown, content_hash }
new object required Right-hand side. One of { url, markdown }
output string "unified" "unified" (git-style patch), "hunks" (per-section), "summary" (counts only)
granularity string "line" "line", "word" (changed tokens only — tighter), "section" (walks H1/H2/H3)

Output Shapes

  • unified — a git-style unified patch, ready to read or store.
  • hunks — structured per-section change blocks. Combine with granularity: "section" to align hunks to headings, or granularity: "word" for tight intra-line edits.
  • summary — counts only: added_lines, removed_lines, modified_lines, and total_changed_chars (sum of added + removed line chars across the edit script). Cheapest way to answer "did anything change, and how much".

Comparing Against the Cache

The most common use is drift detection: fetch a page now and diff it against the copy wigolo cached earlier. Pass the same URL for both sides — wigolo reads the cached body for old and re-fetches for new. For a scoped, multi-URL sweep, prefer cache with check_changes: true.

Anti-Patterns

  • DON'T pass an old/new object without one of the accepted side keys — the handler rejects it.
  • DON'T use output: "unified" when you only need counts — summary is cheaper.
  • DON'T diff two unrelated pages expecting a meaningful changelog — diff versions of the same content.

When NOT to use wigolo-diff

  • Bulk change detection across many cached URLs — use cache with check_changes: true.
  • Ongoing scheduled monitoring — use watch, which diffs on each check.

See Also

자주 묻는 질문

두 텍스트 블록을 비교할 수 있나요?

네. 스킬은 비교의 어느 쪽에든 원시 마크다운 텍스트를 받을 수 있습니다.

어떤 세부 수준이 있나요?

줄 단위 비교나 단어 단위 비교를 제공합니다.

라이브 페이지를 다시 가져오나요?

네. 라이브 페이지가 비교의 한쪽이면, 스킬은 그 페이지를 다시 가져옵니다.

상세 정보

작성자의 원본 설명

Compare two versions of a page and see exactly what changed — a live URL against its cached copy, two URLs, or two markdown blobs. Section-level hunks, word- or line-level granularity, or a summary of counts. Use when the user says "what changed", "diff these", "compare this page to last time", "show me the changes", "did this doc update", or wants a changelog between two versions of the same content.

repo: KnockOutEZ/wigolo

인기도

GitHub 스타
5.5k
순위
#14818
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬