← Back to list

refactoring-06-static-analysis-style
by Silviase
⭐ 0🍴 0📅 Jan 15, 2026
SKILL.md
name: refactoring-06-static-analysis-style description: Use when adding formatting, linting, and type checking to Python research code.
Refactoring 06: Static Analysis and Style
Goal
Improve maintainability with consistent formatting, linting, and basic type checking.
Sequence
- Order: 06
- Previous: refactoring-05-testing-regression
- Next: refactoring-07-documentation-usage
Workflow
- Detect existing formatters and linters; extend their configs instead of replacing.
- Success: Existing tooling remains primary with minimal config changes.
- If none exist, propose a minimal toolchain (for example: ruff + black).
- Success: A small, documented toolchain is selected.
- Fix warnings in touched code first; avoid mass rewrites unless requested.
- Success: Touched files are clean without broad rewrites.
- Add type hints to public functions and core data structures.
- Success: Public APIs have basic type annotations.
- Run checks via
uv runto use the repo environment.- Success: Checks execute successfully through
uv run.
- Success: Checks execute successfully through
Guardrails
- Avoid noisy lint rules that block iteration.
- Keep formatting changes separate from logic changes when possible.
- Prefer gradual typing over strict project wide enforcement.
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