agentleFS
broneqbroneq/bdk/skills/bdk-lint-tools/SKILL.md

bdk-lint-tools

Skill1 starsChanged 48 days agoMITView on GitHub

Project-configured lint/format/typecheck commands from .bdk/settings.json. Preloaded into agents that run static analysis; not user-facing.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the line above reads run the project's linter/formatter, .bdk/settings.json is not configured — emit one warning line [bdk] …

    line 12

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Lint/format/typecheck command(s) for this project, one block per tier:

!python3 ${CLAUDE_PLUGIN_ROOT}/scripts/get_settings.py lint-tools

If the line above reads run the project's linter/formatter, .bdk/settings.json is not configured — emit one warning line [bdk] .bdk/settings.json not configured — run /bdk:setup then detect from project files and proceed under the same policy below. Prefer a project script (bin/cleanup.sh, a Makefile lint target) when one exists and you had to detect.

Pick the form, not just the command

Each block names a tier and the forms of the same command. {files} is a placeholder: replace it with the space-separated paths you were given, quoted.

TierGiven a file listNo file list
lint, formatscoped — these tools take paths natively, so a whole-project sweep on a three-file change is pure waste.full
typecheckincremental — a typechecker resolves the whole program, so a path list buys little; the cache is what makes a repeat run cheap. Fall back to full if no incremental form is configured.incremental, else full

The incremental form's cache (.tsbuildinfo and equivalents) survives between runs in the same worktree, so the second and later checks of a run pay only for the delta. Do not delete it between checks.

If a lint/format block has no scoped form, derive one by appending the paths the tool accepts (<full> -- {files} for an npm/yarn/pnpm script, a bare path list for most direct binaries) and say in your report that you derived it, so the settings get fixed once instead of re-derived forever.

Scope policy

  • Given file paths, check those paths. Per task, per group, and per fix cycle you get a file list — use it. Findings outside the list are out of scope; do not widen the run to go looking for them.
  • Non-executable content gate. If every path you were given is yaml/md/json/plain config not feeding build or codegen: skip typecheck entirely, and run lint/format scoped only if the tool supports those file types - otherwise report nothing to verify for these paths: <list>. Build-feeding config (tsconfig, lockfiles, codegen schemas) counts as source: when the source partition is empty, typecheck must not run.
  • The unscoped whole-project sweep belongs to the end-of-run gate, or to a caller who explicitly asked for it.
  • Report the exact command you ran (form and substituted paths) with the findings, so a caller can tell what was actually covered.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.