/autoware-harness:awh-interface-msg-formatfrom autoware-harness
Validates .msg, .srv, and .action files for ROS 2 nodes against Autoware's style guidelines, covering filenames, field comments, naming conventions, units, arrays, and constants.
Ships in autoware-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Refer to the latest document as the single source of truth.
The rest of this document describes how to validate each item.
Check following items for target files and report them in bullet points style.
Each filename must be in PascalCase.
If a message exists solely to wrap an array of another message type, append Array to the filename.
DetectedObjectArray.msg # plural wrapper: contains DetectedObject[] objects
If a file header is provided, it should briefly state what the message represents and link to external documentation or resources that provide additional context.
Every field must have a comment block immediately above it (no empty line between the comment and the field).
(required) or (optional).
optional: include # default: <value> on a separate comment line.# e.g. <value> to show an example value.Every field name must be in snake_case.
When a field uses the default unit for its physical dimension, do not add any unit suffix to the field name.
| Dimension | Default unit | Bad example | Good example |
|---|---|---|---|
| Distance | m | path_length_m | path_length |
| Angular accel | rad/s² | angular_accel_radps2 | angular_accel |
When a field intentionally uses a non-default unit, append exactly the suffix from the table below.
| Dimension | Unit | Approved suffix | Bad alternatives |
|---|---|---|---|
| Distance | nanometer | _nm | _nanometer |
| Velocity | km/h | _kmph | _km_h, _kmh, _kph |
The unit identifier must appear at the end of the field name.
float32 kmph_velocity_vehicle # BAD — unit is a prefix
float32 velocity_vehicle_kmph # GOOD — unit is a suffix
type[]), not bounded arrays (type[N]).[N] when the size is a hard physical constraint (e.g. a 4×4 matrix represented as float64[16]).DetectedObject[] objects # GOOD
DetectedObject[5] objects # BAD — avoid unless physically fixed size
CONSTANT_CASE (all uppercase, words separated by underscores, no leading or trailing underscore).# comment explaining its meaning.# Object classification constants
# Object class is unknown or could not be determined
uint8 OBJECT_UNKNOWN = 0
What SKILL.md sets; muted values are Claude Code's defaults
Plan), in the backgroundThree short reads, in order
ros2, autoware, message-files, style-validation, coding-guidelines
Other plugins' skills for the same job
npx claudepluginhub autowarefoundation/autoware-harness --plugin autoware-harness4 skills in this plugin
/awh-build-colconUse this skill when building an Autoware workspace with colcon (for example "build Autoware", "build only this package").
Provides the default build command and guidance for choosing options (package selection, build type, parallelism).
Pass the target packages as the argument. If none is given, build the whole workspace.
/awh-build-fix-colconUse this skill when a `colcon build` has failed and the cause needs to be identified and fixed (for example "colcon build failed", "fix the build error", "package X does not build").
Provides the steps to find the error in the build logs or in the summary from the `/awh-build-colcon` skill, classify it, and apply known fixes.
Pass the failed package names or the error log path as the argument. If none is given, inspect `log/latest`.
/awh-meta-self-updateUse this skill when the user asks to update, upgrade, or check for a new version of the autoware-harness plugin itself
(for example "update the harness", "is there a newer version of this plugin?").
It gives the in-session command for the coding agent hosting the session.