csv-to-source

Generate C source code for CAN signal parsing from CSV definitions.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Delay-n-days/dbcjson5 --skill csv-to-source
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: csv-to-source
Source: https://github.com/Delay-n-days/dbcjson5/tree/main/.github/skills/csv-to-source
Command: npx skills add https://github.com/Delay-n-days/dbcjson5 --skill csv-to-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires csv, json, typer, jinja2, rich, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of C source code for CAN protocol signal parsing, eliminating the need for manual coding and reducing the risk of errors.

Core Features & Use Cases

  • Automatic C Code Generation: Converts CAN protocol definitions from CSV files into C functions, data structures, and comments.
  • Signal Parsing: Handles numerical signal scaling/offset and boolean/enumerated signal logic.
  • Use Case: When you need to integrate CAN bus data into an embedded system, use this Skill to generate the necessary C code to decode messages based on your DBC file.

Quick Start

Use the csv-to-source skill to generate C code from the provided CAN protocol CSV file.

Frequently Asked Questions about csv-to-source

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate C code from a CAN bus CSV file?▼

This Skill generates C language source code for CAN protocol signal parsing from CSV definitions, automatically creating C functions, data structures, and comments. It eliminates manual coding by translating CAN communication protocols directly from your CSV file.

Can I parse CAN signal scaling and boolean logic from a CSV?▼

Yes, the Skill supports numerical signal scaling and offset processing, along with boolean signal conditional logic. It parses these definitions from your CSV file to generate the appropriate complex C data structures and parsing functions.

Does this tool convert DBC file data for embedded systems?▼

Yes, this Skill is applicable for embedded systems development. When you need to integrate CAN bus data into an embedded system, it generates the executable C code required to decode messages based on your DBC file data formatted as CSV.

What is the best way to automate CAN protocol parsing in C?▼

The best way to automate CAN protocol parsing in C is by converting CAN protocol definitions from CSV files into executable C code. This Skill automates the translation process, significantly reducing the risk of errors associated with manual coding.

What limitations exist when generating C code from CAN CSV protocols?▼

A key limitation is that your CAN protocol definitions must be formatted as CSV files. The generated C code specifically focuses on signal parsing, numerical scaling, offset processing, and boolean logic, and does not handle unrelated communication protocols.