Install any skill in seconds. Free to start, no credit card required.
Get Started Free →gsd-build/lint
Lint and format code. Auto-detects ESLint, Biome, Prettier, or language-native formatters and runs them with auto-fix. Reports remaining issues with actionable suggestions.
Passed 7 of 14 test cases with the skill, and 7 of 14 without it.
and 1 more in the full report
3 fixed9 passed either way9 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Run code style verification on a Cargo workspace without modifying `src/lib.rs`. Which Rust formatting command should be executed?
| Checked | Without skill | With skill |
|---|---|---|
| Executes `cargo fmt -- --check` to check formatting without modifying files. | Missed | Passed |
The instructions your model reads when the skill loads.
<working_directory_awareness>
Before running any git or build command: check whether your dispatch context specifies a working directory (look for "Working directory:" in your initial prompt). If it does and pwd does not match it, prefix every git invocation with -C <that path> (e.g. git -C /path/to/worktree diff --name-only) and run linters/formatters with the explicit path argument. Linting the wrong directory is a silent failure mode.
</working_directory_awareness>
git diff --name-only and git diff --cached --name-only)./lint src/utils).--fix: Automatically apply safe fixes. Can be combined with a path (e.g., /lint src/ --fix).--fix without a path: Auto-fix changed files only.Parse the arguments before proceeding. If --fix is present, set fix mode. If a non-flag argument is present, treat it as the target path.
JavaScript/TypeScript Linters:
Biome — Look for biome.json or biome.jsonc in the project root.
npx @biomejs/biome check . (or --apply with --fix)npx @biomejs/biome format . (or --write with --fix)ESLint — Look for .eslintrc, .eslintrc.* (js, cjs, json, yml, yaml), eslint.config.* (js, mjs, cjs, ts, mts, cts), or an "eslintConfig" key in package.json.
npx eslint . (or --fix with --fix)package.json for the installed version. ESLint 9+ uses flat config (eslint.config.*).JavaScript/TypeScript Formatters (only if Biome was NOT detected):
.prettierrc, .prettierrc.*, prettier.config.*, or a "prettier" key in package.json.
npx prettier --check .npx prettier --write .Rust:
test cases passed, vs 7 / 14 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.