Validate code quality and standards. Use when running linting, checking types, validating code style, or performing static analysis.
61
71%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/ac-code-validator/SKILL.mdValidate code against quality standards and style guidelines.
Performs static analysis, linting, type checking, and style validation to ensure code meets quality standards before integration.
from scripts.code_validator import CodeValidator
validator = CodeValidator(project_dir)
result = await validator.validate()lint_result = await validator.run_lint()
# ESLint for JS/TS
# Ruff/Flake8 for Python
# golint for Gotype_result = await validator.run_type_check()
# TypeScript compiler
# mypy for Pythonformat_result = await validator.check_formatting()
# Prettier for JS/TS
# Black for Pythonsecurity_result = await validator.run_security_scan()
# Bandit for Python
# npm audit for Node.js{
"valid": true,
"checks": {
"lint": {
"passed": true,
"errors": 0,
"warnings": 3,
"issues": [
{"file": "auth.py", "line": 45, "severity": "warning", "message": "Line too long"}
]
},
"types": {
"passed": true,
"errors": 0
},
"format": {
"passed": false,
"files_needing_format": ["utils.py"]
},
"security": {
"passed": true,
"vulnerabilities": []
}
},
"summary": {
"total_issues": 3,
"blocking": 0,
"auto_fixable": 3
}
}{
"language": "python",
"tools": {
"lint": "ruff",
"format": "black",
"types": "mypy",
"security": "bandit"
},
"rules": {
"max_line_length": 100,
"max_complexity": 10,
"require_docstrings": true
},
"ignore_patterns": [
"**/__pycache__/**",
"**/node_modules/**",
"**/.venv/**"
]
}# Fix all auto-fixable issues
fix_result = await validator.auto_fix()
# Fix specific types only
await validator.auto_fix(types=["format", "lint"])| Language | Lint | Types | Format | Security |
|---|---|---|---|---|
| Python | ruff/flake8 | mypy | black | bandit |
| TypeScript | eslint | tsc | prettier | npm audit |
| JavaScript | eslint | - | prettier | npm audit |
| Go | golint | go vet | gofmt | gosec |
ac-qa-reviewer for quality checksac-commit-manager before commitsac-task-executorSee scripts/code_validator.py for full implementation.
93ed392
Also appears in
since Sep 12, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.