Explain preemption, timeouts and catch-up runs
Handle this code task: Scheduler - handle conflicts.
Code or error: [paste]
Environment: [language/version/framework]
Requirements: state preemption, timeout and rerun. Give the assessment first, then the changes, then how to verify.
Explain preemption, timeouts and catch-up runs
Handle this code task: Scheduler: handle conflicts.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: state preemption, timeouts and backfills. Give your assessment first, then the changes, then how to verify.
Strict mode: list your assumptions and uncertainties first; do not write any number you cannot support; end with one counterexample or risk.
Explain preemption, timeouts and catch-up runs
Handle this coding task: Scheduler: Conflict Handling.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Explain preemption, timeout, and catch-up runs. Give the diagnosis first, then the changes, then how to verify.
Beginner mode: state in one sentence what you are doing, then go step by step; explain why for each step.
Explain preemption, timeouts and catch-up runs
Code task: a scheduler, give the conflict handling.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: explain preemption, timeouts, and catch-up runs. Give your diagnosis first, then the changes, then how to verify.
Concise mode: output only the final template, ready to copy; no explanation, no small talk, under 120 words.
Give the shard key and cross-shard query plan
Handle this code task: Sharding: estimate growth first.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Give the shard key and a cross-shard query plan. Give your assessment first, then the change, then how to verify.
Give the shard key and cross-shard query plan
Code task: sharding, estimate growth first.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: give the shard key and a cross-shard query plan. Give your diagnosis first, then the changes, then how to verify.
Strict mode: list your assumptions and unknowns first; do not write numbers without evidence; end with a counterexample or risk.
Give the shard key and cross-shard query plan
Handle this coding task: Sharding: estimate growth first.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Give shard keys and a cross-shard query plan. Give your assessment first, then the change, then how to verify it.
Beginner mode: start with one sentence saying what you are doing, then go step by step; explain why each step is done this way.
Give the shard key and cross-shard query plan
Handle this code task: Sharding: estimate growth first.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Give the shard key and a cross-shard query plan. Give your assessment first, then the change, then how to verify.
Concise mode: output only the final template, ready to copy; no explanation, no pleasantries, under 120 words.
Explain what is generated and what a human must check
Handle this coding task: Code Generation: Templates and Constraints.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Explain what is generated and what humans must review. Give the diagnosis first, then the changes, then how to verify.
Explain what is generated and what a human must check
Handle this code task: Code generation: templates and constraints.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: State the generation scope and what needs manual checking. Give your assessment first, then the change, then how to verify.
Strict mode: list your assumptions and uncertainties first; do not write numbers without support; end with one counterexample or risk.
Explain what is generated and what a human must check
Handle this code task: Code generation - template and constraints.
Code or error: [paste]
Environment: [language/version/framework]
Requirements: state the generation scope and manual review. Give the assessment first, then the changes, then how to verify.
Beginner mode: say in one sentence what you are doing, then go step by step; explain why each step is done that way.
Explain what is generated and what a human must check
Handle this code task: Code generation - template and constraints.
Code or error: [paste]
Environment: [language/version/framework]
Requirements: state the generation scope and manual review. Give the assessment first, then the changes, then how to verify.
Concise mode: output only the final template ready to copy, no explanation and no pleasantries, within 120 words.
Rank by risk, frequency and fix cost
Handle this coding task: Tech Debt: Assign Priority.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Rank by risk, frequency, and fix cost. Give the diagnosis first, then the changes, then how to verify.
Rank by risk, frequency and fix cost
Handle this code task: Tech debt: give priorities.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Rank by risk, frequency and fix cost. Give your assessment first, then the change, then how to verify.
Strict mode: list your assumptions and uncertainties first; do not write numbers without support; end with one counterexample or risk.
Rank by risk, frequency and fix cost
Please handle this code task: Technical debt: set priorities.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: rank by risk, frequency, and fix cost. Give the diagnosis first, then the changes, then the verification method.
Beginner mode: state in one sentence what you are doing, then go step by step; explain why each step is done that way.
Rank by risk, frequency and fix cost
Handle this coding task: Tech Debt: Assign Priority.
Code/error: [paste]
Environment: [language/version/framework]
Requirements: Rank by risk, frequency, and fix cost. Give the diagnosis first, then the changes, then how to verify.
Concise mode: output only the final template that can be copied directly, no explanation, no small talk, keep it under 120 words.
Paste the full error and code; locate the cause before changing anything
Below is the error I hit and the related code. First list the 3 most likely root causes ranked by probability, then give the smallest possible change, then a test that verifies the fix. Do not rewrite the whole file.
Error: [paste stack trace]
Code: [paste relevant snippet]
Environment: [language/version/framework]
Don't judge style; report only bugs, performance and security risks
Please review this code and report only issues that would cause errors, significant performance degradation, or security risks. For each, give: the problem, the trigger conditions, and the minimal fix. Do not mention style preferences.
Code: [paste code]
Name the code smells first, then change in small steps that can each be rolled back
Refactor this code without changing external behavior. First point out the code smells you identify, then give the changes in small steps that can each be rolled back independently, with a way to verify every step. Do not rewrite it all in one go.
Code: [paste code]
Constraint: [no dependency upgrades / must stay compatible with PHP 8.1]