Role: Senior backend engineer refactoring a payment module. Objective: Extract the retry logic in PaymentGateway into its own class. Success criteria: Existing tests pass. Retry behavior stays the same. No new public methods on PaymentGateway. Constraints: Don't touch the database schema. Don't add new dependencies. Output format: A diff, followed by a two-sentence summary of what moved. Stopping rules: If a test needs new mocking infrastructure to pass, stop and ask before adding it. Otherwise proceed without confirming each file. Effort: medium.
Created
August 6, 2026 03:06
-
-
Save mcsee/8a739ccc11307679599b5da8ce304029 to your computer and use it in GitHub Desktop.
AI Coding Tip 031 - Good prompt: 2026 template with effort, scope, and stopping rules
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment