com um clique
pr
// Create a pull request following project conventions. Triggers on any request to create, open, make, submit, file, send, push, spin up, put up, draft, raise, or prepare a PR/pull request.
// Create a pull request following project conventions. Triggers on any request to create, open, make, submit, file, send, push, spin up, put up, draft, raise, or prepare a PR/pull request.
Run the Android AI Assistant headless smoke regression harness without launching UI.
Generate screenshot coverage for screen-level Compose previews from the current diff or a specific target, check required visual and data variations, and produce a compact visual report
Build, install, and visually verify the app on an Android emulator or device. Uses the Android CLI for agents (android) when available with a full mobile-mcp/adb fallback.
POS analytics tracking patterns (WooPosAnalyticsEvent sealed class, WooPosAnalyticsTracker, WooPosAnalyticsEventConstant). Use when writing, editing, exploring, debugging, or reviewing analytics tracking in POS (WooPos*) code. NOT for main store app — use the `store-analytics` skill instead.
POS unit testing patterns (WooPosCoroutineTestRule, runTest, advanceUntilIdle, mockito-kotlin, event bus mocking, analytics verification). Use when writing, editing, exploring, debugging, or reviewing unit tests for POS (WooPos*) code. NOT for main store app tests — use the `store-tests` skill instead.
Review code changes against project architecture, style, and conventions
| name | pr |
| description | Create a pull request following project conventions. Triggers on any request to create, open, make, submit, file, send, push, spin up, put up, draft, raise, or prepare a PR/pull request. |
| allowed-tools | Bash, Read, Grep, Glob |
| user-invocable | true |
Create a pull request following the project's PR conventions.
@docs/pull-request-guidelines.md
IMPORTANT: Follow ALL steps in order. Do not skip any step, even if the PR seems simple.
Verify branch. Confirm you are NOT on trunk. If on trunk, stop and ask the user to create a feature branch first.
Check for uncommitted changes. Run git status. If there are uncommitted changes, stop and ask the user whether to commit them first.
Analyze the diff. Run git diff trunk...HEAD to understand ALL changes that will be in the PR. Also run git log --oneline trunk..HEAD to see all commits.
Check diff size. Count non-test lines changed. If the diff is very large, mention it to the user.
Review changes. Scan for:
FIXME, !!, wildcard imports, or other violationsRELEASE-NOTES.txt needs updating (user-facing changes)Check RELEASE-NOTES.txt. If changes are user-facing, remind the user to update RELEASE-NOTES.txt. Use [Internal] for non-user-facing changes.
Push the branch. Run git push -u origin <branch-name>.
Create the PR. Read .github/PULL_REQUEST_TEMPLATE.md and use it as the body. Strip the HTML comments and fill in each section, following the conventions from the guidelines doc above:
Fixes WOOMOB-XYZ on its own line, then a self-contained summary of what changed and why.
./gradlew test* invocation) as a step — CI already runs them, so they add noise without helping the reviewer.N/A.Pass the filled template via a HEREDOC:
gh pr create --draft --title "[WOOMOB-XYZ] <concise title>" --body "$(cat <<'EOF'
<filled template content here>
EOF
)"
Add labels. Add labels using gh pr edit <number> --add-label "<label>". Infer labels from the diff and branch name using the categories in the guidelines. If unsure about feature label, ask the user.
Set milestone. Find the closest open milestone and assign it:
& interpretation):
gh api 'repos/{owner}/{repo}/milestones?state=open&sort=due_on&direction=asc'
due_on date that is still in the futuregh api repos/{owner}/{repo}/issues/{number} -X PATCH -F milestone={milestone_number}Report the PR URL to the user.
| Before | After | headers)<img src="url" width="400" />If gh pr edit fails with a GraphQL Projects (classic) error, fall back to the REST API:
gh api repos/{owner}/{repo}/pulls/{number} -X PATCH -f body='...'
gh api repos/{owner}/{repo}/pulls/{number} -X PATCH -f title='...'
gh api repos/{owner}/{repo}/issues/{number}/labels -X POST --input - <<< '{"labels":["label1","label2"]}'