roboticspatterns

Provide a robotics design patterns guide to help AI agents follow professional design conventions and best practices.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "roboticspatterns" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-25e5d926aec44439e67be2ea313c2038f6eba50c17f156906a99396470802aa8. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/robotics-design-patterns-fczx before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Provide a robotics design patterns guide to help AI agents follow professional design conventions and best practices.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Every robot system follows this layered architecture, regardless of complexity:
Audience
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
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter

name: Robotics设计Patterns
slug: robotics-design-patterns
version: 1.0.0
displayName: Robotics设计Patterns
description: >
  Robotics设计Patterns指南,帮助AI Agent遵循专业设计规范和最佳实践。
summary: "Robotics设计Patterns指南,帮助AI Agent遵循专业设计规范和最佳实践。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

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

Every robot system follows this layered architecture, regardless of complexity:

┌─────────────────────────────────────────────┐
│               APPLICATION LAYER              │
│    Mission planning, task allocation, UI     │
├─────────────────────────────────────────────┤
│              BEHAVIORAL LAYER                │
│  Behavior trees, FSMs, decision-making       │
├─────────────────────────────────────────────┤
│             FUNCTIONAL LAYER                 │
│  Perception, Planning, Control, Estimation   │
├─────────────────────────────────────────────┤
│           COMMUNICATION LAYER                │
│     ROS2, DDS, shared memory, IPC            │
├─────────────────────────────────────────────┤
│          HARDWARE ABSTRACTION LAYER          │
│    Drivers, sensor interfaces, actuators     │
├─────────────────────────────────────────────┤
│              HARDWARE LAYER                  │
│    Cameras, LiDARs, motors, grippers, IMUs   │
└─────────────────────────────────────────────┘

Design Rule: Information flows UP through perception, decisions flow DOWN through control. Never let the application layer directly command hardware.

Pattern 2: Behavior Trees (BT)

Behavior trees are the recommended default for robot decision-making. They're modular, reusable, and easier to debug than FSMs for complex behaviors.

Core Node Types

Sequence (→)     : Execute children left-to-right, FAIL on first failure
Fallback (?)     : Execute children left-to-right, SUCCEED on first success
Parallel (⇉)     : Execute all children simultaneously
Decorator        : Modify a single child's behavior
Action (leaf)    : Execute a robot action
Condition (leaf) : Check a condition (no side effects)

Example: Pick-and-Place BT


                    → Sequence
                   /    |      \
            → Check     → Pick     → Place
           /    \      /   |  \     /  |  \
       Battery  Obj  Open  Move  Close Move Open Release
       OK?    Found? Grip  To
(截断)

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供机器人软件架构的完整分层模型,覆盖从硬件到应用层
  • 深入讲解行为树模式,包含节点类型定义和实际示例
  • 涵盖多机器人系统、实时性权衡等高级工程考量
Trigger Precision90/100

Highlights

  • When to Use 章节明确列出8个具体应用场景
  • 触发词专业且精准,如'behavior trees', 'hardware abstraction layers'
  • description 清晰说明目标用户和价值主张
Structure and Standards65/100

Areas to improve

  • description内容截断 Reported severity: Major

    Behavior Tree 示例在 'Release\n(截断)' 处被截断,影响内容完整性

    Recommendation: 补全 Behavior Tree 示例代码,确保文档内容完整

Highlights

  • 文档结构清晰,分 Pattern 组织内容
  • 每个模式包含设计规则和可视化架构图
  • frontmatter 元数据完整规范
Execution Reliability90/100

Highlights

  • 作为架构指南,提供的是经过验证的工程最佳实践
  • 信息准确,引用通用机器人开发标准
  • 无执行风险,适合作为开发者参考工具
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.