[software] 添加16DOF早期训练仿真与Sim2Real闭环
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
allowed-tools: Bash(git checkout --branch:*), Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(gh pr create:*)
|
||||
description: Commit, push, and open a PR
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
- Current git status: !`git status`
|
||||
- Current git diff (staged and unstaged changes): !`git diff HEAD`
|
||||
- Current branch: !`git branch --show-current`
|
||||
|
||||
## Your task
|
||||
|
||||
Based on the above changes:
|
||||
1. Create a new branch if on main
|
||||
2. Create a single commit with an appropriate message
|
||||
3. Push the branch to origin
|
||||
4. Create a pull request using `gh pr create`
|
||||
5. You have the capability to call multiple tools in a single response. You MUST do all of the above in a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
allowed-tools: Bash(uv lock), Bash(git checkout:*), Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(gh pr create:*), Edit, Read
|
||||
description: Update the mujoco-warp dependency to a given commit
|
||||
---
|
||||
|
||||
Update the mujoco-warp dependency to commit $ARGUMENTS.
|
||||
|
||||
Steps:
|
||||
1. Read `pyproject.toml` and find the `mujoco-warp` line under `[tool.uv.sources]`.
|
||||
2. Use Edit to replace the current `rev = "..."` value with `rev = "$ARGUMENTS"` on that line.
|
||||
3. Run `uv lock` to regenerate the lockfile.
|
||||
4. Create and switch to a new branch named `update-mjwarp/<first-8-chars-of-hash>` (e.g. `update-mjwarp/e28c6038`).
|
||||
5. Stage `pyproject.toml` and `uv.lock`, then commit with message: `Update mujoco-warp to <first-8-chars-of-hash>`.
|
||||
6. Push the branch and open a PR with title `Update mujoco-warp to <first-8-chars-of-hash>`.
|
||||
|
||||
Important:
|
||||
- The commit hash is required. If `$ARGUMENTS` is empty, ask the user for a commit hash.
|
||||
- Do NOT modify anything else in `pyproject.toml`.
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(make:*)",
|
||||
"Bash(uv run:*)",
|
||||
"Bash(uv lock:*)",
|
||||
"Bash(uv sync:*)",
|
||||
"Bash(uv add:*)",
|
||||
"Bash(git:*)",
|
||||
"Bash(gh:*)",
|
||||
"WebSearch",
|
||||
"Skill(commit-push-pr)",
|
||||
"Skill(pr-review-toolkit:review-pr)"
|
||||
]
|
||||
},
|
||||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Write|Edit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "uv run ruff format"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"enabledPlugins": {
|
||||
"code-simplifier@claude-plugins-official": true,
|
||||
"pr-review-toolkit@claude-plugins-official": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user