devcheck

Lint, format, typecheck, and verify the project is clean. Use after making changes, before committing, or when the user asks to verify quality.

What It Runs

bun run devcheck runs a broader check suite than just lint + types. By default it includes local hygiene checks, MCP definition linting, Biome, TypeScript, and slow dependency/security checks unless --fast is passed. Tests are opt-in via --test.

CheckToolNotes
TODOs / FIXMEsgit grepFails on tracked TODO/FIXME markers outside excluded files
Tracked secretsgit ls-filesFlags tracked .env, keys, credentials, and similar sensitive files
MCP definitionsbun run scripts/lint-mcp.tsValidates tool/resource/prompt definitions against framework rules
Biomebiome checkUnified lint + format — read-only by default
TypeScripttsc --noEmitFull project type check
Unused dependenciesdepcheckRuns by default; network-free but slower on large repos
Security auditbun auditRuns by default unless --fast or --no-audit
Outdated dependenciesbun outdatedRuns by default unless --fast or --no-deps
Testsvitest runOff by default; enable with bun run devcheck --test

To auto-fix lint/format issues, run bun run format.

Steps

  1. Run bun run devcheck
  2. Read the failing checks in the summary and per-check output
  3. Fix the reported issues
  4. Re-run bun run devcheck until clean
  5. If the change touches runtime behavior, also run bun run devcheck --test or bun run test
  6. Do not consider this skill complete until the required commands exit successfully with no errors

Common Issues

CheckError TypeTypical Fix
TODOs / FIXMEsTracked work markersResolve or remove the marker before committing
Tracked secretsSensitive files in gitAdd to .gitignore and remove from the index
MCP definitionsDefinition lint errorsFix schema/name/annotation issues reported by lint-mcp
BiomeLint/format errorsRun bun run format to auto-fix, or address the flagged rule manually
TypeScriptType errorsFix type mismatches, missing properties, incorrect generics
Security auditVulnerabilities in direct depsUpdate or replace the affected dependency
Outdated depsStale package versionsRun bun update or allowlist intentionally pinned packages

Checklist

  • bun run devcheck exits with no errors
  • Tests run when needed (bun run devcheck --test or bun run test)