with one click
android-commit
Create a commit with pre-commit checks and conventions.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a commit with pre-commit checks and conventions.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | android-commit |
| description | Create a commit with pre-commit checks and conventions. |
Create a verified, properly formatted commit for the Adyen Android SDK.
Invoke this skill after completing a phase of work and you are ready to commit. This skill runs pre-commit checks, then creates the commit following project conventions.
Check the current branch with git rev-parse --abbrev-ref HEAD. If the current branch is main or v5, stop immediately and warn the user. Never commit directly to main or v5. Suggest using the android-branch-create skill to create a feature/fix/chore branch first.
Also ensure the branch is up to date with its upstream branch. If behind, pull the latest changes before proceeding.
Use the android-check skill (.agents/skills/android-check.md) to run verification checks. Scope the checks to the modules that have changes.
If checks fail: Do not proceed to committing.
Run git status and git diff to understand what will be committed. Present a brief summary of changed files to the user.
Ask the user for the ticket number (format: COSDK-XXXX). If the user has already provided a ticket number earlier in the session, reuse it — if necessary, confirm with the user that the same ticket applies.
Stage only the specific files that were modified and are necessary for the commit. Never use git add -A or git add .. Use git add <file1> <file2> ... for individual files.
Include any .api files if they were updated (e.g., after running apiDump for intentional public API changes).
Run git diff --cached to review the staged diff for:
.env values or sensitive configurationIf anything sensitive is found: Stop immediately and warn the user. Do not commit.
Format:
Short imperative description of the change.
COSDK-XXXX
Show the user:
Ask for approval before executing the commit. If the user wants changes, adjust and re-confirm.
Run git commit -m "..." with the approved message.
Confirm the commit was created successfully by running git log --oneline -1.
git add -A or git add ..Plan and execute the migration of a v5 payment method to the v6 component architecture.
Create a branch with correct prefix and base.
Run compile, lint, and unit test checks.
Create a draft PR with title, body, and checklist.