Adds Autodesk Revit API assembly references using Nice3point NuGet packages. Avoids local DLL paths and ensures cross-version builds.
Ships in revit-solution. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The Nice3point.Revit.Api.* NuGet packages contain the Revit API assemblies.
A project compiles for any Revit year without that year installed locally.
A local file (HintPath) reference binds the build to one installed version at one path, and the build fails on CI and on other developer machines.
RevitAPI, RevitAPIUI, or another Revit-targeting assembly.<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*" />
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*" />
<PackageReference Include="Nice3point.Revit.Extensions" Version="2025.0.0" Condition="$(RevitVersion) == '2025'" />
<PackageReference Include="Nice3point.Revit.Extensions" Version="2026.0.0" Condition="$(RevitVersion) == '2026'" />
<PackageReference Include="Nice3point.Revit.Extensions" Version="2027.0.0" Condition="$(RevitVersion) == '2027'" />
The $(RevitVersion).* wildcard resolves the assembly set for the active configuration.
$(RevitVersion) is supplied by the Nice3point.Revit.Sdk, which derives it from the build configuration (for example Release.R27 → 2027) — see revit-sdk-project-configuration.
The $(RevitVersion).* wildcard applies to the built-in API dependencies.
These packages rarely contain breaking changes within a major version.
Every other dependency takes an exact package version.
A floating version on such a dependency breaks the build when the package is updated.
With central package management, pin the version in Directory.Packages.props.
Do not add a local file reference — it requires that exact Revit version at that exact path on every build machine:
<!-- BAD -->
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2027\RevitAPI.dll</HintPath>
</Reference>
Assemblies ship as Nice3point.Revit.Api.* with RevitAPI, RevitAPIUI, RevitAPIIFC, AdWindows, UIFramework, and more.
Check the Nice3point.Revit.Api.* packages before adding any assembly reference; only request a new one if it does not exist.
Restore and build on a machine (or CI) with no Revit installed.
Nice3point.Revit.Api.* packages.HintPath/local-file reference to a Revit DLL remains.$(RevitVersion).* wildcard (or central package management).| Pitfall | Correct approach |
|---|---|
<HintPath> to an installed Revit DLL | Use Nice3point.Revit.Api.* with $(RevitVersion).*. |
| A fixed API version that breaks other years | Use the $(RevitVersion).* wildcard. |
| An external NuGet package targets a floating version | Use the exact package version. |
| Copying a Revit DLL into the repo | Reference the NuGet package. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
revit-api, nuget, assembly-reference, nice3point, revit-addin
/revit-solution:revit-api-referencesfrom revit-solution
npx claudepluginhub nice3point/revit-skills --plugin revit-solution10 skills in this plugin
/revit-addin-bundlePackage a versioned Autodesk Revit add-in as an Autodesk App Store bundle with the Nice3point.Revit.Templates ModularPipelines build. USE FOR: setting the bundle vendor metadata and version, and running the build to produce a versioned .bundle with per-Revit-year contents for App Store distribution. DO NOT USE FOR: per-build deploy or publish to a local Revit (use revit-addin-publishing), or launching and debugging (use revit-addin-debugging).
/revit-addin-debuggingConfigure an Autodesk Revit add-in project's IDE launch of the matching Revit with the debugger attached, using the Nice3point.Revit.Sdk launch properties. USE FOR: setting up a project where a debug session launches the matching Revit and breaks in the add-in, overriding the Revit path or start arguments, and preserving Hot Reload while debugging. DO NOT USE FOR: copying built files to the Revit add-ins folder (use revit-addin-publishing), dependency isolation or repacking (use revit-dependency-isolation).
/revit-addin-publishingConfigure an Autodesk Revit add-in project to copy the add-in, .addin manifest to the local Revit or a `bin/publish` folder, using the Nice3point.Revit.Sdk publish targets. USE FOR: setting up a project for publishing, bundling extra content into the output, and relying on per-version manifest patching. DO NOT USE FOR: launching and debugging the add-in from the IDE (use revit-addin-debugging), dependency isolation or repacking (use revit-dependency-isolation), or packaging a versioned App Store bundle (use revit-addin-bundle).
/revit-assembly-resolutionRedirect Autodesk Revit add-in assembly resolution to a plugin folder with Nice3point.Revit.Toolkit. USE FOR: fixing a FileNotFoundException when loading a WPF window or third-party dependency Revit cannot resolve, or pinning which folder a bounded load resolves from. DO NOT USE FOR: entry points derived from the Toolkit base classes (ExternalCommand, ExternalApplication, ExternalDBApplication), or preventing two add-ins' dependency versions from colliding process-wide (use revit-dependency-isolation).
/revit-dependency-isolationPrevent Autodesk Revit add-in dependency conflicts with AssemblyLoadContext isolation (Revit 2027+) or ILRepack repacking (legacy). USE FOR: resolving crashes caused by two add-ins loading different versions of the same dependency, by isolating the add-in's assemblies. DO NOT USE FOR: resolving a missing dependency at load time (use revit-assembly-resolution).
/revit-multi-version-configurationSupport multiple Autodesk Revit versions in one project with Debug.RNN/Release.RNN configurations and REVIT#### conditional compilation. USE FOR: declaring the supported-version matrix, adding or removing a version, and writing #if REVIT####_OR_GREATER branches for genuine API differences. DO NOT USE FOR: what the SDK derives per version (use revit-sdk-project-configuration), or referencing the Revit API packages (use revit-api-references).
Other plugins' skills for the same job