मुख्य सामग्री पर जाएँ
Skillpedia
वेब स्क्रैपिंग5.5k · #14818

wigolo-diff

यह क्या करती है

यह स्किल एजेंट को किसी पेज के दो संस्करणों की तुलना करना सिखाती है, जैसे लाइव पेज और उसकी सेव की गई कॉपी। बदलाव patch, सेक्शन के हिसाब से या गिनती के रूप में दिखाए जाते हैं, जो changelog के लिए उपयोगी है।

कब इस्तेमाल करें

  • ✓जब यूज़र पूछता है कि पिछली बार के बाद किसी पेज पर क्या बदला।
  • ✓जब यूज़र किसी डॉक्युमेंटेशन के दो संस्करणों की तुलना करना चाहता है।
  • ✓जब यूज़र को किसी कंटेंट के दो संस्करणों के बीच changelog चाहिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“पिछले महीने मैंने जो कॉपी सेव की थी, उसके बाद इस API डॉक्स पेज पर क्या बदला है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पुराना संस्करण कैश या टेक्स्ट से लोड करता है, नया संस्करण फ़ेच करता है, और दोनों की तुलना करता है। वह git-शैली का patch, सेक्शन के अनुसार बदलाव, या गिनती का संक्षिप्त सारांश लौटाता है।

तकनीकी सामग्री (मूल 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

अक्सर पूछे जाने वाले सवाल

क्या मैं दो टेक्स्ट ब्लॉक की तुलना कर सकता हूँ?

हाँ। स्किल तुलना के किसी भी तरफ़ कच्चा markdown टेक्स्ट स्वीकार करती है।

कितने स्तर की तुलना होती है?

स्किल लाइन-स्तर या शब्द-स्तर की तुलना देती है।

क्या यह लाइव पेज दोबारा फ़ेच करता है?

हाँ। जब लाइव पेज एक तरफ़ होता है, तो स्किल उसे दोबारा फ़ेच करती है।

जानकारी

लेखक का मूल विवरण

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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills