with one click
lint
Run formatters and linters, then fix reported issues
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run formatters and linters, then fix reported issues
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Run CodeRabbit CLI code review and interactively fix issues
Write detailed commit messages and create commits
Generate PR title and description from branch diff against origin/main
Comprehensive PR review with detailed explanations and constructive feedback
Analyze and resolve git merge conflicts with guided assistance
Split a bloated PR into a stack of small, reviewable PRs
Based on SOC occupation classification
| name | lint |
| description | Run formatters and linters, then fix reported issues |
| triggers | ["lint","format","format and lint","check style","fix style","code style","fix formatting","fix linting"] |
Use this skill to run code formatters and linters, then interactively fix any issues found.
Use AskUserQuestion to determine scope:
Question: "What would you like to do?" Header: "Action" Options:
Run formatters first (they auto-fix), then linters (they report issues):
# Format all code (auto-fixes style)
make format
# Then lint to catch remaining issues
make lint
make format
This runs all formatters:
isort - Python import orderingautoflake - Remove unused Python importsblack - Python code stylemake lint
This runs all linters:
isort --check - Python import order checkblack --check - Python style checkautoflake --check - Unused Python imports checkcodespell - Spelling checkpyright - Python type checkingUse AskUserQuestion:
Question: "Which specific checks would you like to run?" Header: "Check Type" multiSelect: true Options:
Run selected checks:
# Python formatting
make format/isort && make format/autoflake && make format/black
# Python type checking
make lint/pyright
# Spelling
make lint/codespell
Parse the output and categorize issues:
## Results Summary
| Check | Status | Issues |
|-------|--------|--------|
| black | [Pass/Fail] | N files reformatted |
| isort | [Pass/Fail] | N import issues |
| autoflake | [Pass/Fail] | N unused imports |
| codespell | [Pass/Fail] | N spelling errors |
| pyright | [Pass/Fail] | N type errors |
If linting found issues that can't be auto-fixed:
Group by error type and present:
## Type Errors (pyright)
### Missing Type Annotations (5 issues)
| File | Line | Issue |
|------|------|-------|
| veeksha/core/engine.py | 45 | Parameter "config" has no type annotation |
Would you like me to fix these by adding type annotations?
Use AskUserQuestion:
## Spelling Errors
| File | Line | Found | Suggested |
|------|------|-------|-----------|
| veeksha/utils/helpers.py | 12 | "recieve" | "receive" |
Would you like me to fix these spelling errors?
When fixing issues:
# After fixes, verify
make lint/pyright # or whichever linter had issues
After all fixes:
# Run full lint to ensure everything passes
make lint
Report final status.
# Quick format (no questions, just format everything)
/lint --format-only
# Quick lint check (no fixes, just report)
/lint --check-only
# Pre-commit check (format then lint)
/lint --pre-commit
When user specifies --pre-commit or asks to prepare for commit:
# 1. Format everything
make format
# 2. Lint everything
make lint
# 3. If lint passes, show status
git status
If lint fails, offer to fix issues before proceeding.