Langsung ke konten
Skillpedia
Web scraping5.5k ยท #14818

wigolo-diff

Fungsinya

Skill ini mengajari agent cara membandingkan dua versi halaman, misalnya halaman yang aktif dengan salinan yang tersimpan. Perubahan ditampilkan sebagai patch, per bagian, atau sebagai jumlah, dan ini berguna untuk changelog.

Kapan dipakai

  • โœ“Saat pengguna bertanya apa yang berubah pada halaman sejak terakhir kali.
  • โœ“Saat pengguna ingin membandingkan dua versi dokumentasi yang sama.
  • โœ“Saat pengguna ingin changelog antara dua versi sebuah konten.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œApa yang berubah pada halaman dokumentasi API ini sejak salinan yang saya simpan bulan lalu?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memuat versi lama dari cache atau dari teks, mengambil versi baru, lalu membandingkannya. Agent mengembalikan patch bergaya git, perubahan per bagian, atau ringkasan jumlah singkat.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Bisakah saya membandingkan dua blok teks?

Bisa. Skill ini menerima teks markdown mentah di kedua sisi perbandingan.

Tingkat detail apa yang tersedia?

Skill ini menawarkan perbandingan tingkat baris atau tingkat kata.

Apakah halaman live diambil ulang?

Ya. Jika halaman live menjadi salah satu sisi, skill ini mengambilnya lagi.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
5.5k
Peringkat
#14818
Lisensi
โ€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa