General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
76
Review Python code for clarity, safety, and performance.
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Summary: Provide actionable feedback on Python code quality.
Input:
def calculate_sum(numbers):
total = 0
for num in numbers:
total = total + num
return total
Output:
sum(), add type hints and guards.