Agent skill
protocol-analyzer
Serial protocol analysis and debugging for common embedded interfaces (I2C, SPI, UART)
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/embedded-systems/skills/protocol-analyzer
SKILL.md
Protocol Analyzer Skill
Overview
This skill provides serial protocol analysis and debugging capabilities for common embedded communication interfaces including I2C, SPI, and UART.
Capabilities
I2C Analysis
- Bus address detection and scanning
- Transaction decoding and timing
- NACK handling and error detection
- Multi-master arbitration analysis
- Clock stretching detection
- 7-bit and 10-bit addressing
- Fast mode and fast mode plus support
SPI Analysis
- Transaction decoding
- Mode configuration (CPOL/CPHA)
- Clock frequency analysis
- Chip select timing verification
- Full-duplex data capture
- Multi-slave configurations
UART Analysis
- Frame analysis and decoding
- Baud rate auto-detection
- Parity and stop bit verification
- Flow control analysis (RTS/CTS)
- Break condition detection
- Error frame identification
Timing Analysis
- Setup and hold time verification
- Clock frequency measurement
- Inter-frame timing analysis
- Protocol timing compliance
- Glitch and noise detection
Integration
- Saleae Logic analyzer integration
- Sigrok/PulseView support
- Protocol decoder libraries
- Export to standard formats
Target Processes
device-driver-development.js- Driver debugging and validationhardware-bring-up.js- Initial communication verificationsignal-integrity-testing.js- Protocol signal analysisbsp-development.js- BSP communication testing
Dependencies
- Logic analyzer software (Saleae Logic, Sigrok)
- Protocol decoder libraries
- Logic analyzer hardware
Usage Context
This skill is invoked when tasks require:
- Serial protocol debugging
- Communication timing verification
- Bus error diagnosis
- Protocol compliance testing
- Multi-device communication analysis
Protocol Configurations
I2C Standard Settings
i2c:
mode: standard | fast | fast_plus | high_speed
addressing: 7bit | 10bit
clock_stretching: enabled | disabled
SPI Mode Settings
spi:
mode: 0 | 1 | 2 | 3 # CPOL/CPHA combinations
bit_order: msb_first | lsb_first
word_size: 8 | 16 | 32
UART Settings
uart:
baud_rate: 9600 | 115200 | etc.
data_bits: 7 | 8 | 9
parity: none | even | odd
stop_bits: 1 | 2
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?