.claude/skills/code-quality-gate/SKILL.md
Ensure complete compliance with code quality standards. Use before commit, before PR creation, or when quality issues are detected.
npx skillsauth add drillan/mixseek-plus code-quality-gateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Ensure complete compliance with code quality standards.
Quality commands are loaded from .claude/workflow-config.json:
{
"quality": {
"lint": "uv run ruff check --fix .",
"format": "uv run ruff format .",
"typecheck": "uv run mypy .",
"test": "uv run pytest",
"all": "uv run ruff check --fix . && uv run ruff format . && uv run mypy ."
}
}
Ruff Linter
uv run ruff check .
uv run ruff check --fix . # Auto-fix
Ruff Formatter
uv run ruff format --check .
uv run ruff format . # Auto-format
Mypy Type Checker
uv run mypy .
uv run ruff check --fix . && uv run ruff format . && uv run mypy .
PASS condition: All checks complete without errors
✓ ruff check: 0 errors
✓ ruff format: No changes needed
✓ mypy: Success: no issues found
FAIL condition: Any check has errors → Block commit/PR creation
## Code Quality Gate Report
### Check Results
| Tool | Status | Details |
|------|--------|---------|
| ruff check | ✓ PASS | 0 errors |
| ruff format | ✓ PASS | No changes |
| mypy | ✓ PASS | No issues |
### Overall Result: PASS
## Code Quality Gate Report
### Check Results
| Tool | Status | Details |
|------|--------|---------|
| ruff check | ✗ FAIL | 3 errors |
| ruff format | ✓ PASS | No changes |
| mypy | ✗ FAIL | 2 issues |
### Details
#### ruff check errors:
- src/auth.py:10: E501 line too long
- src/auth.py:20: F401 unused import
#### mypy issues:
- src/auth.py:15: error: Incompatible types
### Overall Result: FAIL
Commit blocked. Please fix the issues above.
Before committing code:
Check if quality gate is enabled
.claude/workflow-config.jsonworkflow.quality_gate_requiredIf enabled:
quality.all commandAuto-fix behavior:
ruff check --fix automatically fixes many issuesruff format automatically formats codeuv run ruff check --fix . && uv run ruff format . && uv run mypy .
npm run lint -- --fix && npm run format && npm run typecheck
golangci-lint run --fix && go fmt ./... && go vet ./...
cargo clippy --fix --allow-dirty --allow-staged && cargo fmt && cargo check
tools
MixSeekワークスペースを初期化し、設定ファイル用ディレクトリ構造を作成します。「ワークスペースを初期化」「mixseekのセットアップ」「設定ディレクトリを作成」「新しいプロジェクトを始める」といった依頼で使用してください。
development
MixSeekのチーム設定ファイル(team.toml)を生成します。「チームを作成」「エージェント設定を生成」「Web検索チームを作って」「分析チームを設定」といった依頼で使用してください。Leader AgentとMember Agentの構成を定義します。
development
MixSeekのプロンプトビルダー設定ファイル(prompt_builder.toml)を生成します。「プロンプトを設定」「プロンプトビルダーを作成」「ラウンド別プロンプト」といった依頼で使用してください。
data-ai
MixSeekのオーケストレーター設定ファイル(orchestrator.toml)を生成します。「オーケストレーターを設定」「チーム競合設定」「複数チームで競わせる」「マルチチーム実行設定」といった依頼で使用してください。複数チームを並列実行して最良の結果を選択する設定を定義します。