home / skills / zeeshan080 / ai-native-robotics / urdf-templates
This skill helps you generate and validate URDF templates, ensuring safety annotations, joint limits, and inertial data for reliable robotics simulations.
npx playbooks add skill zeeshan080/ai-native-robotics --skill urdf-templatesReview the files below or copy the command above to add this skill to your agents.
---
name: urdf-templates
description: URDF structure templates and validation patterns for robotics content. Use when creating robot descriptions, validating URDF files, or teaching URDF concepts.
allowed-tools: Read, Grep
---
# URDF Templates
## Instructions
When working with URDF files:
1. Use the provided templates as starting points
2. Validate against the checklist in validation.md
3. Include safety annotations for joint limits
4. Add comments explaining each section
## Template Selection
| Robot Type | Template | Use Case |
|------------|----------|----------|
| Mobile Robot | mobile-robot.urdf | Wheeled robots, differential drive |
| Humanoid Base | humanoid-base.urdf | Bipedal robots, upper body |
## URDF Structure Overview
```xml
<robot name="robot_name">
<!-- Links define physical parts -->
<link name="base_link">
<visual>...</visual>
<collision>...</collision>
<inertial>...</inertial>
</link>
<!-- Joints connect links -->
<joint name="joint_name" type="revolute">
<parent link="parent_link"/>
<child link="child_link"/>
<limit lower="-1.57" upper="1.57" effort="100" velocity="1.0"/>
</joint>
</robot>
```
## Safety Requirements
1. **Always specify joint limits** - Never leave limits undefined
2. **Include inertial properties** - Required for physics simulation
3. **Add collision geometry** - Required for safe simulation
4. **Document mass values** - Use realistic values
## Reference
See [validation.md](validation.md) for validation rules.
See [templates/](templates/) for complete templates.
This skill provides URDF structure templates and validation patterns tailored for robotics content. It bundles starter templates for mobile and humanoid robots, a compact URDF structure guide, and a concise safety checklist to ensure simulation-ready descriptions. Use it to speed up robot model authoring and to enforce minimal validation rules for physics and safety.
The skill supplies ready-to-edit URDF templates and a checklist that inspects key elements: links, joints, inertial properties, collision geometry, and joint limits. It flags missing or unsafe configurations and recommends corrective actions, such as adding inertial blocks, defining limits, or correcting mass values. Templates include commented examples so authors can adapt parts and joints quickly.
Do templates include both visual and collision geometry?
Yes. Templates separate visual and collision tags and recommend using simplified collision meshes.
What if I don’t have inertial data?
Estimate inertial properties from realistic mass and approximate geometry, but avoid leaving them empty; the templates show minimal inertial blocks to fill.