Run repository linting and formatting checks, fix lint failures, and verify a clean result. Use when asked to lint code, resolve style/tooling violations, or make CI lint checks pass across changed files or whole repositories.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Run repository linting and formatting checks, fix lint failures, and verify a clean result. Use when asked to lint code, resolve style/tooling violations, or make CI lint checks pass across changed files or whole repositories.
Lint Workflow
Inputs
scope (optional): target repo, package, directory, or file set.
fix_mode (optional): auto (default) or report-only.
strict (optional): fail fast on first blocking lint error when true.
References
Use selective loading:
Always start with references/philosophy/overview.md.
Load references/philosophy/linting.md when lint strategy/tooling decisions are needed.
Load only active-language checklists:
references/checklists/go.md
references/checklists/javascript-typescript.md
references/checklists/python.md
references/checklists/rust.md
In polyglot changes, load only the checklists for touched languages.
Procedure
Resolve lint command(s).
Run lint for the target scope and capture failures.
Apply safe fixes.
Re-run lint until clean or blocked.
Report what changed, what remains, and any manual follow-ups.
Language-Specific Command Defaults
go:
Format/imports: goimports -w or gofmt -w.
Lint/static analysis: repo script, golangci-lint run, or go vet ./....
javascript/typescript:
Format: prettier --write (or repo equivalent).
Lint/typecheck: eslint, plus tsc --noEmit for TypeScript.
python:
Format/imports: black, isort.
Lint/static analysis: ruff (or flake8/pylint if repo-standard).