packages-and-dependencies
Skill13 starsChanged 10 days agoMITView on GitHub
How NuGet packages are managed with Central Package Management and a monthly update, and which packages are not allowed. Use when adding, updating or removing a package.
4 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- LeanMeanCleanApps/CleanLambdaFunctionword for word, first seen Nov 15, 2026
- LeanMeanCleanApps/CleanWebApiword for word, first seen Nov 15, 2026
- LeanMeanCleanApps/CleanMinimalApiword for word, first seen Nov 15, 2026
- LeanMeanCleanApps/CleanModelContextProtocoledited, first seen Nov 8, 2026
Other versions4 projects use a version of this.
Word for word · 3
- LeanMeanCleanApps/CleanMinimalApi★ 400100% same
- LeanMeanCleanApps/CleanWebApi★ 4100% same
- LeanMeanCleanApps/CleanLambdaFunction★ 0100% same
Edited · 1
- LeanMeanCleanApps/CleanModelContextProtocol★ 185% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-a-use-caseSkill
- api-conventionsSkill
- branches-and-pull-requestsSkill
- cancellationSkill
- ci-for-your-solutionSkill
- ci-pipelineSkill
- clean-architecture-layersSkill
- configuration-and-environmentsSkill
- coverageSkill
- csharp-house-styleSkill
- data-access-ef-coreSkill
- database-migrationsSkill
- dataloadersSkill
- docker-and-composeSkill
- docs-and-voiceSkill
- errors-and-exceptionsSkill
- expose-a-use-caseSkill
- family-syncSkill
- health-checksSkill
- integration-testsSkill
- mapping-with-mapperlySkill
- mediatorSkill
- nitroSkill
- optional-token-authSkill
- pagingSkill
- presentation-integration-testsSkill
- releasesSkill
- sample-dataSkill
- schema-snapshotSkill
- security-findingsSkill
- serilogSkill
- telemetrySkill
- template-authoringSkill
- test-designSkill
- time-providerSkill
- unit-testsSkill
- validationSkill
- writing-a-skillSkill
- xml-docs-and-openapiSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Look for something already in the solution or in the .NET base libraries first.
- Distinctive: line 17
Check the licence. MIT, Apache 2.0 and BSD are fine.
- Very specific: line 18
Add <PackageVersion Include="Name" Version="x.y.z" /> to Directory.Packages.props, in alphabetical order.
- Very specific: line 19
Add <PackageReference Include="Name" /> (no version) to the project that needs it.
- Very specific: line 25
Put Version= on a PackageReference.
- Very specific: line 26
Add MediatR, MassTransit (v9 and later), AutoMapper, FluentAssertions (v8 and later), or any other library that moved to a commercial …
- Distinctive: line 27
Add a package to quiet a warning or save a few lines.
- Distinctive: line 28
Update one package on its own between the monthly updates unless it fixes a vulnerability.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Packages and dependencies
The rule
Versions live in one file, Directory.Packages.props, and project files only name the package. Packages are updated once a month, all together in one pull request. If the repository has .github/dependabot.yml, Dependabot opens that pull request. If it doesn't, update by hand: dotnet list package --outdated lists what's behind. Every package must be free and open source, with no paid or commercial licence tier.
Steps
- Look for something already in the solution or in the .NET base libraries first.
- Check the licence. MIT, Apache 2.0 and BSD are fine. Anything that needs a paid licence for some users is out.
- Add
<PackageVersion Include="Name" Version="x.y.z" />toDirectory.Packages.props, in alphabetical order. - Add
<PackageReference Include="Name" />(no version) to the project that needs it. Analysers and build-only tools getPrivateAssetsall. - A package used by Application or Infrastructure is shared code; in the template repository it must be added to all five templates.
- Build and test. The pipeline's dependency review fails on known vulnerabilities and disallowed licences.
Don't
- Put
Version=on aPackageReference. - Add MediatR, MassTransit (v9 and later), AutoMapper, FluentAssertions (v8 and later), or any other library that moved to a commercial licence. Use
Mediator,Riok.MapperlyandShouldly. - Add a package to quiet a warning or save a few lines.
- Update one package on its own between the monthly updates unless it fixes a vulnerability.
Check
dotnet restore
dotnet build
dotnet list package --vulnerable
dotnet list package --outdatedDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

