pytest Prompts
# pytest Prompts
## Build
Use the pytest skill. Inspect existing project conventions, implement the requested change using idiomatic pytest patterns, verify with pytest targeted runs, fixture scope review, coverage checks, and failure reproduction, and summarize changed files and risks.
## Review
Use the pytest skill. Review the change for correctness, maintainability, security, performance, and pytest-specific pitfalls such as overbroad fixtures, order-dependent tests, excessive mocking, slow integration tests in unit layers, and unclear assertions. Provide findings by severity.
## Debug
Use the pytest skill. Reproduce or reason through the issue, inspect relevant files and runtime signals, identify the likely cause, apply a focused fix if requested, and verify with pytest targeted runs, fixture scope review, coverage checks, and failure reproduction.
## Document
Use the pytest skill. Create documentation that explains setup, usage, configuration, limitations, and troubleshooting for this repository's pytest implementation.when to use it
Community prompt sourced from the open-source GitHub repo HasainalFaruk/AI-Engineer-Pack (no explicit license). A "pytest Prompts" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
writingcommunitygeneral
source
HasainalFaruk/AI-Engineer-Pack · no explicit license
more in Writing
Writing✓ tested
Explain anything to a smart friend
great teacher who refuses to dumb things down
Writing✓ tested
Line-edit my draft (keep my voice)
sharp copy editor who tightens without flattening
Writing✓ tested
Outline a long piece before you write it
editor who structures the argument before a word is drafted