dbc-to-comment

Community

DBC to C comment JSON generator

AuthorDelay-n-days
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the conversion of CAN DBC files into C language-style comments in JSON format, streamlining the process of documenting CAN signals for embedded systems development.

Core Features & Use Cases

  • Signal Information Extraction: Parses DBC files to extract signal name, start bit, length, scale, offset, unit, and description.
  • C Comment Generation: Formats extracted signal data into a tab-separated C comment string.
  • JSON Output: Outputs the generated comments as a JSON array, suitable for integration into C codebases or documentation.
  • Use Case: Convert a complex automotive DBC file into a JSON file containing C-style comments for each signal, which can then be included in a C header file for easy reference by developers.

Quick Start

Use the dbc-to-comment skill to convert the file 'my_can_signals.dbc' into a JSON file with C-style comments.

Dependency Matrix

Required Modules

cantoolstyperrich

Components

scriptsreferences

💻 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: dbc-to-comment
Download link: https://github.com/Delay-n-days/dbcjson5/archive/main.zip#dbc-to-comment

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.