Communityコーディング&開発github.com

diffs

difftoolを使用して、手動による編集サマリーではなく、実際の共有可能な差分(ビューアURL、ファイルアーティファクト、またはその両方)を生成します。

diffs とは?

このスキルは、AIエージェントが「diffs」ツールを活用して、コードやテキストの変更を視覚的で共有可能な差分として提示できるようにします。従来の手動編集サマリーではなく、実際の差分を生成することで、レビューやドキュメント化が容易になります。CursorやClaude Codeなどのプラットフォームに対応しており、ゲートウェイでホストされたインタラクティブビューア(mode=view)、ファイルアーティファクト(mode=file、PNG/PDF形式)、またはその両方(mode=both)を選択できます。このツールはbefore/afterテキストまたは統一パッチ文字列を受け取り、変更がない場合はアーティファクトを作成せずにfalseを返します。また、ループバック信頼プロキシ環境ではビューアが正しく動作しない可能性があるため、適切なモード設定が推奨されます。ユーザーがデフォルト設定を構成している場合は、それを優先してモードやテーマなどのオプションは省略できます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/diffs/skills/diffs

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

編集内容を実際の差分として示す必要がある場合は、手動サマリーを作成する代わりに diffs ツールを使用してください。

diffs ツールは、before + after テキスト、または統一 patch 文字列を受け付けます。

details.changed を確認してください。before/after 入力が同一の場合は false が返され、アーティファクトは作成されません。レンダリング結果がある場合は true が返されます。

インタラクティブなゲートウェイホスト型ビューアが必要な場合は mode=view を使用します。ツールが戻ったら、利用可能な画面表示ツールを使用して details.viewerUrl を提示します。 デプロイメントでループバック信頼プロキシ(例えば gateway.trustedProxies に 127.0.0.1 を含む Tailscale Serve)を使用している場合、転送されたクライアント IP ヘッダーがないと生のループバックビューアリクエストが拒否される可能性があります。そのようなトポロジーでは、mode=file/mode=both を優先するか、共有可能なビューア URL が必要な場合は設定済みの viewerBaseUrl または明示的なプロキシ/パブリック baseUrl を使用してください。

レンダリングされたファイルアーティファクトが必要な場合は mode=file を使用します。fileFormat=png(デフォルト)または fileFormat=pdf を設定します。ツール結果には details.filePath が含まれます。

大規模または高忠実度のファイルの場合は、fileQuality(standard|hq|print)を使用し、必要に応じて fileScale/fileMaxWidth を上書きします。

レンダリングされたファイルをユーザーやチャネルに配信する必要がある場合は、ツール結果の生のレンダラーに依存しないでください。代わりに、利用可能なファイル送信ツールを使用して、添付ファイルとして details.filePath を送信します。

ゲートウェイビューア URL とレンダリングされたアーティファクトの両方が必要な場合は mode=both を使用します。

ユーザーが diffs プラグインのデフォルトを設定している場合は、この特定の差分で上書きする必要がない限り、mode、theme、layout、および関連する表示オプションを省略することを推奨します。

ファイル名がわかっている場合は、before/after テキストに path を含めてください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

関連スキル