How to check code by linting, building, and testing.
81
—
Does it follow best practices?
Impact
93%
1.60xAverage score across 3 eval scenarios
Passed
No known issues
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.
03b6a62
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.