用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill api-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | api-review |
| description | Use when working with a skill to review pending work for API design compliance in the |
| metadata | {"author":"androidx"} |
This skill provides instructions for evaluating pending work (e.g., a local git branch or CL) to ensure that any new or modified Public APIs comply with AndroidX/Jetpack API guidelines.
When the user asks for their pending work to be reviewed for API design, follow these steps:
updateApi)First, run the updateApi task to ensure all recent changes are accurately
reflected in the API tracking files (e.g., current.txt or
restricted_current.txt). This catches any new modifications that haven't been
tracked yet.
./gradlew updateApi
appcompat-resources in the appcompat
group)
./gradlew :appcompat:appcompat-resources:updateApi
./gradlew :compose:module:updateAbiNative
Note: Use the single module command if the user's changes are scoped to a specific module to save time.
After running the command, you will perform the API review over all pending
changes in the API .txt files. This includes changes that updateApi just
added, as well as any changes that were already pending in those files.
Once the changed API signatures are identified in the .txt files (or from
pending changes to those .txt files in the current work), you must apply
the corresponding API design guidelines to evaluate them:
docs/api_guidelines/compose/
directory), you must also evaluate against:
docs/api_guidelines/compose_api_guidelines/Produce an explanation for the user on how their pending APIs comply with the relevant guidelines.
Source: androidx/androidx — distributed by TomeVault.