with one click
pr
// Create a pull request for EmbodiChain following the project's PR template and conventions, including selecting proper GitHub repository labels
// Create a pull request for EmbodiChain following the project's PR template and conventions, including selecting proper GitHub repository labels
| name | pr |
| description | Create a pull request for EmbodiChain following the project's PR template and conventions, including selecting proper GitHub repository labels |
This skill guides you through creating a pull request that follows the EmbodiChain project's PR template and contribution guidelines.
Invoke this skill when:
First, check the current git status and changes:
git status
git diff HEAD
Based on the changes made, select one of these PR types:
Write a description that includes:
Before creating the PR, ensure code is formatted:
black .
If formatting changes were made, commit them first:
git add -A
git commit -m "Format code with black"
If not already on a feature branch:
git checkout -b <branch-name>
Recommended branch naming:
fix/<description> - for bug fixesfeat/<description> - for new featuresenhance/<description> - for enhancementsdocs/<description> - for documentation changesCommit with a clear message following conventional commits format:
git commit -m "type(scope): brief description
Detailed description of the change.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
git push -u origin <branch-name>
Use the gh CLI with the proper PR template:
gh pr create --title "<PR Title>" --body "<PR Body>"
After creating the PR, select proper labels from the repository label list and apply them.
First, list available labels:
gh label list
Then choose labels based on change type and scope. Typical mapping:
bugenhancementfeaturedocsphysics, robot, agent, dataset, dexsimApply labels to the PR:
gh pr edit <pr-number> --add-label "bug" --add-label "env"
If needed, remove incorrect labels:
gh pr edit <pr-number> --remove-label "<label-name>"
Use this template for the PR body:
## Description
<!-- Clear summary of the change -->
This PR [briefly describe what the PR does].
<!-- Include motivation and context if needed -->
[Add any relevant motivation and context here].
<!-- List dependencies if applicable -->
Dependencies: [list any dependencies required]
<!-- Reference the issue -->
Fixes #<issue-number>
## Type of change
<!-- Select one and delete the others -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (non-breaking change which improves an existing functionality)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (existing functionality will not work without user modification)
- [ ] Documentation update
## Screenshots
<!-- Attach before/after screenshots if applicable -->
## Checklist
- [x] I have run the `black .` command to format the code base.
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] Dependencies have been updated, if applicable.
š¤ Generated with [Claude Code](https://claude.com/claude-code)
| Command | Purpose |
|---|---|
git status | Check current state |
git diff HEAD | Show changes |
black . | Format code |
git checkout -b branch-name | Create branch |
git push -u origin branch | Push to remote |
gh pr create | Create PR |
gh label list | List repository labels |
gh pr edit <pr-number> --add-label ... | Apply labels to PR |
Use when adding a new observation, event, reward, action, dataset, or randomization functor to an EmbodiChain environment
Use when adding a new observation, event, reward, action, dataset, or randomization functor to an EmbodiChain environment
Use when creating a new task environment for EmbodiChain, including expert demonstration tasks, RL tasks or any EmbodiedEnv subclass
Use when writing tests for EmbodiChain modules, including observation functors, reward functors, solvers, sensors, environments, or any Python module
Write benchmark scripts for EmbodiChain modules following project conventions
Use before committing or creating a PR for EmbodiChain to verify code style, headers, annotations, exports, and docstrings pass CI checks