소스 정보
- 저장소
- PX4/PX4-Autopilot
- 최근 소스 활동
- 2026년 3월 18일 15:59
- 감지된 SKILL.md 언어
- 영어
- 스타
- 12,429
- 포크
- 15,870
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/PX4/PX4-Autopilot --skill rebase-onto-main명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Create a conventional commit for PX4 changes
Create a pull request with conventional commit title and description
Substance-focused review of a PX4 pull request — merit, first-principles correctness, architecture fit. Produces a debrief for the user and a draft review comment.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | rebase-onto-main |
| description | Rebase a branch onto main, handling squash-merged parent branches cleanly |
| argument-hint | [optional: branch name, defaults to current branch] |
| allowed-tools | Bash, Read, Glob, Grep, Agent |
Rebase the current (or specified) branch onto main, correctly handling the case where the branch was built on top of another branch that has since been squash-merged into main.
When a parent branch is squash-merged, its individual commits become a single new commit on main with a different hash. A normal git rebase main will try to replay the parent's original commits, causing messy conflicts. The fix is to cherry-pick only the commits unique to this branch onto a fresh branch from main.
Identify the branch. Use $ARGUMENTS if provided, otherwise use the current branch.
Fetch and update main:
git fetch origin main:main
Find the merge base between the branch and main:
git merge-base <branch> main
List all commits on the branch since the merge base:
git log --oneline <merge-base>..<branch>
Identify which commits are unique to this branch vs. inherited from a parent branch. Look for:
main that correspond to a group of commits at the bottom of the branch's history (check PR titles, commit message keywords).git rebase main and skip the rest.Create a fresh branch from main:
git checkout -b <branch>-rebase main
Cherry-pick only the unique commits (oldest first):
git cherry-pick <first-unique-commit>^..<branch>
The A^..B range means "from the parent of A through B inclusive."
Handle conflicts if any arise during cherry-pick. Resolve and git cherry-pick --continue.
Replace the old branch:
git branch -m <branch> <branch>-old
git branch -m <branch>-rebase <branch>
Verify the result:
git log --oneline main..<branch>
Confirm only the expected commits are present.
Ask the user before force-pushing. When approved:
git push origin <branch> --force-with-lease
Clean up the old branch:
git branch -D <branch>-old