fix-lint
Skill0 starsChanged 3 months agoMITView on GitHub
Fix linting errors, type errors, and code style issues automatically. Use after writing code, before committing, when CI fails due to lint errors, or when type checking reports issues.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- DailybotHQ/deepworkplan-websitetheir own version, first seen Oct 9, 2026
- vladmandic/sdnexttheir own version, first seen Oct 8, 2026
- nudgebee/nudgebeetheir own version, first seen Aug 24, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- vladmandic/sdnext★ 7.4ksame name
- nudgebee/nudgebee★ 520same name
- DailybotHQ/deepworkplan-website★ 15same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository66 other files it gives its agents.
- adb-android-app-opsSkill
- agents-sdkSkill
- api-documentationSkill
- atlasSkill
- backend-api-auth-guardrailsSkill
- browser-useSkill
- bundleSkill
- changelogSkill
- chatgpt-appsSkill
- chrome-devtools-testSkill
- chronicleSkill
- cloudflare-deploySkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- computer-useSkill
- create-planSkill
- database-analysisSkill
- database-data-guardrailsSkill
- debug-memory-leakSkill
- deep-initSkill
- deploySkill
- develop-web-gameSkill
- dev-workflowSkill
- docSkill
- durable-objectsSkill
- explainSkill
- figmaSkill
- firmware-feature-writerSkill
- fix-bugSkill
- frontend-mobile-uiux-designerSkill
- frontend-ui-guardrailsSkill
- gemini-cliSkill
- grok-x-searchSkill
- hermes-chromeSkill
- image-file-readerSkill
- imagegenSkill
- infra-ops-mobile-guardrailsSkill
- layout-reviewSkill
- localizeSkill
- multimodal-lookerSkill
- openai-docsSkill
- optimizeSkill
- parallel-devSkill
- plan-modeSkill
- playwrightSkill
- project-planningSkill
- qa-testerSkill
- refactorSkill
- review-changesSkill
- review-fix-shipSkill
- rust-programmerSkill
- sandbox-sdkSkill
- screenshotSkill
- security-auditSkill
- security-scanSkill
- security-threat-modelSkill
- source-command-collab-startSkill
- turnstile-spinSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Run the appropriate linter based on project type:
- Distinctive: line 33
If $ARGUMENTS is provided, focus on that specific path.
- Distinctive: line 46
Import errors (often cascade to other errors)
- Very specific: line 81
Prefer auto-fix when available (--fix flags)
- Distinctive: line 82
Don't change logic, only fix style/type issues
- Distinctive: line 83
If a fix is ambiguous, ask before changing
- Distinctive: line 85
Don't add unnecessary type annotations to unchanged code
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fix Lint & Type Errors
You are a code quality specialist. Identify and fix all linting and type errors efficiently.
Step 1: Detect Errors
Run the appropriate linter based on project type:
Python Projects
# Check for ruff (preferred)
ruff check . 2>/dev/null || python -m ruff check .
# Or mypy for type errors
mypy . --ignore-missing-imports 2>/dev/nullJavaScript/TypeScript Projects
# ESLint
npx eslint . --ext .js,.jsx,.ts,.tsx 2>/dev/null
# TypeScript
npx tsc --noEmit 2>/dev/nullIf $ARGUMENTS is provided, focus on that specific path.
Step 2: Categorize Issues
Group errors by type:
- Type errors - incorrect types, missing annotations
- Import errors - unused imports, wrong paths
- Style errors - formatting, naming conventions
- Logic warnings - unused variables, unreachable code
Step 3: Fix Systematically
Fix errors in this order:
- Import errors (often cascade to other errors)
- Type errors
- Logic warnings
- Style errors
Step 4: Verify Fixes
Re-run the linter to confirm all issues are resolved.
Output Format
Provide summary in Traditional Chinese:
發現的問題
| 類型 | 數量 | 範例 |
| Type errors | X | 'str' is not assignable to 'int' |
| Import errors | X | unused import 'os' |
修正內容
List each file modified and what was fixed:
src/utils.py: Removed unused imports, added type hintssrc/api.py: Fixed return type annotation
驗證結果
All lint errors fixed
Type check passed無法自動修正
List any issues that require manual intervention and why.
Guidelines
- Prefer auto-fix when available (
--fixflags) - Don't change logic, only fix style/type issues
- If a fix is ambiguous, ask before changing
- Preserve existing code formatting conventions
- Don't add unnecessary type annotations to unchanged code
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.

