본문으로 건너뛰기
Skillpedia
일반 코딩394k · #17

diffs

하는 일

이 스킬은 AI 에이전트에게 수정 전후의 텍스트나 패치를 시각적 비교로 바꾸는 도구를 제공합니다. 정확한 변경 사항을 검토하거나 공유하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓텍스트나 코드 수정에서 정확히 무엇이 바뀌었는지 보여 주고 싶을 때.
  • ✓링크로 공유하거나 PDF나 PNG 파일로 보낼 수 있는 비교본이 필요할 때.
  • ✓변경 사항을 손으로 요약하면 불명확하거나 틀리기 쉬울 때.

스킬 링크

https://github.com/openclaw/openclaw/blob/main/extensions/diffs/skills/diffs/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“제 노트의 두 버전 사이에서 정확히 무엇이 바뀌었는지 보여 주고, 보낼 수 있는 PDF도 만들어 주세요.”

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

작동 방식

도구는 이전 텍스트와 새 텍스트를 비교하거나 패치를 읽고, 뷰어 페이지, 파일 또는 둘 다를 만듭니다. 변경이 있었는지 보고하고 뷰어 링크나 파일 경로를 돌려줍니다.

기술 내용 (원본 SKILL.md)

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

When you need to show edits as a real diff, prefer the diffs tool instead of writing a manual summary.

The diffs tool accepts either before + after text, or a unified patch string.

Check details.changed: identical before/after input returns false without creating an artifact; rendered results return true.

Use mode=view when you want an interactive gateway-hosted viewer. After the tool returns, present details.viewerUrl with an available surface-presentation tool. If the deployment uses a loopback trusted proxy (for example Tailscale Serve with gateway.trustedProxies including 127.0.0.1), raw loopback viewer requests can be rejected without forwarded client-IP headers. In that topology, prefer mode=file / mode=both, or use a configured viewerBaseUrl / explicit proxy/public baseUrl when you need a shareable viewer URL.

Use mode=file when you need a rendered file artifact. Set fileFormat=png (default) or fileFormat=pdf. The tool result includes details.filePath.

For large or high-fidelity files, use fileQuality (standard|hq|print) and optionally override fileScale/fileMaxWidth.

When you need to deliver the rendered file to a user or channel, do not rely on the raw tool-result renderer. Instead, use an available file-sending tool to send details.filePath as an attachment.

Use mode=both when you want both the gateway viewer URL and the rendered artifact.

If the user has configured diffs plugin defaults, prefer omitting mode, theme, layout, and related presentation options unless you need to override them for this specific diff.

Include path for before/after text when you know the file name.

자주 묻는 질문

아무것도 바뀌지 않았다면 파일을 만드나요?

아니요. 수정 전후 텍스트가 같으면 도구는 변경 없음을 보고하고 결과물을 만들지 않습니다.

렌더링된 파일을 다른 사람에게 보낼 수 있나요?

네. 사용 가능한 파일 전송 도구를 통해 스킬이 파일을 첨부로 보낼 수 있습니다.

어떤 파일 형식을 만들 수 있나요?

기본적으로 PNG 이미지를 만들며, 요청하면 PDF 파일도 만듭니다.

상세 정보

작성자의 원본 설명

Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.

repo: openclaw/openclaw

인기도

GitHub 스타
394k
순위
#17
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬