Pular para o conteúdo
Skillpedia
Coleta de dados (scraping)5,5 mil · #14818

wigolo-diff

O que ela faz

Esta skill ensina um agente a comparar duas versões de uma página, como a página ao vivo e a cópia salva. Mostra as mudanças como um patch, por seção ou como contagens, o que é útil para registros de alterações.

Quando usar

  • ✓Quando um usuário pergunta o que mudou em uma página desde a última vez.
  • ✓Quando um usuário quer comparar duas versões da mesma documentação.
  • ✓Quando um usuário quer um registro de alterações entre duas versões de um conteúdo.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“O que mudou nesta página da documentação da API desde a cópia que salvei no mês passado?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente carrega a versão antiga do cache ou de um texto, busca a nova e as compara. Devolve um patch no estilo git, as mudanças por seção ou um resumo de contagens.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

Perguntas frequentes

Posso comparar dois blocos de texto?

Sim. A skill aceita texto markdown bruto em qualquer um dos lados da comparação.

Quais níveis de detalhe existem?

A skill oferece comparação por linha ou por palavra.

Ele busca a página ao vivo de novo?

Sim. Quando a página ao vivo é um dos lados, a skill a busca novamente.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
5,5 mil
Posição no ranking
#14818
Licença
—
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas