Borrowing it
Nothing to install: this file belongs to mpolatcan/codehub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mpolatcan/codehub/main/.claude/skills/lint-fix/SKILL.mdgit clone --depth 1 https://github.com/mpolatcan/codehubWrote 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.
[](https://agentmods.dev/skills/mpolatcan/codehub/lint-fix)<a href="https://agentmods.dev/skills/mpolatcan/codehub/lint-fix"><img src="https://agentmods.dev/badge/skills/mpolatcan/codehub/lint-fix/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mpolatcan/codehub/lint-fix"><img src="https://agentmods.dev/badge/skills/mpolatcan/codehub/lint-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00985 |
| Opus 5.5 | $0.00022 | $0.00394 |
| Sonnet 5.5 | $0.00011 | $0.00197 |
| Haiku 4.5 | $0.00005 | $0.00098 |
Grade A, and why
lint-fix 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 2mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lint + fix
CodeHub uses Biome for the frontend (TypeScript, JavaScript, CSS, JSON, import organisation) and the standard rustfmt + clippy pair for the Rust backend. Both are configured at repo root.
Frontend — Biome
Biome is one binary, one config (biome.json), no plugins.
Check (no writes)
npm run check # Format + lint + import organize, report only
npm run lint # Lint only
Auto-fix
npm run check:fix # Format + safe lint fixes + import organize, in place
npm run lint:fix # Lint auto-fixes only
npm run format # Formatter only
Biome's --write is conservative — it only applies fixes flagged as safe. Unsafe rules surface as remaining diagnostics; resolve those by hand.
Type check (separate from lint)
npm run typecheck # tsc --noEmit, catches type errors Biome can't see
Backend — Rust
Format
cd src-tauri
cargo fmt --all # write
cargo fmt --all -- --check # report only (use in CI)
rustfmt.toml lives in src-tauri/ and pins edition, line width, and import reordering.
Clippy
cd src-tauri
cargo clippy --all-targets --all-features -- -D warnings
-D warnings upgrades every clippy lint to a hard error — matches the strictness we want for releases. During iteration you can drop -D warnings to keep going while you sweep.
Clippy auto-fix for the lints that support it:
cargo clippy --all-targets --all-features --fix --allow-dirty --allow-staged
--allow-dirty lets clippy modify uncommitted files. --allow-staged lets it modify files that are staged but not committed.
One-shot full sweep
The Makefile wraps both pipelines:
make check # Biome + tsc + rustfmt --check + clippy -D warnings (no writes)
make fix # Apply all safe auto-fixes, then re-run make check
make fix does Biome safe fixes → cargo fmt → cargo clippy --fix (allow-dirty / allow-staged) → re-run make check to confirm the sweep is idempotent. If the final check fails, the remaining issues need manual judgement.
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.
- 2mo ago First seen · 102 lines · 54 tokens per session scan A 6b641fbf7f7b
lint-fix is a skill published in the GitHub repository mpolatcan/codehub (6 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 985 once invoked, about $0.0002 per session on Opus 5.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-31.
Other skills, from other repositories
logging-patterns
Java logging best practices with SLF4J, structured logging (JSON), and MDC for request tracing. Includes AI-friendly log formats for Claude Code debugging. Use when user asks about logging, debugging application flow, or analyzing logs.
observability
Periodic health sweep of the running system via the debug pipeline (cloud logs / k8s / daemon / DB slices). On a real anomaly, open a bug task (--kind workitem) carrying the evidence refs so it re-enters the bugfix loop. A healthy sweep opens NO task — never fabricate a bug.
prismer-python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
impact-trace
For a change point (function / type / endpoint / SQL column), enumerate its real blast radius across six dimensions with a grep citation per row, then derive the regression test scope. Every impact-table row must trace to a real search hit — never a self-asserted claim.
temps-plugin
Design, build, test, and distribute external Temps plugins with TypeScript/Bun; provide development and local-testing guidance for existing Rust plugins. Use for creating a plugin, adding an embedded console UI or deployment-event automation, testing host permissions and AI, installing from GitHub, or submitting a…
files-inspect
Inspect, download, upload, and debug Kurtosis file artifacts. View artifacts in an enclave, download them locally for inspection, upload local files, and troubleshoot file mounting issues. Use when services can't find expected files or configs are wrong.