Skip to content

Add snitch to Code Analysis and Metrics section#904

Open
LeadstarlingX wants to merge 2 commits intothangchung:masterfrom
LeadstarlingX:add-sntich-metrics
Open

Add snitch to Code Analysis and Metrics section#904
LeadstarlingX wants to merge 2 commits intothangchung:masterfrom
LeadstarlingX:add-sntich-metrics

Conversation

@LeadstarlingX
Copy link
Copy Markdown

@LeadstarlingX LeadstarlingX commented Jan 20, 2026

Adding (snitch) to Code Analysis and Metrics section.

https://github.com/spectresystems/snitch

snitch: a tool to find transitive, redundant, unnecessary packages to remove safely. Your project will only contain necessary packages.

Summary by CodeRabbit

  • Documentation
    • Added reference to snitch in the Code Analysis and Metrics section of the README, documenting a .NET analyzer tool for identifying transitive dependencies and unused references.

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings January 20, 2026 08:44
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 20, 2026

📝 Walkthrough

Walkthrough

The README is updated to add a new entry for "snitch," a .NET analyzer tool, under the Code Analysis and Metrics section. This documents a tool for identifying transitive dependencies and unused references.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added "snitch" tool entry under Code Analysis and Metrics describing its functionality for finding transitive dependencies and unused references.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A snitch hops through the code so fine,
Ferreting out what's yours and mine,
Dependencies tangled, unused and deep,
Now documented in the README to keep! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately summarizes the main change: adding snitch to the Code Analysis and Metrics section of the README.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the "snitch" tool to the Code Analysis subsection of the "Code Analysis and Metrics" section in the README. The tool helps identify transitive dependencies and unused package references that can be safely removed from .NET projects.

Changes:

  • Added snitch entry to the Code Analysis subsection with a link to its GitHub repository and a concise description

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@README.md`:
- Line 286: Update the README entry for the "snitch" link: locate the list item
containing "[snitch](https://github.com/spectresystems/snitch)" and replace the
current inaccurate description that mentions unused references with the correct
wording indicating it finds duplicate transitive package references (e.g.,
change the description to ".NET tool to find duplicate transitive package
references."). Ensure the updated line keeps the same link text and formatting.

Comment thread README.md Outdated
* [DevSkim](https://github.com/Microsoft/DevSkim) - A set of IDE plugins and rules that provide security "linting" capabilities.
* [RefactoringEssentials](https://github.com/icsharpcode/RefactoringEssentials) - Refactoring Essentials for Visual Studio.
* [roslyn-analyzers](https://github.com/dotnet/roslyn-analyzers) - .NET Compiler Platform ("Roslyn") Analyzers.
* [snitch](https://github.com/spectresystems/snitch) - .NET analyzer tool to find transitive dependencies and unused references that can be removed.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if the snitch repository is accessible
echo "Checking repository accessibility..."
http_code=$(curl -s -o /dev/null -w "%{http_code}" https://github.com/spectresystems/snitch)
echo "HTTP Status Code: $http_code"

# Also try to fetch the raw README to see if we can get basic info
echo ""
echo "Attempting to fetch repository info..."
curl -s "https://api.github.com/repos/spectresystems/snitch" | head -50

Repository: thangchung/awesome-dotnet-core

Length of output: 3319


🌐 Web query:

snitch spectresystems .NET analyzer tool transitive dependencies

💡 Result:

Snitch (by Spectre Systems) is a .NET CLI tool that helps you find transitive NuGet package references. It’s published as a dotnet tool (installable global/local) and the NuGet package (Snitch) description and versions are on nuget.org — latest stable listed 2.0.0 (published 2023-11-14). [1][2]

Install example:

  • dotnet tool install --global Snitch --version 2.0.0. [2]

Sources:

  • Spectre Systems NuGet profile (Snitch listed). [1]
  • Snitch NuGet package page (2.0.0, description, install command). [2]

Update the description to accurately reflect the tool's functionality.

The repository link is valid, but the description is inaccurate. According to the official GitHub repository, snitch is specifically "A tool that help you find duplicate transitive package references," not a generic tool for finding unused references.

Change line 286 to:

  * [snitch](https://github.com/spectresystems/snitch) - .NET tool to find duplicate transitive package references.
🤖 Prompt for AI Agents
In `@README.md` at line 286, Update the README entry for the "snitch" link: locate
the list item containing "[snitch](https://github.com/spectresystems/snitch)"
and replace the current inaccurate description that mentions unused references
with the correct wording indicating it finds duplicate transitive package
references (e.g., change the description to ".NET tool to find duplicate
transitive package references."). Ensure the updated line keeps the same link
text and formatting.

@LeadstarlingX LeadstarlingX changed the title Add sntich to Code Analysis and Metrics section Add snitch to Code Analysis and Metrics section Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants