Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Multi-language code quality validation (Python, JS/TS, Shell, SQL) — formatting, linting, type-checking, complexity analysis with auto language detection. Use when checking code quality or running linters. Trigger on "lint", "type-check", "quality check", "run the linters", "check code quality".
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Unified code quality validation across Python, JavaScript/TypeScript, Shell, and SQL. Runs formatting checks, linting, type checking, and complexity analysis.
# Auto-detect language and run appropriate checks
/quality-check [path]
The skill auto-detects language based on file extensions:
.py -> Python tools.js, .ts, .tsx, .jsx -> JavaScript/TypeScript tools.sh, .bash -> Shell tools.sql -> SQL validation| Language | Formatter | Linter | Type Check | Complexity |
|---|---|---|---|---|
| Python | ruff format | ruff check | mypy | radon cc |
| JS/TS | prettier | eslint | tsc | eslint complexity |
| Shell | shfmt | shellcheck | - | - |
| SQL | - | sqlfluff | - | - |
| Swift | - | swiftlint | swift build | - |
| Go | gofmt | golint | go vet | - |
| Rust | rustfmt | clippy | - | - |
# Format check (replaces black + isort)
ruff format --check src/ tests/
# Lint
ruff check src/ tests/
# Type check
mypy src/
# Complexity (functions with cc > 10)
radon cc src/ -nc
# Format check
npx prettier --check "src/**/*.{ts,tsx,js,jsx}"
# Lint
npx eslint "src/**/*.{ts,tsx}"
# Type check
npx tsc --noEmit
# Dependency audit
npm audit --production
# Lint
shellcheck scripts/*.sh
# Format check (if shfmt installed)
shfmt -d scripts/*.sh
# Lint (if sqlfluff installed)
sqlfluff lint queries/
# Lint
swiftlint
# Build check (type checking)
swift build
# Format check
gofmt -d .
# Lint
golint ./...
# Vet (static analysis)
go vet ./...
# Format check
cargo fmt --check
# Lint
cargo clippy -- -D warnings
| Metric | Threshold |
|---|---|
| File size | < 500 lines |
| Function size | < 50 lines |
| Complexity | < 10 per function |
| Nesting depth | < 4 levels |
except: clausesany types (except justified)# Quality Report
**Status**: PASS/FAIL
**Files Checked**: N
**Language**: Python/TypeScript/Mixed
## Results
| Check | Status | Issues |
| ---------- | ------ | ---------------- |
| Format | PASS | 0 |
| Lint | PASS | 0 |
| Types | PASS | 0 |
| Complexity | WARN | 2 functions > 10 |
## Issues Found
### Critical
[None or list]
### Warnings
- `src/utils.py:45` - complexity 12 (function `process_data`)
## Auto-fix Available
Run: `ruff format src/ && ruff check --fix src/`
This skill is called by /pre-commit as part of the full validation suite.
# Python
pip install ruff mypy radon
# JS/TS
npm install -D prettier eslint typescript
# Shell
brew install shellcheck shfmt # macOS
apt install shellcheck shfmt # Ubuntu
Focus on one category at a time:
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.
中文简介正在准备中。当前显示原文说明。
Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".
中文简介正在准备中。当前显示原文说明。
Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.
中文简介正在准备中。当前显示原文说明。
Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.
中文简介正在准备中。当前显示原文说明。
Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.
中文简介正在准备中。当前显示原文说明。