用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill android-commit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
基于 SOC 职业分类
正在显示 SKILL.md
| name | android-commit |
| description | Create a commit with pre-commit checks and conventions. Use when this capability is needed. |
| metadata | {"author":"Adyen"} |
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 ..Source: Adyen/adyen-android — distributed by TomeVault.