소스 정보
- 저장소
- notque/vexjoy-agent
- 최근 소스 활동
- 2026년 6월 10일 15:14
- 감지된 SKILL.md 언어
- 영어
- 스타
- 415
- 포크
- 44
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/notque/vexjoy-agent --skill python-quality-gate명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Run the full evidence-to-live implementation workflow for large, multi-system, multi-wave, or CPU-delegated 5 Star Booker GM programs.
Classify user requests and route to the correct agent + skill. Primary entry point for all delegated work.
Structured multi-phase workflows: review, debug, refactor (tidy, clean up, untangle messy code without behaviour change), deploy, create, research.
| name | python-quality-gate |
| description | Python quality checks: ruff, pytest, mypy, bandit in deterministic order. |
| user-invocable | false |
| allowed-tools | ["Read","Write","Bash","Grep","Glob","Edit","Task","Skill"] |
| agent | python-general-engineer |
| routing | {"force_route":true,"not_for":"general Python coding (use python-general-engineer), data analysis scripts, or tutorials — fires when the user wants ruff/mypy/pytest/bandit quality checks run on existing code","triggers":["Python quality","ruff check","bandit scan","mypy check","python lint","python quality gate","check python","pre-commit check"],"category":"code-quality","pairs_with":["code-linting","test-driven-development"]} |
Run four quality tools in deterministic order -- ruff, pytest, mypy, bandit -- and produce a structured pass/fail report with severity-categorized issues and auto-fix commands.
| Signal | Load These Files | Why |
|---|---|---|
| writing the quality gate report | report-template.md | Loads detailed guidance from report-template.md. |
| invoking ruff/mypy/pytest; severity classification and pass/fail thresholds | tool-commands.md | Loads detailed guidance from tool-commands.md. |
Step 1: Read CLAUDE.md and detect project configuration.
Read and follow the repository's CLAUDE.md before any execution. Then detect project configuration:
ls -la pyproject.toml setup.py setup.cfg mypy.ini .python-version 2>/dev/null
Identify Python version target, ruff config, pytest config, mypy config from pyproject.toml. Only validate code -- never add tools, features, or flexibility not requested.
Step 2: Detect source and test directories.
ls -d src/ app/ lib/ 2>/dev/null || echo "Source: current directory"
ls -d tests/ test/ 2>/dev/null || echo "Tests: not found"
Step 3: Verify tool availability.
ruff --version
pytest --version
mypy --version || echo "mypy not installed (optional)"
bandit --version || echo "bandit not installed (optional)"
If ruff or pytest are missing, STOP. These are required:
ERROR: Required tool not found: {tool_name}
Install with: pip install ruff pytest pytest-cov
Do not install missing tools automatically unless the user explicitly requests it. Do not modify pyproject.toml or configuration files unless explicitly asked.
Gate: ruff and pytest available. Project structure identified. Proceed only when gate passes.
Run all checks in fixed order, capturing full output for each. Show complete command output with exact file paths and line numbers -- never summarize or paraphrase tool output, because summarization hides the details engineers need to locate and fix issues.
Step 1: Ruff linting.
ruff check . --output-format=grouped
Step 2: Ruff formatting check.
ruff format --check .
Step 3: Type checking with mypy (if installed).
mypy . --ignore-missing-imports --show-error-codes
Skip and note in report if mypy is not installed. Even if tests pass, still run mypy when available -- tests check behavior while types check contracts, and passing one does not make the other redundant.
Step 4: Run test suite.
pytest -v --tb=short --cov=src --cov-report=term-missing
If no tests directory exists, skip and note in report. Never skip tests to make the gate pass -- tests verify functionality, and skipping them hides broken code. Only skip optional tools (mypy, bandit) if genuinely unavailable, not to manufacture a passing status.
Step 5: Security scanning with bandit (if installed).
bandit -r src/ -ll --format=screen
Skip and note in report if bandit is not installed. Linting passing does not mean code is correct -- linting finds style issues, not logic or security bugs. Run every available tool.
Gate: All available tools have been run. Full output captured. Proceed to analysis.
Step 1: Categorize issues by severity.
See references/tool-commands.md for complete severity classification tables.
Summary of severity levels:
Always prioritize critical issues over style fixes -- critical issues (F errors, test failures) break functionality while style issues do not. Fix critical first, high second; use auto-fix for bulk style cleanup only after critical issues are resolved.
Step 2: Count auto-fixable issues.
ruff check . --statistics
Issues marked with [*] are auto-fixable. Show suggested auto-fix commands for these issues so users know what can be fixed automatically.
Step 3: Determine overall status.
FAIL if:
PASS otherwise. Exit with non-zero status if any critical check fails.
Gate: All issues categorized. Pass/fail determined. Proceed to report.
Format a structured markdown report. See references/report-template.md for the full template.
The report MUST include:
Report facts -- show raw command output rather than describing it. No self-congratulation ("great job", "looking good"). Generate the full report even when only style issues are found, because style issues can hide real problems in noise and a full severity-prioritized report surfaces them.
Print the complete report to stdout. Never summarize or truncate. If --output {file} flag was provided, also write report to file. Remove any intermediate temporary files at completion -- keep the final report only if the user requested file output.
Gate: Report generated and displayed. Task complete.
Auto-fix modifies files in place -- never run it without explicit user confirmation. Running ruff --fix blindly can change code semantics (import removal, reformatting), so always run check-only first, review issues, confirm auto-fix intent, then verify changes.
When user explicitly requests auto-fix:
ruff check . --fix
ruff format .
After auto-fix, show the diff so changes can be reviewed, then re-run the quality gate to verify:
git diff
User says: "Run quality checks before I merge this PR" Actions:
User says: "Check code quality on the payments module" Actions:
Cause: Ruff is not installed in the current environment
Solution: Install with pip install ruff. Do not proceed without ruff -- exit with status 2.
Cause: pytest found test failures Solution: This is expected behavior, not a tool error. Parse output, include failure details in report, mark overall status as FAILED, continue with remaining checks.
Cause: Running from wrong directory or not a Python project
Solution: Verify location with ls pyproject.toml src/ tests/. Run from project root.
Cause: Stale or corrupted .mypy_cache directory
Solution: Clear cache with rm -rf .mypy_cache and retry. If mypy continues to fail, skip type checking and note in report.
${CLAUDE_SKILL_DIR}/references/tool-commands.md: Severity classifications, expected output formats, CLI flags${CLAUDE_SKILL_DIR}/references/report-template.md: Full structured report template${CLAUDE_SKILL_DIR}/references/pyproject-template.toml: Complete ruff, pytest, mypy, bandit configuration