← Back to list

ac-code-validator
by adaptationio
⭐ 0🍴 0📅 Jan 24, 2026
SKILL.md
name: ac-code-validator description: Validate code quality and standards. Use when running linting, checking types, validating code style, or performing static analysis.
AC Code Validator
Validate code against quality standards and style guidelines.
Purpose
Performs static analysis, linting, type checking, and style validation to ensure code meets quality standards before integration.
Quick Start
from scripts.code_validator import CodeValidator
validator = CodeValidator(project_dir)
result = await validator.validate()
Validation Types
Linting
lint_result = await validator.run_lint()
# ESLint for JS/TS
# Ruff/Flake8 for Python
# golint for Go
Type Checking
type_result = await validator.run_type_check()
# TypeScript compiler
# mypy for Python
Formatting
format_result = await validator.check_formatting()
# Prettier for JS/TS
# Black for Python
Security Scan
security_result = await validator.run_security_scan()
# Bandit for Python
# npm audit for Node.js
Validation Result
{
"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
}
}
Configuration
{
"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/**"
]
}
Auto-Fix Support
# Fix all auto-fixable issues
fix_result = await validator.auto_fix()
# Fix specific types only
await validator.auto_fix(types=["format", "lint"])
Language Support
| 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 |
Integration
- Used by:
ac-qa-reviewerfor quality checks - Used by:
ac-commit-managerbefore commits - Reports to:
ac-task-executor
API Reference
See scripts/code_validator.py for full implementation.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon