posterus-ltd/yarkr-public/python-mocking
Mock Python dependencies correctly - patch where the name is looked up, autospec, monkeypatch, fakes over mocks, AsyncMock, and asserting calls without over-specifying. Use when a test needs to isolate HTTP, DB, time, env vars, filesystem or another module, or when a mock-based test passes but shouldn't.
Agent skill · version 0.0.0-arks-library.1792108574.gbefeb5a · from posterus-ltd/yarkr-public
Install
npx yarkr-cli add skill:posterus-ltd/yarkr-public/python-mockingWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/python-mocking
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/python-mockingOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/python-mockingWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.