Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .agents/skills/packages-and-dependencies/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ Versions live in one file, `Directory.Packages.props`, and project files only na
2. Check the licence. MIT, Apache 2.0 and BSD are fine. Anything that needs a paid licence for some users is out.
3. Add `<PackageVersion Include="Name" Version="x.y.z" />` to `Directory.Packages.props`, in alphabetical order.
4. Add `<PackageReference Include="Name" />` (no version) to the project that needs it. Analysers and build-only tools get `PrivateAssets` `all`.
5. A package used by Application or Infrastructure is shared code; in the template repository it must be added to all five templates.
6. Build and test. The pipeline's dependency review fails on known vulnerabilities and disallowed licences.
5. Build and test. The pipeline's dependency review fails on known vulnerabilities and disallowed licences.
<!--#if (false) -->
6. A package used by Application or Infrastructure is shared code; in the template repository it must be added to all five templates.
<!--#endif -->

## Don't

Expand Down
Loading