robotics-testing-tsiu

Automate Robotics testing processes to assist AI agents in performing Robotics testing work.

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 "robotics-testing-tsiu" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-66983d56080b60477143713d2d9a23e030e0629a35cd5260795532c2502d10dc. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/robotics-testing-tsiu 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

Automate Robotics testing processes to assist AI agents in performing Robotics testing work.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
MORE tests at the bottom, FEWER at the top. Bottom = fast, cheap, deterministic. Top = slow, expensive, realistic. ```
Audience
Writing unit tests for ROS1/ROS2 nodes Setting up integration tests with launch_testing Mocking hardware (sensors, actuators) for CI/CD Building simulation-based test suites Testing perception pipelines with ground truth Validating trajectory planners and controllers Setting up CI/CD pipelines for robotics packages Debugging flaky tests in robotics systems
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter

name: Robotics测试
slug: robotics-testing
version: 1.0.0
displayName: Robotics测试
description: >
  自动化Robotics测试流程,帮助AI Agent进行Robotics测试工作。
summary: "自动化Robotics测试流程,帮助AI Agent进行Robotics测试工作。"
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 Testing Skill

When to Use This Skill

  • Writing unit tests for ROS1/ROS2 nodes
  • Setting up integration tests with launch_testing
  • Mocking hardware (sensors, actuators) for CI/CD
  • Building simulation-based test suites
  • Testing perception pipelines with ground truth
  • Validating trajectory planners and controllers
  • Setting up CI/CD pipelines for robotics packages
  • Debugging flaky tests in robotics systems

The Robotics Testing Pyramid

                    ╱╲
                   ╱  ╲        Field Tests
                  ╱    ╲       (Real robot, real environment)
                 ╱──────╲
                ╱        ╲     Hardware-in-the-Loop (HIL)
               ╱          ╲    (Real hardware, controlled environment)
              ╱────────────╲
             ╱              ╲   Simulation Tests
            ╱                ╲  (Full sim, realistic physics)
           ╱──────────────────╲
          ╱                    ╲  Integration Tests
         ╱                      ╲ (Multi-node, message passing)
        ╱────────────────────────╲
       ╱                          ╲ Unit Tests
      ╱____________________________╲ (Single function/class, fast, deterministic)

MORE tests at the bottom, FEWER at the top.
Bottom = fast, cheap, deterministic. Top = slow, expensive, realistic.

Unit Testing Patterns

Testing ROS2 Nodes with pytest


# test_perception_node.py
import pytest
import rclpy
from rclpy.node import Node
from sensor_msgs.msg import Image
from my_pkg.perception_node import PerceptionNode
import numpy as np

@pytest.fixture(scope='module')
def ros_context():
    """Initialize ROS2 context once per test module"""
    rclpy.init()
    yield
    rclpy.shutdown()

@pytest.fixture
def perception_node(ros_context):
    """Create a fresh perception node for each test"""
    node = PerceptionNode()
    yield node
    node.destroy_node()

@pytest.fixture
def test_image():
    """Generate a synthetic test image"""
    msg = Image()
    msg.height = 256
    msg.width = 256
    msg.encoding = 'rgb8'
    msg.step = 256 * 3
    msg.data = np.random.randint(0, 255, (256, 256, 3),
                                  dtype=np.uint8).tobytes()
    return msg

class TestPerceptionNode:

    def test_initialization(self, perception_node):
        """Node should initialize with correct default parameters"""
        assert perception_node.get_parameter('confidence_threshold').value == 0.7
        assert perception_node.get_parameter(
(截断)

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

  • 面向 ROS1/ROS2 开发者,提供单元测试、集成测试、硬件模拟、CI/CD 等实用能力
  • 覆盖 Robotics 测试金字塔全层级,从单元测试到实地测试均有指导
Trigger Precision90/100

Highlights

  • When to Use 章节列出 8 条具体触发场景,边界清晰
  • description 明确描述核心功能,易于用户识别适用场景
Structure and Standards70/100

Areas to improve

  • description内容截断 Reported severity: Major

    文档在 test_initialization 方法处被截断,未完成

    Recommendation: 请补全被截断的测试代码和后续章节内容

Highlights

  • 包含 When to Use、测试金字塔、单元测试模式等结构化章节
  • 提供端到端代码示例,便于开发者直接参考
Execution Reliability65/100

Areas to improve

  • 文档截断导致执行逻辑不完整 Reported severity: Major

    文档被截断,部分测试逻辑缺失,影响用户完整执行

    Recommendation: 请补全被截断的测试代码和后续章节内容

  • 异常处理未覆盖 Reported severity: Minor

    未覆盖 ROS context 初始化失败、消息序列化错误等常见异常

    Recommendation: 建议在测试示例中添加异常处理逻辑,提升健壮性

Highlights

  • 工具来源明确(ROS2、pytest),参数使用正确
  • 提供合成测试数据生成方法,便于快速上手
Evidence Verifiability (mean of the first four)78/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.

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