Skip to main content

commit-and-pr

Creates Arena-conformant commits and pull requests. Enforces DCO sign-off (git commit -s), no AI attribution lines (no Co-Authored-By, no Generated-with-Claude footers), <username>/<type>/<short-description> branch naming, separate new commits rather than --amend when iterating on PR feedback, and main as the default base branch. Use when the user asks to commit, stage changes, push the current branch, open a pull request, make a PR, submit changes, or mark work as ready to merge.

소스 정보

저장소
isaac-sim/IsaacLab-Arena
최근 소스 활동
2026년 10월 5일 14:36
감지된 SKILL.md 언어
영어
스타
610
포크
113

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit-and-pr
description
Creates Arena-conformant commits and pull requests. Enforces DCO sign-off (git commit -s), no AI attribution lines (no Co-Authored-By, no Generated-with-Claude footers), <username>/<type>/<short-description> branch naming, separate new commits rather than --amend when iterating on PR feedback, and main as the default base branch. Use when the user asks to commit, stage changes, push the current branch, open a pull request, make a PR, submit changes, or mark work as ready to merge.
disable-model-invocation
true
allowed-tools
Read Bash(git *) Bash(pre-commit *) Bash(gh pr create *) Bash(gh pr view *)
# Commit and Pull Request Creates commits and PRs that follow Arena's contributor guidelines. ## Commit 1. Run the `pre-commit-check` skill (or `pre-commit run --all-files` on the host — pre-commit is not installed in the container) until the working tree is clean. Do not commit through hook failures. 2. Stage **specific files** rather than using `git add -A` — this avoids accidentally committing dotfiles, credentials, or large untracked artifacts. 3. Sign off the commit (per `CONTRIBUTING.md` — Arena currently requires DCO sign-off; the policy is on the books but not yet CI-enforced): ```bash git commit -s -m "<subject>" ``` 4. **Subject line:** imperative mood, ~50 characters, no trailing period. - Good: `Fix attribute access on wrapped env` - Bad: `Fixed the attribute access on the wrapped env.` (past tense, trailing period) 5. **Body** (when needed): blank line after the subject, wrap at 72 chars, explain *what* and *why* — not *how* (the diff shows that). 6. **No AI attribution lines.** Do not include `Co-Authored-By: Claude...`, `Generated with Claude Code`, or similar footers. The DCO sign-off is the only required trailer. Use a heredoc for multi-paragraph messages so quoting stays clean: ```bash git commit -s -m "$(cat <<'EOF' <subject> <body paragraph 1> <body paragraph 2> EOF )" ``` ## Branch Branch naming: `<username>/<type>/<short-description>` where `<type>` is one of `feature`, `fix`, `docs`, `refactor`, `chore`, `ci`, and `<short-description>` is kebab-case. Examples: `<username>/feature/video-recording`, `<username>/fix/experiment-runner-teardown`, `<username>/docs/update-readme`. Do not use top-level type prefixes that omit the username (e.g. `feature/foo`, `fix/bar`). ## Pull request 1. Push the branch (set upstream on first push): ```bash git push -u origin <branch-name> ``` 2. Open the PR against `main` (the active branch): ```bash gh pr create --base main \ --title "<short imperative subject>" \ --body "<see body format below>" ``` 3. PR title follows the same rules as a commit subject: imperative, ~70 chars max, no trailing period. 4. Read `.github/pull_request_template.md` before writing a PR description and follow its guidance. ## Iterating on review feedback When addressing review comments, **add new commits**. Do not `--amend` and force-push, because reviewers need to see each round of changes as a discrete commit. ```bash # good git commit -s -m "Address review: rename foo to bar" git push # avoid git commit --amend git push --force ``` The exception: if a single commit is *purely* a typo fix in your own as-yet-unmerged work and no one has reviewed it, `--amend` is fine. ## Verify Before declaring the work done: ```bash gh pr view --json title,baseRefName ``` Confirm: - `baseRefName` is `main`. - Title has no trailing period and is in imperative mood.
GitHub에서 보기