sc-diff
Semantic diffing for .NET source using roslyn-diff. Supports file/folder diffs, HTML reports, and git/PR-aware comparisons (GitHub + Azure DevOps).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Semantic diffing for .NET source using roslyn-diff. Supports file/folder diffs, HTML reports, and git/PR-aware comparisons (GitHub + Azure DevOps).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up a repo-local just task runner with a root Justfile, optional .just/ helper scripts, and curated help, build, fmt, lint, test, and ci recipes. Use when a repo needs just, a Justfile, .just helpers, or when the user mentions task automation, "just build", "just lint", "just fmt", or dropping in a just system.
Create or harden CLIs intended primarily for AI or system consumption and secondarily for humans. Use when designing or implementing a JSON-first CLI with an MCP-ready contract seam, where every command supports machine output, errors are typed and actionable, mutating commands are auditable via corresponding read commands, and external integrations need simulator-backed testing. Do not use for human-first shell utilities, one-off scripts, or text-only CLIs.
Design stateful simulators for AI-facing CLIs that integrate with devices, networks, services, or databases. Use when a CLI needs realistic simulator-backed testing, configurable fault injection, persistent state, and a swappable adapter boundary so the same business logic runs against live and simulated backends. Do not use for shallow mocks, stateless test doubles, or CLIs with no external integration.
Critically review an existing CLI, MCP wrapper, or CLI plan for AI-first contract quality. Use when evaluating whether a CLI is JSON-first, has an MCP-ready contract seam without JSON reshaping, auditably models state changes, uses stateful simulator-backed testing for external integrations, and returns typed actionable errors. Do not use for general style review or human-first shell UX review.
Run CI quality gates with optional auto-fix and PR creation.
Run Codex tasks via the ai_cli Task Tool runner.
| name | sc-diff |
| version | 0.12.0 |
| description | Semantic diffing for .NET source using roslyn-diff. Supports file/folder diffs, HTML reports, and git/PR-aware comparisons (GitHub + Azure DevOps). |
| Operation | Agent | Returns |
|---|---|---|
| File/folder diff | sc-diff | JSON: results[], counts, warnings |
| Git/PR diff | sc-git-diff | JSON: results[], refs, counts |
Invoke agents via Agent Runner using .claude/agents/registry.yaml.
files: string (comma-delimited list of 2 file paths)folders: string (comma-delimited list of 2 folder paths)html: boolean (default false)mode: auto (default), roslyn, lineignore_whitespace: boolean (default false)context_lines: number (optional, default 3)text_output: string|bool (optional; true writes .sc/roslyn-diff/temp/diff-#.txt)git_output: string|bool (optional; true writes .sc/roslyn-diff/temp/diff-#.patch)allow_large: boolean (default false)files_per_agent: number (default 10)max_pairs: number (default 100)git_pr: string (PR URL or PR number)files or folders.max_pairs and allow_large is false, stop with a warning.files_per_agent, split into batches and spawn sub-agents..sc/roslyn-diff/settings.json.files_per_agent when set explicitly.success: true|false.success: true includes aggregated counts and per-pair roslyn-diff JSON outputs.