← Back to list

pydantic-review
by dsfaccini
⭐ 1🍴 0📅 Jan 21, 2026
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
- No line number references: Comments must not reference line numbers (e.g. "line 42", "L123", "lines 10-20")
- No pragma trailing comments: Pragma statements should stand alone without trailing comments
- Preserve meaningful comments: Don't remove existing explicatory comments
- No redundant comments: Avoid "increment x by 1" style comments that just repeat what code says
- Backticks in docstrings: Code references in docstrings must be wrapped in backticks (e.g.
my_function)
Code Pattern Rules
- Use assert_never: Prefer
assert_never()over# pragma: no branch - Union isinstance: Use
isinstance(x, A | B)notisinstance(x, (A, B)) - No stacklevel: Don't use
stacklevelinwarnings.warn()calls - Refactor for moves: Use ast-grep/LSP/IDE for renames and moves
- Empty snapshots: Write
snapshot()empty, runpytest --inline-snapshot=create
Instructions
- Read each changed file listed above
- Check for violations of the rules above
- Focus on the code itself - you're a fresh reviewer, not the one who wrote it
- If Python LSP tools are available (mcp__pylsp__*), use them for:
- Getting diagnostics
- Finding references (useful for rename detection)
- Checking for unused imports
- 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."
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon