Skip to content
Back to skills

Ac Code Validator

ASecurity

Validate code quality and standards. Use when running linting, checking types, validating code style, or performing static analysis.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentjavascripttypescriptpythongojavanodeapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add adaptationio/Skrillz --skill ac-code-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ac Code Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ac Code Validator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adaptationio-ac-code-validator/badge)](https://www.skillsdirectory.com/skills/adaptationio-ac-code-validator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

```python
from scripts.code_validator import CodeValidator

validator = CodeValidator(project_dir)
result = await validator.validate()
```

## Validation Types

### Linting
```python
lint_result = await validator.run_lint()
# ESLint for JS/TS
# Ruff/Flake8 for Python
# golint for Go
```

### Type Checking
```python
type_result = await validator.run_type_check()
# TypeScript compiler
# mypy for Python
```

### Formatting
```python
format_result = await validator.check_formatting()
# Prettier for JS/TS
# Black for Python
```

### Security Scan
```python
security_result = await validator.run_security_scan()
# Bandit for Python
# npm audit for Node.js
```

## Validation Result

```json
{
  "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

```json
{
  "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

```python
# 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-reviewer` for quality checks
- Used by: `ac-commit-manager` before commits
- Reports to: `ac-task-executor`

## API Reference

See `scripts/code_validator.py` for full implementation.

Files in this skill

  • SKILL.md2.7 KB
  • scripts/code_validator.py13.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.