claude/skills/lint/SKILL.md
Run project linters (shellcheck, yamllint, jsonlint, prettier, eslint, clippy, etc.) and report findings. Use when the user says "lint", "check code quality", "run linters", "lint shell scripts", or wants to validate syntax/style in a project. Supports multi-language projects: shell, YAML, JSON, TOML, JavaScript, Python, Rust. Aggregates findings into a summary report with file/line references for easy fixing.
npx skillsauth add paulnsorensen/dotfiles lintInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run all configured linters in a project and report findings grouped by category.
This skill:
prek.toml, eslintrc, pylintrc, .shellcheckrc, etc..gitignore and linter configjust lint or /lintScan for linter configuration files:
| File | Linter | Scope |
|------|--------|-------|
| prek.toml | prek (multi-tool) | Built-in hooks: trailing-whitespace, YAML, JSON, TOML, shellcheck |
| .shellcheckrc | shellcheck | Shell scripts (.sh, .zsh, .bash) |
| .yamllint | yamllint | YAML files (.yaml, .yml) |
| eslintrc.json, .eslintrc.cjs | eslint | JavaScript/TypeScript |
| pyproject.toml (tool.pylint) | pylint | Python |
| Cargo.toml (clippy config) | clippy | Rust |
| .editorconfig | editorconfig-checker | General formatting |
Priority order (fail fast if core linters fail):
Filtering:
.gitignore and linter exclusionsGroup findings by linter and severity:
📋 LINT REPORT
❌ Critical (must fix):
shellcheck (zsh/core.zsh:42):
SC2155: Declare and assign separately
Fix: export VAR=$(cmd) → export VAR; VAR=$(cmd)
⚠️ Warnings (should fix):
yamllint (prek.toml:8):
line-length: line too long (105 > 100)
✅ Passed:
JSON validation
TOML syntax
Trailing whitespace
Report structure:
0 — All linters passed1 — Warnings found (non-blocking)2 — Errors found (blocking)# Run all linters
lint:
/lint
# Run linters and auto-fix where possible
lint-fix:
shellcheck --fix **/bin/* || true
prettier --write . || true
black . || true
cargo clippy --fix || true
# Strict lint (fail on warnings)
lint-strict:
/lint --strict
tools
Reconstruct what a past coding-agent session was doing so you can resume it — goal, files touched, last verified state, and the next step — by querying the session logs. Use when the user says "what was I working on", "recover that session", "reconstruct where I left off", "resume my last session", "what did that session change", "rebuild context from logs", or invokes /work-recovery. Report-only — it never scores or judges. Do NOT use for usage scoring (that is /skill-improver, /tool-efficiency, /prompt-analytics) or one-off interactive log queries (that is /session-analytics).
development
Curate this repo's hallouminate wiki (.hallouminate/wiki/, the repo:dotfiles:wiki corpus) — add or update architecture pages, per-harness docs, and gotchas. Use when the user says "update the wiki", "document this in the wiki", "refresh the harness docs", "add a wiki page", "curate the wiki", "the wiki is stale", or invokes /wiki-curator. Also use at session end to write back a non-obvious decision or gotcha worth preserving. Grounds the existing wiki first, follows one-topic-per-file conventions, verifies every external doc URL before writing, and reindexes. Do NOT use for general code search (that is cheez-search) or for editing AGENTS.md command reference.
tools
Audit how a tool, command, or MCP server is actually used across coding-agent sessions and produce calibrated recommendations — tool-vs-task fit, error forensics, fix recommendations, permission friction, MCP health, and token economics. Use when the user says "tool efficiency", "am I using X efficiently", "audit tool usage", "why does X keep failing", "how do I fix this error", "what should I change", "permission friction", "is this MCP worth it", "tool error rate", "fix recommendations", or invokes /tool-efficiency. Do NOT use for auditing a skill or agent definition (that is /skill-improver) or for one-off interactive log queries (that is /session-analytics).
tools
Analyze how prompts and skill routing behave across coding-agent sessions and produce calibrated recommendations — prompt-pattern analysis, routing accuracy, and knowledge gaps. Use when the user says "analyze my prompts", "prompt patterns", "is routing working", "which skill should have fired", "knowledge gaps", "what do I keep asking", or invokes /prompt-analytics. Do NOT use for auditing a single skill/agent definition (that is /skill-improver), tool/MCP efficiency (that is /tool-efficiency), or one-off interactive log queries (that is /session-analytics).