BeClaude

ros2-workspace

New
8Community RegistryDevelopmentby Masaya Kataoka · MIT

Complete ROS 2 workspace management with intelligent build/test automation, ccache support, and smart package selection

First seen 5/22/2026

Summary

This skill streamlines ROS 2 workspace management by automating colcon builds and tests, integrating ccache for faster rebuilds, and intelligently selecting packages to build or test based on changes.

  • It saves developers time and reduces manual effort in complex multi-package workspaces.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install ros2-workspace@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Build only the packages that have changed since the last build, skipping unchanged ones.
Run tests for a specific ROS 2 package and its dependencies after making code changes.
Set up and configure ccache to accelerate repeated builds of large ROS 2 workspaces.
Automatically detect and build all packages in a workspace with a single command.
Clean build artifacts for selected packages without affecting others in the workspace.
Generate a build graph to visualize package dependencies and build order.

Usage Examples

1

/ros2-workspace build --changed-only

2

/ros2-workspace test my_robot_pkg

3

/ros2-workspace build --with-ccache

View source on GitHub
testingros2roboticscolconbuildtestworkspaceautomation

Security Audits

LicensePassSourceWarnRepositoryPass

Frequently Asked Questions

What is ros2-workspace?

This skill streamlines ROS 2 workspace management by automating colcon builds and tests, integrating ccache for faster rebuilds, and intelligently selecting packages to build or test based on changes. It saves developers time and reduces manual effort in complex multi-package workspaces.

How to install ros2-workspace?

To install ros2-workspace: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install ros2-workspace@<marketplace>. Finally, /plugin in Claude Code.

What is ros2-workspace best for?

ros2-workspace is a plugin categorized under Development. It is designed for: testing, ros2, robotics, colcon, build, test, workspace, automation. Created by Masaya Kataoka.

What can I use ros2-workspace for?

ros2-workspace is useful for: Build only the packages that have changed since the last build, skipping unchanged ones.; Run tests for a specific ROS 2 package and its dependencies after making code changes.; Set up and configure ccache to accelerate repeated builds of large ROS 2 workspaces.; Automatically detect and build all packages in a workspace with a single command.; Clean build artifacts for selected packages without affecting others in the workspace.; Generate a build graph to visualize package dependencies and build order..