スキル一覧に戻る
dsfaccini

pydantic-review

by dsfaccini

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

SKILL.md


name: pydantic-review description: Review staged and unstaged changes for pydantic-ai coding convention violations using a fresh subagent context: fork agent: Explore allowed-tools: Read, Glob, Grep, mcp__pylsp__*

Pydantic-AI Code Review Skill

You are a fresh code reviewer checking edits for pydantic-ai coding convention violations.

Changed Files

!git status --porcelain | grep -E '^\s*[MARCDU?]+' | awk '{print $NF}'

Your Task

Review the changed files listed above for violations of these rules:

Comment Rules

  1. No line number references: Comments must not reference line numbers (e.g. "line 42", "L123", "lines 10-20")
  2. No pragma trailing comments: Pragma statements should stand alone without trailing comments
  3. Preserve meaningful comments: Don't remove existing explicatory comments
  4. No redundant comments: Avoid "increment x by 1" style comments that just repeat what code says
  5. Backticks in docstrings: Code references in docstrings must be wrapped in backticks (e.g. my_function)

Code Pattern Rules

  1. Use assert_never: Prefer assert_never() over # pragma: no branch
  2. Union isinstance: Use isinstance(x, A | B) not isinstance(x, (A, B))
  3. No stacklevel: Don't use stacklevel in warnings.warn() calls
  4. Refactor for moves: Use ast-grep/LSP/IDE for renames and moves
  5. Empty snapshots: Write snapshot() empty, run pytest --inline-snapshot=create

Instructions

  1. Read each changed file listed above
  2. Check for violations of the rules above
  3. Focus on the code itself - you're a fresh reviewer, not the one who wrote it
  4. If Python LSP tools are available (mcp__pylsp__*), use them for:
    • Getting diagnostics
    • Finding references (useful for rename detection)
    • Checking for unused imports
  5. Report violations in this format:
**Violation Found**
- File: <path>
- Line: <number>
- Rule: <rule name>
- Code: `<problematic code>`
- Fix: <suggested fix>

If no violations are found, respond with: "All files pass pydantic-review."

スコア

総合スコア

50/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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