python-style
Skill86 starsChanged 49 days agoMITView on GitHub
Use this when creating, editing, or reviewing Python code — including type hints, docstrings, naming conventions, imports, error handling, and code structure.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- open-edge-platform/anomalibtheir own version, first seen Oct 8, 2026
- mlflow/mlflowtheir own version, first seen Oct 8, 2026
- arusli1/askillstheir own version, first seen Sep 2, 2026
- search-atlas-group/amm-founding-circletheir own version, first seen Jun 22, 2026
- faalbers/Claude_Skillstheir own version, first seen Jun 3, 2026
- alexjuda/alexjuda-skillstheir own version, first seen Mar 29, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- mlflow/mlflow★ 29ksame name
- open-edge-platform/anomalib★ 6.4ksame name
- arusli1/askills★ 1same name
- alexjuda/alexjuda-skills★ 0same name
- faalbers/Claude_Skills★ 0same name
- search-atlas-group/amm-founding-circle★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analysis-reportingSkill
- causal-inference-diagnosticsSkill
- dataframe-polarsSkill
- notebook-workflowSkill
- path-and-ioSkill
- plan-analysisSkill
- predictive-modeling-diagnosticsSkill
- prepare-prSkill
- python-project-opsSkill
- review-sqlSkill
- run-edaSkill
- run-modelingSkill
- safe-data-handlingSkill
- simulation-optimization-diagnosticsSkill
- sql-analysisSkill
- statistical-inference-diagnosticsSkill
- statistical-ml-reviewSkill
- summarize-analysisSkill
- sync-agent-docsSkill
- unsupervised-eda-diagnosticsSkill
- update-agent-docsSkill
- visualizationSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when creating, editing, or reviewing Python code.
- Distinctive: line 12
Add type hints to all public function signatures.
- Very specific: line 13
Use from __future__ import annotations when convenient.
- Distinctive: line 17
Use Google-style docstrings for all public modules, classes, functions, and methods.
- Distinctive: line 30
Do not comment obvious syntax.
- Distinctive: line 34
Prefer small, pure functions where practical.
- Very specific: line 35
Prefer explicit error handling over bare except.
- Very specific: line 36
Use pathlib.Path for file paths — see path-and-io skill.
- Very specific: line 37
Follow ruff linting and formatting rules configured in pyproject.toml.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Python Style
Use this skill when creating, editing, or reviewing Python code.
Type Hints
- Add type hints to all public function signatures.
- Use
from __future__ import annotationswhen convenient.
Docstrings
- Use Google-style docstrings for all public modules, classes, functions, and methods.
- Docstrings should describe:
- Purpose
- Args
- Returns
- Raises (if applicable)
- Examples (when helpful)
- Important assumptions
Comments
- Inline comments and explanatory comments must be written in Japanese.
- Comments should explain non-obvious intent, assumptions, or business logic.
- Do not comment obvious syntax.
Code Style
- Prefer small, pure functions where practical.
- Prefer explicit error handling over bare
except. - Use
pathlib.Pathfor file paths — see path-and-io skill. - Follow
rufflinting and formatting rules configured inpyproject.toml.
Example
import json
from pathlib import Path
def load_config(config_path: Path) -> dict:
"""設定ファイルを読み込んで辞書として返す。
Args:
config_path: 設定ファイルのパス。
Returns:
設定内容を格納した辞書。
Raises:
FileNotFoundError: 指定されたパスにファイルが存在しない場合。
"""
# JSONファイルを読み込む
with config_path.open("r", encoding="utf-8") as f:
return json.load(f)Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

