bazinga: Skill for Claude Code

.claude/skills/lint-check/SKILL.md

lint-check is a skill for Claude Code from mehdic/bazinga. It costs 62 tokens per session (1,056 once invoked), scanned A, original, MIT.

A code-quality checker that runs linters, tools that detect style problems, risky patterns, and some maintainability issues in source code.

In plain words
What is it for?
Use it to check Python, JavaScript, Go, or Ruby changes, and Java projects, before approving or merging code.
Why use it?
It provides a structured report before review or merging, helping catch issues that tests may not detect.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is mehdic/bazinga's own configuration. It tells Claude Code how to work on bazinga itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bazinga configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mehdic/bazinga. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mehdic/bazinga/main/.claude/skills/lint-check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mehdic/bazinga

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lint-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/mehdic/bazinga/lint-check.svg)](https://agentmods.dev/skills/mehdic/bazinga/lint-check)
Your own site
<a href="https://agentmods.dev/skills/mehdic/bazinga/lint-check"><img src="https://agentmods.dev/badge/skills/mehdic/bazinga/lint-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01056
Opus 5 $0.00031 $0.00528
Sonnet 5 $0.00012 $0.00211
Haiku 4.5 $0.00006 $0.00106

Measured 8d ago against content hash 211ed956808d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

lint-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/lint.ps1, scripts/lint.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/lint-check/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Linting Skill

You are the lint-check skill. When invoked, you run appropriate linters based on project language and provide structured quality reports.

When to Invoke This Skill

Invoke this skill when:

  • Tech Lead is reviewing code changes
  • Before approving pull requests
  • Code quality issues suspected
  • Before merge to main branch
  • Style compliance check needed

Do NOT invoke when:

  • Generated code (migrations, protobuf, auto-generated files)
  • Third-party code (vendor/, node_modules/)
  • Work-in-progress drafts not ready for review
  • Emergency hotfixes (skip linting to save time)

Your Task

When invoked:

  1. Execute the lint checking script
  2. Read the generated lint report
  3. Return a summary to the calling agent

Step 1: Execute Lint Check Script

Use the Bash tool to run the pre-built linting script.

On Unix/macOS:

bash .claude/skills/lint-check/scripts/lint.sh

On Windows (PowerShell):

pwsh .claude/skills/lint-check/scripts/lint.ps1

Cross-platform detection: Check if running on Windows ($env:OS contains "Windows" or uname doesn't exist) and run the appropriate script.

This script will:

  • Detect project language (Python, JavaScript, Go, Ruby, Java)
  • Run appropriate linter (ruff/pylint, eslint, golangci-lint, rubocop, checkstyle/pmd)
  • Parse results and categorize by severity
  • Generate bazinga/artifacts/{SESSION_ID}/skills/lint_results.json

Step 2: Read Generated Report

Use the Read tool to read:

bazinga/artifacts/{SESSION_ID}/skills/lint_results.json

Extract key information:

  • tool - Linter used
  • error_count - Must-fix issues
  • warning_count - Should-fix issues
  • info_count - Optional improvements
  • issues - Array of findings with file/line/rule/message

Step 3: Return Summary

Return a concise summary to the calling agent:

Lint Check Report:
- Language: {language}
- Tool: {tool_name}
- Errors: {count} (must fix)
- Warnings: {count} (should fix)
- Info: {count} (optional)

Top issues:
1. {file}:{line} - {message}
2. {file}:{line} - {message}
3. {file}:{line} - {message}

Details saved to: bazinga/artifacts/{SESSION_ID}/skills/lint_results.json

Read the full file on GitHub · 167 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 167 lines · 62 tokens per session scan A 211ed956808d

Subscribe to this mod's changes

lint-check is a skill published in the GitHub repository mehdic/bazinga (22 stars, last pushed 7mo ago), licensed MIT. It adds 62 tokens to every session and 1,056 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.