/godmode:lintfrom godmode
Configures linting and code formatting tools (ESLint, Prettier, Biome, Ruff, golangci-lint), auto-fixes violations, and sets up pre-commit hooks for style enforcement.
Ships in godmode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/godmode:lint# Detect existing configurations
ls -la .eslintrc* .prettierrc* biome.json \
.editorconfig .stylelintrc* .golangci.yml \
pyproject.toml .flake8 .rubocop.yml 2>/dev/null
# Check for pre-commit hooks
ls .husky/ .pre-commit-config.yaml 2>/dev/null
# Count current violations
npx eslint . --format compact 2>/dev/null | wc -l
ruff check . --statistics 2>/dev/null
LINT ASSESSMENT:
Language(s): <detected>
| Aspect | Status |
|--------------|----------------------|
| Linter | <tool or NONE> |
| Formatter | <tool or NONE> |
| Pre-commit | YES/NO |
| Editor config| YES/NO |
| Violations | <N errors, N warns> |
| CI enforce | YES/NO |
IF no linter: install recommended for language
IF no formatter: add Prettier/Biome/gofmt
IF no hooks: set up Husky + lint-staged
IF warnings > 0 in CI: set --max-warnings=0
TOOL SELECTION:
| Language | Linter | Formatter |
|------------|---------------|---------------|
| TypeScript | ESLint/Biome | Prettier/Biome|
| Python | Ruff | Ruff/Black |
| Go | golangci-lint | gofmt |
| Rust | clippy | rustfmt |
| Ruby | RuboCop | RuboCop |
| CSS/SCSS | Stylelint | Prettier |
IF project has ESLint+Prettier: consider Biome
IF Python with flake8+black: migrate to Ruff
ESLint 9+ flat config with typescript-eslint, prettier.
Biome: single biome.json for lint+format+imports.
Ruff: pyproject.toml [tool.ruff] section.
Go: .golangci.yml with 5m timeout.
AUTO-FIX LAYERS:
Level 1: Format on Save (editor, zero effort)
Level 2: Lint Fix on Save (safe rules only)
Level 3: Pre-commit (staged files, catches misses)
Level 4: CI Enforcement (final gate, no auto-fix)
THRESHOLDS:
Batch fix target: resolve 100% of auto-fixable
Manual remaining: list with file:line for user
IF auto-fix changes semantics: DISCARD fix
IF false positive rate > 20%: disable rule
# Batch fix all existing violations
npx eslint . --fix
npx prettier --write "**/*.{ts,tsx,js,json,css,md}"
ruff check . --fix && ruff format .
# JavaScript/TypeScript: Husky + lint-staged
npm install -D husky lint-staged
npx husky init
echo "npx lint-staged" > .husky/pre-commit
# Python: pre-commit framework
pip install pre-commit
pre-commit install
pre-commit run --all-files
LINT-STAGED CONFIG:
*.{ts,tsx}: eslint --fix --max-warnings=0, prettier
*.{json,css,md}: prettier --write
*.py: ruff check --fix, ruff format
RULES:
Lint only staged files (fast commits)
Full lint runs in CI only
IF commit takes > 10s: check scope
CODING STANDARDS:
| Area | Standard | Tool |
|--------------|------------------|----------|
| Indentation | 2 spaces (no tab)| Prettier |
| Line length | 100 chars max | Prettier |
| Quotes | Single (JS/TS) | Prettier |
| Semicolons | Always | Prettier |
| Trailing comma| All | Prettier |
| Import order | builtin>ext>int | ESLint |
"lint: configure <tool> with <N> rules""lint: add pre-commit hooks""lint: auto-fix <N> violations"Never ask to continue. Loop autonomously until done.
--max-warnings=0.eslint-disable as a strategy.--max-warnings=0 in CI..editorconfig.1. Language: package.json, pyproject.toml, go.mod
2. Linter: .eslintrc*, biome.json, [tool.ruff]
3. Formatter: .prettierrc*, biome.json, [tool.black]
4. Hooks: .husky/, .pre-commit-config.yaml
5. Editor: .editorconfig, .vscode/settings.json
6. Violations: run linter in check mode
Print: Lint: {tool} configured, {N} rules. Violations: {before} -> {after}. Hooks: {status}. Verdict: {verdict}.
iteration rule_group violations_before auto_fixed manual_remaining tests_pass status
KEEP if: tests pass AND violations decreased
AND no behavioral changes from auto-fix
DISCARD if: tests fail OR auto-fix changed semantics
OR > 20% false positives
STOP when ANY of:
- All rule groups enabled with zero violations
- Pre-commit hooks installed and working
- CI enforcement with --max-warnings=0
- User requests stop
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
135 skills in this plugin
/a11yAccessibility. WCAG 2.1 AA/AAA, a11y audit, color contrast, keyboard navigation, screen reader, Axe, Pa11y, Lighthouse./agentAI agent development. ReAct/plan-and-execute/multi-agent architectures, tool design, memory systems, guardrails, orchestration (LangChain, LlamaIndex, CrewAI, AutoGen)./analyticsProduct analytics implementation — event tracking, funnel analysis, A/B testing, Segment/Amplitude/Mixpanel/PostHog, privacy-compliant instrumentation./angularAngular architecture. NgRx, Signals, RxJS, standalone components, lazy loading, dependency injection, Jasmine, Jest./apiAPI design and specification. REST, GraphQL, gRPC, OpenAPI, design an API, create API spec, validate my API, endpoint./apidocsAPI documentation. OpenAPI, Swagger, Redoc, contract-first development, spec-first, code-first, interactive docs.Other plugins' skills for the same job