home/writing/pytest-prompts

pytest Prompts

GPTClaudeGemini··1,377 copies·updated 2026-07-14
pytest-prompts.prompt
# 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