agentsclimarketplace

Lint overlay

Skill jacob-balslev/skill-graph/marketplace/skills/lint-overlay

Skills that know your codebase. Repo-grounded, contract-validated, agent-routable.

Install
npx -y skills add jacob-balslev/skill-graph --skill lint-overlay

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when adding or enforcing lint rules as part of a test or verification plan. Extends testing-strategy with lint-specific guidance: rule selection, gate placement, failure triage, and migration planning when introducing rules to an existing codebase. Do NOT use standalone — load the base testing-strategy skill alongside it — and do NOT use for chasing a specific lint failure in one file (that is debugging). Do NOT use for decide whether to unit-test or integration-test this handler. Do NOT use for extract this repeated code pattern into a shared util.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

9.7 KB, as published. Nobody here has run it

Lint Overlay

Concept of the skill

Use when adding or enforcing lint rules as part of a test or verification plan. Extends testing-strategy with lint-specific guidance: rule selection, gate placement, failure triage, and migration planning when introducing rules to an existing codebase.

Extends

This overlay extends testing-strategy. Load both skills whenever lint is part of a verification plan — this overlay alone is under-specified because it relies on the base skill's effort-to-risk framework for deciding which rules to enforce at all.

What this overlay adds on top of testing-strategy:

Concerntesting-strategy (base)lint-overlay (this skill)
What to verifyBehavior under real inputStatic properties of the source, independent of input
When to runAt the scope dictated by riskBefore unit tests, on changed files only (unless a global rule is at risk)
Failure meaningA regression in shipped behaviorA rule violation — block the merge, do not debug it in situ
Migration patternWrite tests for existing behavior onceIntroduce rules by pinning pre-change green state; fail only on new violations

What this overlay does NOT override from the base:

  • Effort-to-risk matching (base decides whether to lint before this decides how)
  • Evidence quality (lint output is evidence; the same "concrete, reproducible" rule applies)
  • Failure-case coverage (lint catches only the cases its rules know about; behavior tests still cover the rest)

Coverage

  • Lint as verification: when a lint step belongs in a test plan and when it is out of scope
  • Rule selection: choosing which lint rules to enforce based on the risk profile of the change
  • Lint-gate placement: where lint fits in the verification sequence relative to unit and integration tests
  • Failure triage: separating lint failures caused by the current change from pre-existing rule violations
  • Overlay discipline: what this skill adds on top of testing-strategy and what it intentionally leaves to the base

Philosophy of the skill

Lint is a verification signal, not a style opinion. A lint rule exists because a pattern has a measurable cost — a bug class, a readability drop, a maintenance drag — and the rule's job is to surface that cost early enough to fix it cheaply. Rules without that grounding are style preferences dressed up as gates, and style preferences should not block merges.

Three principles follow from that stance:

  • Enforce only rules that were green before the change. A new rule that fails 200 pre-existing files on its first run is not a test — it is a scope change. Pin the pre-change green state, fail only on new violations, and plan the cleanup as a separate migration track.
  • Lint failures are test failures, not advisory warnings. A rule that does not block the merge does not change behavior; it just adds noise to the log. Either the rule is worth a block or it is not a rule yet. "Warn-only" is a deployment mode for a migration window, not a permanent posture.
  • Lint scope matches test scope. Run lint on the files the change touches, not on the entire tree. The exception is a rule whose correctness is global (e.g., a no-circular-imports check that a local diff cannot detect) — those run tree-wide, deliberately, and their cost is acknowledged.

Overlay Rules

These rules augment (not replace) the testing-strategy base skill.

RuleWhen it appliesWhy
Lint runs after unit tests, before integration testsWhen the change touches logic and styleLint fails are cheap to fix; catching them before integration saves context
Only enforce rules that were green before the changeWhen introducing lint to an existing codebaseFail on regressions, not on pre-existing violations
Lint scope matches the test scopeWhen the diff is bounded to specific filesRun lint only on changed files unless a global rule is at risk
Lint failures are blocking, not advisoryWhen lint is part of the official CI gateA lint failure is a test failure; treat it the same way
New lint rules require a migration planWhen adding a rule that affects many existing filesAdding a rule that immediately fails 200 files is not a test — it is a scope change

Evals

This skill ships a comprehension-eval artifact at examples/evals/lint-overlay.json. Because this is an overlay, the eval prompts specifically test what the overlay adds on top of testing-strategy and what it deliberately leaves to the base. The eval file is how this skill is graded by scripts/skill-audit.js --graded.

Verification

After applying this skill, verify:

  • The task matches the declared scope, coverage, or positive examples.
  • The response follows this skill's workflow or checks instead of generic advice.
  • The exclusions in ## Do NOT Use When do not point to a better skill.

Do NOT Use When

Use insteadWhen
testing-strategy aloneLint is not in scope for this change — load only the base skill
debuggingThe task is chasing a specific lint failure in one file, not planning lint-gate strategy
refactorThe task is fixing accumulated lint debt as structural cleanup — refactor covers behavior preservation during the cleanup

Skill Graph context

<!-- skill-graph-context:start (generated — do not edit by hand) -->

Classification

  • Subject: quality-assurance
  • Public: true
  • Scope: Use when adding or enforcing lint rules as part of a test or verification plan. Extends testing-strategy with lint-specific guidance: rule selection, gate placement, failure triage, and migration planning when introducing rules to an existing codebase. Do NOT use standalone — load the base testing-strategy skill alongside it — and do NOT use for chasing a specific lint failure in one file (that is debugging).

When to use

  • plan ESLint rule introduction for a monorepo that has never had linting
  • which lint rules should block CI and which should warn-only for now?
  • migrate these legacy noImplicitAny violations in phased gates
  • decide whether this new rule runs pre-commit or in CI only
  • Triggers: lint-overlay

Not for

  • decide whether to unit-test or integration-test this handler
  • extract this repeated code pattern into a shared util

Related skills

  • Related: pattern-recognition, debugging, refactor, skill-infrastructure, problem-locating-solving

Grounding

  • Mode: hybrid
  • Truth sources: scripts/skill-lint.js, scripts/check-routing-config.js, scripts/skill-graph-routing-eval.js, examples/evals/lint-overlay.json, skills/quality-assurance/testing-strategy/SKILL.md

Keywords

  • lint, lint rules, new rule, pre-commit, CI only, lint integration, static analysis, eslint, noImplicitAny, phased lint rollout
<!-- skill-graph-context:end -->

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.