mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 21:09:41 +08:00
1.1 KiB
1.1 KiB
name, description, argument-hint, allowed-tools
| name | description | argument-hint | allowed-tools |
|---|---|---|---|
| pr | Create a pull request with conventional commit title and description | [optional: target branch or description] | Bash, Read, Glob, Grep |
PX4 Pull Request
No Claude attribution anywhere (no Co-Authored-By, no "Generated with Claude").
Follow CONTRIBUTING.md for full project conventions.
Steps
- Check branch. If on
main, create a feature branch. Use<username>/<description>format where<username>comes fromgh api user --jq .login. If unavailable, just use<description>. - Gather context:
git status,git log --oneline main..HEAD,git diff main...HEAD --stat, check if remote tracking branch exists. - PR title:
type(scope): description— under 72 chars, describes the overall change across all commits. This becomes the squash-merge commit message. - PR body: brief summary + bullet points for key changes. No filler.
- Push with
-uif needed, thengh pr create. Default base ismainunless user says otherwise. - Return the PR URL.
If the user provided arguments, use them as context: $ARGUMENTS