Structures Autodesk Revit API code: enforces API boundaries, document/transaction lifetime, thread affinity, and conversion of Revit objects to plain models before crossing service boundaries.
Ships in revit-api. 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.
Restrict Revit API types to Revit-aware projects, manage document and transaction lifetime explicitly, and convert Revit objects to plain models before they cross the boundary of a Revit-aware project.
Nice3point.Revit.Extensions fluent wrappers over raw Revit calls (revit-element-and-parameter-access, revit-element-collector, revit-utils-extensions).Nice3point.Revit.Toolkit context, options, and callbacks over recreating their contracts.| Pitfall | Correct approach |
|---|---|
| A Revit type on a message contract or serialized model | Convert to a plain model inside the Revit-aware boundary. |
| A transaction spanning unrelated work | Limit each transaction to one model change. |
| A local helper duplicating a Nice3point extension | Use the existing extension; add a local one only when none fits. |
What SKILL.md sets; muted values are Claude Code's defaults
/revit-api:revit-code-stylefrom revit-api
npx claudepluginhub nice3point/revit-skills --plugin revit-api7 skills in this plugin
/revit-api-option-handlersSupply small Autodesk Revit API callback interfaces with Nice3point.Revit.Toolkit ready-made handlers, not hand-rolled classes. USE FOR: passing IFamilyLoadOptions, IDuplicateTypeNamesHandler, or ISaveSharedCoordinatesCallback to a Revit API call. DO NOT USE FOR: constraining what a user can pick in an interactive selection, or building a dockable pane's UI element.
/revit-element-and-parameter-accessRead and write Autodesk Revit elements and parameters with the Nice3point.Revit.Extensions fluent accessors. USE FOR: finding an Element by ElementId, finding a parameter by BuiltInParameter/ParameterTypeId/Guid/name, reading its typed value, setting it, and converting internal units. DO NOT USE FOR: querying the model for a set of elements (use revit-element-collector).
/revit-element-collectorQuery the Revit model with the Nice3point.Revit.Extensions fluent FilteredElementCollector wrappers; filter with Revit's parameter filters, not by loading elements and filtering with LINQ. USE FOR: writing or reviewing element queries that filter by class, category, or parameter value and return the first match, a count, or the full set. DO NOT USE FOR: reading or setting parameters on an element already retrieved (use revit-element-and-parameter-access).
/revit-extensible-storagePersist add-in data inside the Revit document with Extensible Storage, laid out as a data class, a schema definition, and a typed context per stored subject. USE FOR: storing custom data on a document or on an element, defining or evolving a schema, choosing the element that stores the data, and finding the elements that contain it. DO NOT USE FOR: reading or writing values the user sees as element parameters (use revit-element-and-parameter-access).
/revit-failure-handlingSuppress expected Autodesk Revit warnings and failures during a bounded API operation with Nice3point.Revit.Toolkit RevitApiContext. USE FOR: auto-resolving or auto-cancelling a known failure that would otherwise block opening a document, loading a family, or committing a transaction. DO NOT USE FOR: suppressing UI dialogs that are not failures (use RevitContext.BeginDialogSuppressionScope), or running API work from outside the Revit API context (use a Toolkit external event).
/revit-utils-extensionsReplace verbose Autodesk Revit *Utils static calls, static managers, and hand-written enum/id conversions with Nice3point.Revit.Extensions fluent extensions. USE FOR: any call to a SomeUtils.Operation(…) or any other static Revit API helper, any conversion or formatting of a Revit value, and any iteration of a Revit array, set, or map. DO NOT USE FOR: querying the model for elements (use revit-element-collector), or reading and writing element parameters (use revit-element-and-parameter-access).
Other plugins' skills for the same job