robotics-design-patterns

Provide architecture patterns for robotics software systems using BTs and FSMs.

334|45|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/arpitg1304/robotics-agent-skills --skill robotics-design-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: robotics-design-patterns
Source: https://github.com/arpitg1304/robotics-agent-skills/tree/main/skills/robotics-design-patterns
Command: npx skills add https://github.com/arpitg1304/robotics-agent-skills --skill robotics-design-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing robust, modular robotics software architectures can be error-prone without proven patterns and guidelines.

Core Features & Use Cases

  • Behavioral patterns: BTs and FSMs with guidance on when to use each.
  • Architecture guidance: HAL separation, safety systems, perception-planning-control pipelines.
  • Anti-patterns: Common mistakes and how to avoid them in robotics projects.

Quick Start

Provide a high-level robotics software architecture using BTs, FSMs, HAL, and safety patterns for a warehouse robot.

Frequently Asked Questions about robotics-design-patterns

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

FAQPage Schema
When should I use behavior trees vs finite state machines in a robotics software architecture?

Behavior trees offer better modularity for complex robot behaviors, while finite state machines are simpler for linear state transitions. The skill provides decision criteria to evaluate your specific robotics architecture needs and choose the appropriate pattern.

How do I structure a perception-planning-control pipeline for a robot?

Structure the perception-planning-control pipeline by separating these stages into distinct modules with clear interfaces. This skill provides architecture patterns to define data flow and structurally decouple perception from planning and control execution.

What is a hardware abstraction layer (HAL) and how does it improve robot software?

A hardware abstraction layer (HAL) separates robot software logic from hardware-specific drivers. Implementing a HAL pattern isolates hardware dependencies, enabling code portability and easier hardware swaps without rewriting higher-level control systems.

What are common anti-patterns when designing safety systems for robotics?

Common robotics safety anti-patterns include tightly coupling safety logic with behavior trees and bypassing hardware abstraction layers. This skill identifies these mistakes and provides architectural patterns to safely isolate and implement robot safety systems.

How do I prepare a robot software architecture for sim-to-real deployment?

Prepare for sim-to-real deployment by structuring your robot software stack with strict hardware abstraction layers and modular perception-planning-control pipelines. This skill provides architecture patterns to bridge the gap between simulation and real hardware deployment.