robotics-conventions
Skill4 starsChanged 34 days agoCC0-1.0View on GitHub
Robotics and robot-learning code conventions. Use when handling frames, units, axes, signs, quaternions, URDFs, sim-to-real, RL/IL policies, kinematics, hardware, visualization, or data pipelines.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- berkeley-humanoids/skillsword for word, first seen Oct 9, 2026
Other versions1 project uses a version of this.
Word for word · 1
- berkeley-humanoids/skills★ 4100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- clean-codingSkill
- github-workflowSkill
- grounded-researchSkill
- paper-figuresSkill
- pixi-workspaceSkill
- research-code-validationSkill
- ros2-conventionsSkill
- ste-writingSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Prefer explicit names in variables, methods, classes, and configs.
- Very specific: line 9
Use _left / _right, not _l / _r.
- Distinctive: line 10
Avoid ambiguous abbreviations unless they are standard in robotics.
- Distinctive: line 12
Use SI units everywhere: meters, seconds, radians, kilograms, Newtons, and Newton-meters.
- Very specific: line 16
Use scalar-first quaternion order: (qw, qx, qy, qz).
- Very specific: line 20
Use REP-103 robot frames: x forward, y left, z up, right-handed.
- Distinctive: line 22
Prefer realigning CAD assets or motion data during export, not patching frame conversions in runtime code.
- Distinctive: line 36
Keep the ordering defined in one source of truth and reference it everywhere.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Robotics Conventions
- Prefer explicit names in variables, methods, classes, and configs.
- Use
_left/_right, not_l/_r. - Avoid ambiguous abbreviations unless they are standard in robotics.
- Use
- Use SI units everywhere: meters, seconds, radians, kilograms, Newtons, and Newton-meters.
- Non-SI values are only allowed at third-party, UI, logging, or hardware API boundaries.
- Mark non-SI variables with suffixes such as
_deg,_ms,_mm.
- Use scalar-first quaternion order:
(qw, qx, qy, qz).- Normalize quaternions before storing or applying them.
- Convert explicitly at library/message boundaries when another order is required (e.g. in ROS 2).
- Use REP-103 robot frames:
xforward,yleft,zup, right-handed.- Blender and Onshape use
yforward,zup. - Prefer realigning CAD assets or motion data during export, not patching frame conversions in runtime code.
- Blender and Onshape use
- Training environment setup should follow this order:
CommandObservationActionMetricsRewardsTerminationsEventsCurriculum
- Robot joint ordering should follow a depth-first body traversal.
- Example: left arm shoulder-to-hand, right arm shoulder-to-hand, left leg hip-to-foot, right leg hip-to-foot.
- Keep the ordering defined in one source of truth and reference it everywhere.
- For ROS 2 or ros2_control code, use the
ros2-conventionsskill. - Prefer environment managers:
uvfor Python environments.pixifor C/C++ and ROS 2 environments.
- Preferred data formats:
.mcapfor raw data recording, especially when interfacing with C/C++ code.LeRobotDataset/.parquetfor training datasets stored as Hugging Face dataset repositories..rblfor saved Rerun visualizations that combine.mcapdata with a Rerun layout.
- Preferred visualization tools:
- Rerun for multimodal data visualization, especially when it needs custom Blueprint panels.
- Viser for motion and pose visualization only.
- MuJoCo for physics-based interactive visualization.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

