Writing code
DeepSeek
Upgrade migration: list breaking changes first (strict)
Give the rollback plan and verification steps
Prompt
Copy it whole, then replace the brackets with your own contentCode task: an upgrade migration, list the breaking changes first. Code/error: [paste] Environment: [language/version/framework] Requirements: give a rollback plan and verification steps. 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.
Replace the text in [ ] with your own situation; ask long tasks in stages.
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.
DeepSeekDeepSeek is a conversational product on the web, in an app, and through an API. It handles reasoning questions with a chain of thought, code generation and debugging, reading long documents, and structured summaries.
The model weights are open, so it can be deployed on your own hardware, and the API is compatible with the OpenAI call format. The web chat works directly, while the API is billed per token in one of the lower domestic price tiers.
Rates and limits follow platform announcements. It is not intended for strong multimodal work such as image or video generation, or for real-time customer service that demands stable low latency.
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