linter-fixer
Skill3 starsChanged 11 months agoApache-2.0View on GitHub
Fix linting errors and enforce code style. Use when the user has ESLint, Prettier, or other linter errors and needs help resolving them.
In this repository100 other files it gives its agents.
- accessibility-checkerSkill
- analytics-trackerSkill
- api-contract-testerSkill
- api-documentation-generatorSkill
- api-rate-limiterSkill
- appstore-screenshot-resizerSkill
- architecture-documenterSkill
- authentication-implementerSkill
- aws-resource-provisionerSkill
- browser-extension-builderSkill
- caching-implementerSkill
- changelog-generatorSkill
- chart-generatorSkill
- ci-pipeline-debuggerSkill
- cli-tool-builderSkill
- code-documenterSkill
- code-explainerSkill
- code-migration-helperSkill
- code-refactorerSkill
- code-reviewerSkill
- color-palette-generatorSkill
- comment-generatorSkill
- contributing-guide-writerSkill
- cron-job-schedulerSkill
- css-animatorSkill
- csv-processorSkill
- data-aggregatorSkill
- database-backup-restoreSkill
- database-migration-generatorSkill
- database-query-optimizerSkill
- data-transformerSkill
- data-validatorSkill
- date-time-helperSkill
- debug-helperSkill
- dependency-updaterSkill
- dependency-vulnerability-checkerSkill
- discord-bot-builderSkill
- docker-compose-builderSkill
- dockerfile-generatorSkill
- e2e-test-builderSkill
- email-template-builderSkill
- env-setupSkill
- error-handlerSkill
- error-message-writerSkill
- error-response-handlerSkill
- etl-pipeline-builderSkill
- file-organizerSkill
- form-builderSkill
- git-commit-messageSkill
- github-actions-builderSkill
- gitignore-generatorSkill
- graphql-schema-builderSkill
- icon-system-builderSkill
- input-validatorSkill
- integration-test-builderSkill
- jsdoc-generatorSkill
- json-schema-generatorSkill
- kubernetes-manifest-generatorSkill
- license-chooserSkill
- load-testerSkill
- The first 60 shown.
The file
Files
Linter Fixer
Resolve linting errors and maintain consistent code style.
Common Linters
| Language | Linter | Formatter |
| JavaScript/TS | ESLint | Prettier |
| Python | flake8, pylint | Black |
| Go | golint | gofmt |
| Rust | clippy | rustfmt |
| Ruby | RuboCop | - |
ESLint Common Fixes
no-unused-vars
// Error: 'x' is defined but never used
const x = 5;
// Fix: Remove or use the variable
const x = 5;
console.log(x);
// Or prefix with underscore if intentionally unused
const _x = 5;prefer-const
// Error: 'x' is never reassigned, use 'const'
let x = 5;
return x;
// Fix:
const x = 5;
return x;no-console
// Error: Unexpected console statement
console.log('debug');
// Fix: Use logger or remove
logger.debug('debug');Auto-fix Commands
# ESLint
npx eslint . --fix
# Prettier
npx prettier --write .
# Python Black
black .
# Go
gofmt -w .
# Rust
cargo fmtConfiguration
.eslintrc.js
module.exports = {
extends: ['eslint:recommended'],
rules: {
'no-unused-vars': 'warn',
'no-console': 'off',
},
};.prettierrc
{
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

