/engineering-practices:python-best-practicesfrom engineering-practices
Use when writing or changing Python files (.py, pyproject.toml, requirements.txt).
Ships in engineering-practices. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follows the type, error, and assertion law in code-law. This skill covers language-specific idioms only.
Restrict who can do it — Python cannot hide a call, so keep an effect that needs a scope (a lock, a transaction) inside that scope: a context manager or a method of the object that owns the state, not a free function callers must remember to guard. Correct types are the proof where the type checker can see them.
assert_has_calls and mock_calls on a MagicMock standing in for your own collaborator grade the order of the calls, not the result — the change-detector shape in testing-best-practices. Prefer a small class satisfying the Protocol and assert its return value; autospec=True binds the signature, not the behavior. Reach for assert_called_once_with only where firing exactly once is the contract.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/agent-browserUse when driving a browser the agent owns through the agent-browser CLI — opening pages, clicking and filling by snapshot refs, screenshots, testing a web app, or extracting data from a rendered page./agent-deviceUse when driving an iOS, Android, macOS, or TV app through the agent-device CLI — opening an app on a simulator, emulator, or device, tapping and filling by snapshot refs, capturing screenshots, logs, or recordings, or replaying a scripted flow./agent-operabilityUse when designing or changing a CLI, API, control plane, or automation surface that an agent must inspect, operate, and verify safely./atlas-best-practicesUse when working with atlas.hcl, Atlas CLI commands, schema HCL/SQL files, or migration planning and reviews./brief-best-practicesUse when a surface needs a durable quality agreement or the user requests a BRIEF.md; ordinary drafts and repeated edits do not automatically need one./canton-network-reposUse when working with Canton Network participants, DAML smart contracts, Splice applications, or debugging LF version and package ID issues.npx claudepluginhub alleneubank/agent-profile --plugin engineering-practices