Guides ROS 2 development with rclpy, rclcpp, DDS, QoS, lifecycle nodes, components, and Python launch.
---
name: ros2-development
description: >
Comprehensive best practices, design patterns, and common pitfalls for ROS2 (Robot Operating System 2)
development. Use this skill when building ROS2 nodes, packages, launch files, components, or debugging
ROS2 systems. Trigger whenever the user mentions ROS2, colcon, rclpy, rclcpp, DDS, QoS, lifecycle nodes,
managed nodes, ROS2 launch, ROS2 parameters, ROS2 actions, nav2, MoveIt2, micro-ROS, or any ROS2-era
robotics middleware. Also trigger for ROS2 workspace setup, DDS tuning, intra-process communication,
ROS2 security, or deploying ROS2 in production. Also trigger for colcon build issues, ament_cmake,
ament_python, CMakeLists.txt for ROS2, package.xml dependencies, rosdep, workspace overlays, custom
message generation, or ROS2 build troubleshooting. Covers Humble, Iron, Jazzy, and Rolling distributions.
---
# ROS2 Development Skill
## When to Use This Skill
- Building ROS2 packages, nodes, or component containers
- Setting up colcon workspaces, ament_cmake, or ament_python packages
- Writing CMakeLists.txt, package.xml, or setup.py for ROS2
- Defining custom messages, services, or actions
- Writing Python launch files with conditional logic
- Configuring DDS middleware and QoS profiles
- Implementing lifecycle (managed) nodes
- Working with Nav2, MoveIt2, or other ROS2 frameworks
- Debugging DDS discovery, QoS mismatches, or build failures… load the full skill through Skill Me