add-node-type
OfficialDefine new node types for Cartography modules
Authorcartography-cncf
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Adds a new Cartography node schema to an existing module, enabling modeling of an additional resource type with proper relationships, required properties, and cleanup semantics.
Core Features & Use Cases
- Defines a CartographyNodeSchema and CartographyNodeProperties for a module that already exists
- Establishes a sub_resource_relationship to a tenant-like node (e.g., AWSAccount, AzureSubscription, GCPProject, GitHubOrganization)
- Supports extra_node_labels, conditional labels, and scoped_cleanup settings
- Enables one-to-many transforms and related edges, aligning with the module's ontology
- Guides end-to-end module extension or new module scaffolding for node types
Quick Start
Create and wire a new CartographyNodeSchema into your module, specifying the label, properties, sub_resource_relationship, and optional labels to tailor the ontology.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-node-type Download link: https://github.com/cartography-cncf/cartography/archive/main.zip#add-node-type Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.