Help us improve
Share bugs, ideas, or general feedback.
From ce
Detects and runs linters, formatters, type checkers from configs before commits/PRs. Supports JS/TS, Python, Go, Rust; auto-fixes on staged files.
npx claudepluginhub rileyhilliard/claude-essentials --plugin ceHow this skill is triggered — by the user, by Claude, or both
Slash command
/ce:preflight-checksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the project's code quality tools before committing. Catch errors early instead of letting pre-commit hooks catch them.
Runs auto-detected linters/formatters/fixers for Python (Ruff/ty/bandit), JS/TS (ESLint/Prettier/tsc), Rust (clippy/fmt), Go (gofmt/vet); supports --fix/--format/pre-commit.
Runs pre-commit checks in the order: lint:fix, build, test. Supports multiple ecosystems (Node.js, Python, Rust, Go, Java, Ruby) by detecting project files.
Runs preflight code quality checks (linting, typechecking, tests) by auto-detecting configs in JavaScript/TypeScript, Python, Go, Rust, .NET projects and offers to fix issues.
Share bugs, ideas, or general feedback.
Run the project's code quality tools before committing. Catch errors early instead of letting pre-commit hooks catch them.
Detect available tools from project config files. Check in this order:
| Config File | Tool | Check Command | Fix Command |
|---|---|---|---|
package.json scripts | npm/yarn/pnpm | Look for lint, typecheck, format, check scripts | Run with --fix where available |
.eslintrc* / eslint.config.* | ESLint | npx eslint <files> | npx eslint --fix <files> |
tsconfig.json | TypeScript | npx tsc --noEmit | Manual fix required |
.prettierrc* / prettier in package.json | Prettier | npx prettier --check <files> | npx prettier --write <files> |
pyproject.toml with [tool.ruff] | Ruff | ruff check <files> | ruff check --fix <files> && ruff format <files> |
pyproject.toml with [tool.mypy] / mypy.ini | mypy | mypy <files> | Manual fix required |
pyproject.toml with [tool.black] | Black | black --check <files> | black <files> |
.flake8 / setup.cfg with [flake8] | Flake8 | flake8 <files> | Manual fix required |
go.mod | Go | go vet ./... | gofmt -w <files> |
Cargo.toml | Rust | cargo clippy | cargo clippy --fix |
.pre-commit-config.yaml | pre-commit | pre-commit run --files <files> | Runs auto-fix internally |
Run tools in this order. Each step can change code that later steps check.
Only check files that are staged or modified. Don't run checks on the entire codebase.
# Staged files
git diff --cached --name-only --diff-filter=ACM
# Unstaged modified files
git diff --name-only --diff-filter=ACM
Filter to relevant extensions for each tool (e.g., only .ts/.tsx for tsc, only .py for ruff).
git add <fixed-files>git commit (used by /ce:commit)/ce:pr)Distinguish between fixable and non-fixable errors:
Fixable (auto-fix and move on):
Needs human decision (report and stop):
Never silently skip a failing check.