All skillsValidate node and credential icon files exist, are SVG format, and light/dark icons are different (
Skillintermediate
Validate node and credential icon files exist, are SVG format, and light/dark icons are different (`@n8n/community-nodes/icon-validation`)
š¼ This rule is enabled in the following configs: ā `recommended`, āļø `recommendedWithoutN8nCloudSupport`.
Claude Code Knowledge Pack7/10/2026
Overview
Validate node and credential icon files exist, are SVG format, and light/dark icons are different (@n8n/community-nodes/icon-validation)
š¼ This rule is enabled in the following configs: ā
recommended, āļø recommendedWithoutN8nCloudSupport.
š” This rule is manually fixable by editor suggestions.
Rule Details
Validates that your node and credential icon files exist, are in SVG format, and use the correct file: protocol. Icons must be different files when providing light/dark theme variants.
Examples
ā Incorrect
description: INodeTypeDescription = {
displayName: 'My Node',
name: 'myNode',
icon: 'icons/my-icon.png', // Missing 'file:' prefix, wrong format
// ...
};
}
description: INodeTypeDescription = {
displayName: 'My Node',
name: 'myNode',
icon: {
light: 'file:icons/my-icon.svg',
dark: 'file:icons/my-icon.svg', // Same file for both themes
},
// ...
};
}
ā Correct
description: INodeTypeDescription = {
displayName: 'My Node',
name: 'myNode',
icon: 'file:icons/my-service.svg', // Correct format
// ...
};
}
description: INodeTypeDescription = {
displayName: 'My Node',
name: 'myNode',
icon: {
light: 'file:icons/my-service-light.svg',
dark: 'file:icons/my-service-dark.svg', // Different files
},
// ...
};
}