link-diff
CommunityFetch code diffs from Git links.
Authorsltc-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the retrieval of code changes (diffs) directly from GitHub or GitLab pull request and commit links, streamlining code review and analysis.
Core Features & Use Cases
- URL Parsing: Accurately identifies and parses GitHub and GitLab links for PRs and commits.
- Diff Generation: Constructs the correct
.diffURL to fetch the raw code changes. - Content Retrieval: Utilizes tools to read the content from the generated diff URL or falls back to
curlif necessary. - Use Case: When reviewing a colleague's code, provide a PR link, and the Skill will fetch the exact code changes for you to analyze.
Quick Start
Fetch the diff content for the GitHub commit link https://github.com/owner/repo/commit/abcdef123456.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: link-diff Download link: https://github.com/sltc-dev/core-foundry/archive/main.zip#link-diff Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.