agentleFS
awaku7awaku7/agentcli/skills/python-idioms/SKILL.md

python-idioms

Skill12 starsChanged 10 days agoApache-2.0View on GitHub

Pythonを書く/レビューする時に「よりPythonらしい書き方」を素早く参照するための定石集(開発用の手引き・チートシート)。

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

目的

  • Pythonコードを「動く」から「読みやすい・壊れにくい・直しやすい」へ寄せるための参照メモ。
  • 実装中/レビュー中に、迷いがちな書き方の判断基準を短時間で引けるようにする。

使い方

  • 実装中: references/TECHNIQUES.md から該当トピック(例: f-string / pathlib / 例外)を引いて適用する。
  • レビュー時: references/CHECKLIST.md を上から順に当てて、改善点を列挙する。

収録(参照ファイル)

  • references/TECHNIQUES.md
    • テクニック(イディオム)別の「なぜ/いつ/例/注意点」
  • references/CHECKLIST.md
    • 実務レビュー用チェックリスト
  • references/SOURCES.md
    • 参考リンク(外部記事など)

このスキルの方針

  • 外部記事の内容を丸写しせず、要点・判断基準・自分の実務観点に再整理して書く。
  • 「必ずこうする」ではなく、トレードオフ(可読性/安全性/性能/依存)も併記する。

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.