If pair count > max_pairs and allow_large is false, stop with a warning.
If pair count > files_per_agent, split into batches and spawn sub-agents.
Aggregate results: include non-identical diffs and counts.
Caching
Cache Azure DevOps org/project/repo in .sc/roslyn-diff/settings.json.
Store defaults like files_per_agent when set explicitly.
Output Contract
Always return fenced JSON with a discriminated union: success: true|false.
success: true includes aggregated counts and per-pair roslyn-diff JSON outputs.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: randlee-synaptic-canvas-sc-diff3description: sc-diff4---56# sc-diff78## Capabilities9- Compare two files or two folders (exactly one of each per request)10- Auto semantic diff for .cs/.vb with line fallback for non-.NET files11- JSON-first output for AI consumption12- Optional HTML report per pair13- Git/PR-based comparisons via sc-git-diff14- Smart batching for large diff sets1516## Agent Delegation17| Operation | Agent | Returns |18|-----------|-------|---------|19| File/folder diff | `sc-diff` | JSON: results[], counts, warnings |20| Git/PR diff | `sc-git-diff` | JSON: results[], refs, counts |2122Invoke agents via Agent Runner using `.claude/agents/registry.yaml`.2324## Parameters25- `files`: string (comma-delimited list of 2 file paths)26- `folders`: string (comma-delimited list of 2 folder paths)27- `html`: boolean (default false)28- `mode`: `auto` (default), `roslyn`, `line`29- `ignore_whitespace`: boolean (default false)30- `context_lines`: number (optional, default 3)31- `text_output`: string|bool (optional; true writes `.sc/roslyn-diff/temp/diff-#.txt`)32- `git_output`: string|bool (optional; true writes `.sc/roslyn-diff/temp/diff-#.patch`)33- `allow_large`: boolean (default false)34- `files_per_agent`: number (default 10)35- `max_pairs`: number (default 100)36- `git_pr`: string (PR URL or PR number)3738## Behavior391) Validate exactly one of `files` or `folders`.402) Resolve inputs into file pairs.413) If pair count > `max_pairs` and `allow_large` is false, stop with a warning.424) If pair count > `files_per_agent`, split into batches and spawn sub-agents.435) Aggregate results: include non-identical diffs and counts.4445## Caching46- Cache Azure DevOps org/project/repo in `.sc/roslyn-diff/settings.json`.47- Store defaults like `files_per_agent` when set explicitly.4849## Output Contract50- Always return fenced JSON with a discriminated union: `success: true|false`.51- `success: true` includes aggregated counts and per-pair roslyn-diff JSON outputs.5253---54> Converted and distributed by [TomeVault](https://tomevault.io/claim/randlee) — claim your Tome and manage your conversions.55<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/randlee-synaptic-canvas-sc-diff in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
sc-diff It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.