CrestApps.OrchardCore.AgentSkills
1.0.0-beta-0010
dotnet add package CrestApps.OrchardCore.AgentSkills --version 1.0.0-beta-0010
NuGet\Install-Package CrestApps.OrchardCore.AgentSkills -Version 1.0.0-beta-0010
<PackageReference Include="CrestApps.OrchardCore.AgentSkills" Version="1.0.0-beta-0010"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="CrestApps.OrchardCore.AgentSkills" Version="1.0.0-beta-0010" />
<PackageReference Include="CrestApps.OrchardCore.AgentSkills"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add CrestApps.OrchardCore.AgentSkills --version 1.0.0-beta-0010
#r "nuget: CrestApps.OrchardCore.AgentSkills, 1.0.0-beta-0010"
#:package CrestApps.OrchardCore.AgentSkills@1.0.0-beta-0010
#addin nuget:?package=CrestApps.OrchardCore.AgentSkills&version=1.0.0-beta-0010&prerelease
#tool nuget:?package=CrestApps.OrchardCore.AgentSkills&version=1.0.0-beta-0010&prerelease
CrestApps.OrchardCore.AgentSkills
A development-only NuGet package that distributes shared AI agent instruction and guardrail files for Orchard Core development.
When installed, agent skill files are automatically copied into the solution-root .agents/skills folder. There is no runtime dependency — this package is used purely for development and AI tooling guidance.
Role in CrestApps.AgentSkills
CrestApps.OrchardCore.AgentSkills is the Orchard Core design-time project in the CrestApps.AgentSkills repository. It solves the problem of keeping .agents/skills in sync by copying the packaged Orchard Core skills into your solution on build.
Install
dotnet add package CrestApps.OrchardCore.AgentSkills
dotnet build
Important: Run
dotnet buildafter installing or updating the package. The.agents/skillsfolder is created on the first build after install/update. In Visual Studio, a design-time build fires automatically after package install, so the folder appears immediately.dotnet restorealone does not trigger the copy — this is a fundamental NuGet/MSBuild limitation where custom targets from packages cannot execute during restore.
How It Works
- Skills are packed inside the NuGet package under
skills/. - A
buildTransitive/MSBuild.targetsfile runsBeforeTargets="PrepareForBuild;CompileDesignTime". - On the first build after install, skills are copied to the solution root
.agents/skillsfolder. $(SolutionDir)is used when available (Visual Studio); otherwise walks up the directory tree looking forglobal.json,Directory.Build.props, or*.sln/*.slnxfiles to reliably find the solution root in any project nesting depth.SkipUnchangedFiles="false"— files are always overwritten so local edits never drift from the package version.- No compilation dependency — the copy runs before any C# code is compiled.
After the first build, the solution root will contain:
.agents/
skills/
orchardcore/
orchardcore.content-types/
orchardcore.modules/
orchardcore.recipes/
orchardcore.deployments/
orchardcore.ai/
...
Updating
dotnet add package CrestApps.OrchardCore.AgentSkills --version x.x.x
dotnet build
Files in .agents/skills are replaced with the latest version from the package on the next build.
⚠️ Warning
Warning: This package will always overwrite files in the
.agents/folder in your solution root. Any changes you make to files inside.agents/that were generated by this package will be lost when you build after installing or updating this NuGet package. Do not modify files added by this package inside.agents/. Treat them as read-only.
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.0-beta-0010 | 616 | 2/18/2026 | |
| 1.0.0-beta-0009 | 303 | 2/18/2026 | |
| 1.0.0-beta-0008 | 305 | 2/17/2026 | |
| 1.0.0-beta-0007 | 426 | 2/12/2026 | |
| 1.0.0-beta-0006 | 323 | 2/11/2026 | |
| 1.0.0-beta-0005 | 316 | 2/11/2026 | |
| 1.0.0-beta-0003 | 365 | 2/9/2026 | |
| 1.0.0-beta-0001 | 336 | 2/7/2026 |