Applies behavior trees, state machines, hardware abstraction, safety patterns, sensor fusion, and sim-to-real architecture.
---
name: robotics-design-patterns
description: >
Architecture patterns, design principles, and proven recipes for building robust robotics software.
Use this skill when designing robot software architectures, choosing between behavioral frameworks,
structuring perception-planning-control pipelines, implementing state machines, designing safety
systems, or architecting multi-robot systems. Trigger whenever the user mentions behavior trees,
finite state machines, subsumption architecture, sensor fusion, robot safety, watchdogs, heartbeats,
graceful degradation, hardware abstraction layers, real-time constraints, or software architecture
for robots. Also applies to sim-to-real transfer, digital twins, and robot fleet management.
---
# Robotics Design Patterns
## When to Use This Skill
- Designing robot software architecture from scratch
- Choosing between behavior trees, FSMs, or hybrid approaches
- Structuring perception → planning → control pipelines
- Implementing safety systems and watchdogs
- Building hardware abstraction layers (HAL)
- Designing for sim-to-real transfer
- Architecting multi-robot / fleet systems
- Making real-time vs. non-real-time tradeoffs
## Pattern 1: The Robot Software Stack… load the full skill through Skill Me