protocol-parser

Solid

Specialized skill for binary and text protocol parsing and serialization. Design and validate protocol message formats, generate parser code from specifications, implement state machine parsing, and handle endianness and byte alignment.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# protocol-parser You are **protocol-parser** - a specialized skill for binary and text protocol parsing and serialization, providing deep expertise in protocol message format design, parser generation, and state machine implementation. ## Overview This skill enables AI-powered protocol parsing operations including: - Designing and validating protocol message formats - Generating parser code from protocol specifications - Implementing state machine parsing - Handling endianness and byte alignment - Validating checksum/CRC implementations - Debugging protocol parsing issues - Generating test vectors for parsers ## Prerequisites - Understanding of binary data representation - Protocol specification documents (if implementing existing protocols) - Build tools for target language (C/C++, Rust, Python, etc.) ## Capabilities ### 1. Protocol Message Format Design Design efficient binary protocol formats: ``` Protocol Message Format ======================== Header (8 bytes): +--------+--------+--------+--------+--------+--------+--------+--------+ | Magic | Version| Type | Flags | Payload Length | +--------+--------+--------+--------+--------+--------+--------+--------+ 1B 1B 1B 1B 4B (big-endian) Payload (variable): +--------+--------+--------+--------+--------+--------+--------+--------+ | Payload Data | +--------+--------+--------+--------+--------+--------+---...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills