Writing code
CodeGeeX
Code review: flag only real problems
Don't judge style; report only bugs, performance and security risks
Prompt
Copy it whole, then replace the brackets with your own contentPlease 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]
First have it list the issues, then ask for fix patches one by one.
How to get better results
Read this before you fill it inOutput requirements
Give the conclusion and impact scope first, then only the changed snippets (no full files), and finally one check that proves it works. Flag risky spots separately.
How to follow up
If problems remain after the fix, paste the new error and the changed snippet back; keep debugging on the original approach, don't switch approaches and rewrite.
CodeGeeXCodeGeeX is an AI coding assistant from Zhipu, installed as an extension inside VS Code and the JetBrains family of IDEs rather than a standalone editor.
At the cursor it completes code, generates whole functions, explains the selected logic, and writes comments and unit tests automatically. It also handles language-to-language conversion such as Java to Python.
Personal use is free, which suits students and self-taught programmers, and teams that ask questions in Chinese and want Chinese comments. The enterprise edition supports local deployment, and a private environment has to go through the business channel. It is not aimed at deep refactors across a dozen files.
View tool
More like this: Writing code prompts · All prompts
Other prompts in this scenario
Debugging: root cause first, then changes
Locate the root cause first, then give the smallest change and how to verify it
Debugging: Root Cause, Then Change (Strict)
Locate the root cause first, then give the smallest change and how to verify it
Debugging: root cause before changes (beginner)
Locate the root cause first, then give the smallest change and how to verify it
Debugging: root cause before changes (concise)
Locate the root cause first, then give the smallest change and how to verify it