スキル一覧に戻る
naoki1213mj

python-quality

by naoki1213mj

uv + Ruff + Azure template

0🍴 0📅 2026年1月6日
GitHubで見るManusで実行

SKILL.md


name: python-quality description: Run formatting, linting, and tests using uv + Ruff + pytest

Python Quality Check Skill

Use this skill when asked to:

  • "check quality"
  • "make CI pass"
  • "fix lint errors"
  • "run tests"
  • "prepare for PR"

Workflow

Execute these steps in order:

1. Sync Dependencies

uv sync --all-groups

2. Format Code

uv run ruff format .

3. Lint and Auto-fix

uv run ruff check . --fix

4. Run Tests

uv run pytest -q

On Failure

If any step fails:

  1. Format fails: Check for syntax errors first
  2. Lint fails: Review unfixable issues, explain the root cause
  3. Tests fail:
    • Show the failing test output
    • Explain the root cause
    • Propose a minimal fix
    • Update tests if behavior change is intentional

Quick Script

For automated checks, use:

uv run python .github/skills/python-quality/scripts/check.py

Success Criteria

  • All files formatted consistently
  • No lint errors (warnings may be acceptable)
  • All tests pass
  • No decrease in test coverage (if measured)

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です