aget-lint-code
Runs language-specific linters and formatters to detect and report code quality issues.
Install
mkdir -p .claude/skills/aget-lint-code && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18226" && unzip -o skill.zip -d .claude/skills/aget-lint-code && rm skill.zipInstalls to .claude/skills/aget-lint-code
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Run code linting and formatting checksKey capabilities
- →Detect linter configuration for various languages
- →Execute linters on specified files or directories
- →Process linter results by categorizing severity and extracting locations
- →Report findings with summaries, issue details, and fix suggestions
- →Support Python (ruff, flake8, pylint), JavaScript (eslint), Go (golangci-lint), and YAML (yamllint)
How it works
The skill detects the appropriate linter configuration for the project and executes the linter on the specified files. It then processes the output to categorize issues by severity and generates a detailed report.
Inputs & outputs
When to use aget-lint-code
- →Run code linting
- →Check formatting compliance
- →Report syntax errors
About this skill
aget-lint-code
Run code linting and formatting checks on files or directories. Auto-detects linter configuration and reports issues by severity.
Instructions
When this skill is invoked:
-
Detect Linter Configuration
- Python: ruff, flake8, pylint (pyproject.toml, setup.cfg)
- JavaScript: eslint (.eslintrc.*)
- Go: golangci-lint (.golangci.yml)
- YAML: yamllint
-
Execute Linter
- Use project configuration
- Target specified files or all
- Capture output
-
Process Results
- Categorize by severity (error, warning, info)
- Extract file locations
- Count issues
-
Report Findings
- Summary by severity
- Issue details with locations
- Fix suggestions if available
Execution Commands
# Python (ruff)
ruff check [path] --output-format=text
# Python (flake8)
flake8 [path]
# JavaScript (eslint)
npx eslint [path] --format stylish
# Go
golangci-lint run [path]
# YAML
yamllint [path]
Output Format
## Lint Results
### Summary
| Severity | Count |
|----------|-------|
| Errors | [N] |
| Warnings | [N] |
| Info | [N] |
| **Total** | [N] |
### Status: [CLEAN/ISSUES FOUND]
### Issues by File
#### [filename.py]
| Line | Severity | Rule | Message |
|------|----------|------|---------|
| [N] | Error | [E001] | [Description] |
| [N] | Warning | [W002] | [Description] |
### Auto-fixable
[N] issues can be auto-fixed with `--fix` flag.
### Recommended Actions
1. [Fix critical errors first]
2. [Address warnings]
Constraints
- C1: NEVER apply auto-fixes without explicit --fix flag — lint is read-only by default
- C2: NEVER ignore configuration files — project configuration must be respected
- C3: NEVER fail silently when linter is misconfigured — configuration errors must be surfaced
Related
- SKILL-023: aget-lint-code specification
- ONTOLOGY_developer.yaml: Code, Code_Change concepts
- CAP-DEV-002: Code Linting capability
When not to use it
- →When the user wants to apply auto-fixes without an explicit --fix flag
- →When the user wants to ignore project configuration files
- →When the user wants to silently fail on linter misconfiguration
Limitations
- →Never applies auto-fixes without explicit --fix flag
- →Never ignores configuration files; project configuration must be respected
- →Never fails silently when linter is misconfigured; errors must be surfaced
How it compares
This skill automates the detection and execution of various linters and provides a standardized report, which is more efficient than manually running and interpreting different linting tools.
Compared to similar skills
aget-lint-code side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| aget-lint-code (this skill) | 0 | 5mo | Review | Beginner |
| python-testing-patterns | 77 | 2mo | Review | Intermediate |
| dependency-upgrade | 26 | 4mo | Review | Intermediate |
| test-cases | 57 | 6mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
python-testing-patterns
wshobson
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
test-cases
cexll
This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering functional, edge case, error handling, and state transition scenarios.
reviewing-code
CaptainCrouton89
Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.
wcag-audit-patterns
wshobson
Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.
code-coverage-with-gcov
gadievron
Add gcov code coverage instrumentation to C/C++ projects