wk-workstyle-python
Installation
SKILL.md
Workstyle — Python
Enforces idiomatic, type-safe Python style on every .py file the agent
writes or edits. Part of the wk-workstyle family. Project settings
are authoritative — this skill fills gaps only, never overrides. When a
linter/formatter config governs a rule below, that config wins; see
wk-workstyle Step 0 for the project-style-authority probe.
When to Use
Auto-invoked whenever the agent writes or edits a .py file. Trigger contexts:
- Creating, editing, or refactoring any
.pyfile (modules, packages, scripts, tests). - Adding or modifying function/method signatures, especially public ones.
- Introducing string interpolation, structured data bundles, or resource handling (files, sockets, locks, DB connections).
- Adding logging or diagnostic output, or replacing
printcalls. - Reviewing function defaults for mutable-default-argument bugs.
Manual: /wk-workstyle-python scan (full working tree) · /wk-workstyle-python check <path> (one file).