ros2-engineering-skills

Source version: 1.9.1. See release notes and
release procedure.

Production-oriented ROS 2 engineering guidance for coding agents, with focused
references, static validators, regression tests, and multi-distribution CI.
The skill covers workspace and package design, executors, DDS QoS, lifecycle,
tf2, ros2_control, Nav2, MoveIt 2, perception, safety, runtime provenance, testing,
and deployment. It distinguishes a plausible explanation from observed behavior.
Why this exists
A syntactically correct ROS 2 answer can still be operationally wrong: changing
subscriber QoS without inspecting the publisher, editing an unused source YAML,
assuming a zero topic command stopped the hardware, or using another distro's API.
This skill routes work to relevant references and requires evidence for claims.
It is not a robot safety certification or a substitute for an operator.
Before / After
These are illustrative comparisons of the intended workflow, not measured model
outputs. Real paired evaluations require the captures described below.
Prompt: "My ROS 2 subscriber isn't receiving any sensor messages. Help me fix it."
| Without this skill | With this skill loaded |
|---|
# Guess at the fix before inspecting the live endpoints.
from rclpy.qos import qos_profile_sensor_data
sub = node.create_subscription(
Image, '/camera/image_raw',
callback, qos_profile_sensor_data)
Assumes the publisher exists, the type is correct, and QoS is the mismatch.
|
ros2 topic list
ros2 topic type /camera/image_raw
ros2 topic info /camera/image_raw -v
ros2 node list --no-daemon
# Only after endpoint inspection supports this diagnosis.
from rclpy.qos import qos_profile_sensor_data
sub = node.create_subscription(
Image, '/camera/image_raw',
callback, qos_profile_sensor_data)
Checks graph, type, namespace, and offered/requested QoS before changing code.
|
Prompt: "Create a C++ driver package for my LiDAR sensor."
| Without this skill | With this skill loaded |
|---|
my_lidar_driver/
├── src/main.cpp
├── CMakeLists.txt
└── package.xml
A bare node without explicit configuration, test, resource, or shutdown contracts.
|
my_lidar_driver/
├── include/my_lidar_driver/my_lidar_driver_node.hpp
├── src/my_lidar_driver_node.cpp
├── src/main.cpp
├── launch/bringup.launch.py
├── config/params.yaml
├── test/test_driver.cpp
├── test/test_bringup.py
├── CMakeLists.txt
└── package.xml
Chooses Node or LifecycleNode from resource ownership and supervision; declares
QoS, frames, timestamps, limits, dependencies, and distro-compatible tests.
|
Installation
Claude Code plugin
claude plugin marketplace add dbwls99706/ros2-engineering-skills
claude plugin install ros2-engineering@ros2-engineering-skills
Inside Claude Code the equivalent commands are:
/plugin marketplace add dbwls99706/ros2-engineering-skills
/plugin install ros2-engineering@ros2-engineering-skills
The plugin uses .claude-plugin/plugin.json, root SKILL.md, and
hooks/hooks.json. It provides a workspace check, PreToolUse checks and
advisory Stop reports. The hook command requires python3; it does not grant
tool permissions.