write-puffo-python-tests SKILL.md skillA

write-puffo-python-tests from puffo-ai/puffo-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add puffo-ai/puffo-agent/write-puffo-python-tests@git:20260811.0d9f44d

Pins git:20260811.0d9f44d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
puffo-ai/puffo-agent
Path
.agents/skills/write-puffo-python-tests/SKILL.md
Versions recorded
1
Latest version
git:20260811.0d9f44d, committed Aug 11, 2026
Size
1,637 bytes
Repository stars
11
License
MIT

Add, review, consolidate, or remove Puffo Python tests with distinct regression value. Use for pytest or pytest-asyncio changes, message/runtime regressions, contract tests, concurrency tests, fixture design, test-file splits, or deciding whether a proposed test belongs in the suite.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Write Puffo Python Tests

Read `tests/AGENTS.md` first. State the exact production regression each test
guards before writing it.

## Choose The Smallest Boundary

- Use a unit test for parsing, routing, state transitions, and pure policy.
- Use a contract test when a field crosses Driver, MCP, WS, HTTP, SQLite, or
  config boundaries.
- Use an integration test only when the failure requires real collaboration
  between components.
- Use `puffo-local-chat-replay` for observed end-to-end conversation behavior;
  do not encode model wording as a deterministic unit test.

Prefer an existing test module and fixture. Mock provider, network, clock, and
filesystem boundaries, not the Puffo logic under test. Use deterministic task
ordering for async and concurrency regressions.

## Regression Workflow

1. Reproduce the failure with the smallest case.
2. Observe the test fail on broken code. If behavior already passes, use a
   temporary plausible mutation to prove the assertion can fail.
3. Implement the change without weakening the assertion.
4. Run the focused test, then the full suite.
5. Remove any older case that now guards the same failure mode.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add puffo-ai/puffo-agent/write-puffo-python-tests@sha256:33f19cfb6d48b853

The line at the top of this page pins the label git:20260811.0d9f44d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_l4xoha6mqqsg7yec.svg)](https://markdownregistry.com/a/art_l4xoha6mqqsg7yec)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 11, 2026.

versioncommittedcommitsizeaudit
git:20260811.0d9f44d latest2026-08-11 0d9f44d 1,637 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1637 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

puffo-ai/puffo-agent · 11 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_l4xoha6mqqsg7yec
GET https://markdownregistry.com/api/v1/resolve?ref=puffo-ai/puffo-agent/write-puffo-python-tests
GET https://markdownregistry.com/api/v1/blob/33f19cfb6d48b8530b7aa6dfb70eb0a276d0e1eec13456bb783841954fc47cb0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from puffo-ai/puffo-agent

evolve-puffo-runtime-contracts SKILL.md skill
puffo-ai/puffo-agent · .agents/skills/evolve-puffo-runtime-contracts/SKILL.md · Design or change Puffo Driver, MCP, WS-local, Inbox, context-control, and send-coordination interfaces without…
git:20260811.0d9f44d · audit A · 11 stars
manage-puffo-env-vars SKILL.md skill
puffo-ai/puffo-agent · .agents/skills/manage-puffo-env-vars/SKILL.md · Add, rename, migrate, or review Puffo-owned environment variables and their config precedence. Use when touching…
git:20260811.0d9f44d · audit A · 11 stars
refactor-puffo-python-components SKILL.md skill
puffo-ai/puffo-agent · .agents/skills/refactor-puffo-python-components/SKILL.md · Refactor oversized or overloaded Puffo Python files, functions, and classes into cohesive components without behavior…
git:20260811.0d9f44d · audit A · 11 stars
agent-seed SKILL.md skill
puffo-ai/puffo-agent · .claude/skills/agent-seed/SKILL.md · Seed a cloud agent's memory from a local agent and check it can serve — the `tools/seed_cloud_agent.py` workflow…
git:20260912.a3bf51b · audit A · 11 stars
AGENTS.md AGENTS.md file
puffo-ai/puffo-agent · AGENTS.md
git:20260811.0d9f44d · audit A · 11 stars
use-puffo-agent-ws-local SKILL.md skill
puffo-ai/puffo-agent · skills/use-puffo-agent-ws-local/SKILL.md · Be the brain of a Puffo agent over a localhost WebSocket. The puffo-agent ws-local client holds the connection and all…
git:20260815.b8f27ef · audit A · 11 stars
AGENTS.md@tests AGENTS.md file
puffo-ai/puffo-agent · tests/AGENTS.md
git:20260811.0d9f44d · audit A · 11 stars

Every file in puffo-ai/puffo-agent

Browse by kind, by grade A, or by owner.