一键导入
lint-build-test
How to check code by linting, building, and testing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to check code by linting, building, and testing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.
Use the MetaMask tools to request and interact with wallet capabilities from the MetaMask capability vendor.
Run the evm-wallet Docker e2e tests (build, start stack, wait for healthy, test, diagnose failures).
Creates a pull request for the current branch.
Updates changelogs for all packages with consumer-facing changes.
Use the wallet tools for all balance, send, and sign operations. Supports both ETH and ERC-20 tokens. The away wallet operates autonomously after setup — the home device does not need to be online.
| name | lint-build-test |
| description | How to check code by linting, building, and testing. |
When asked to check, lint, build, or test code, follow these steps:
First, check which files have changed using git status or git diff --name-only.
Categorize the changes:
.ts, .js, .mts, .mjs, .cjs, .cts, .tsx, .jsx.md, .yml, .yaml, .json, .htmlBased on the changed files:
yarn lint:misc --write (or yarn workspace <package-name> lint:misc --write for a specific package).If a package name is specified (e.g. @metamask/ocap-kernel):
yarn workspace <package-name> lint:fixyarn workspace <package-name> buildyarn workspace <package-name> test:dev:quietIf no package is specified:
yarn lint:fixyarn buildyarn test:dev:quietReport any errors encountered during these steps.