Overview
This page gathers common approaches for handling everyday development work with Qoder CLI CN — from exploring unfamiliar code, fixing bugs, and refactoring, to writing tests, committing, and reviewing. Each category comes with prompt examples you can use verbatim and adapt to your own project.
All examples assume interactive mode. For how to launch, see Running Tasks.
Exploring and understanding code
When facing an unfamiliar codebase, have Qoder build an overall picture for you first:
Fixing bugs
Describe the symptom and let Qoder locate and fix it:
Refactoring
Refactoring usually spans multiple files; describe the goal and constraints clearly:
Implementing features
Start from a requirement and let Qoder code:
Writing and running tests
Commits and PRs
Code review
Review your changes once before committing:
/review directly to choose the review scope — see Reviewing Changes.
Tips
- Describe goals and constraints clearly: stating what you want and what should not change significantly improves result quality.
- Focus on one thing at a time: splitting a complex task into steps is more controllable than describing all requirements at once.
- Make good use of project instructions: write project conventions into
AGENTS.mdand Qoder will follow them in every session — see Memory. - Large codebases: for practices on big repositories and monorepos, see Best Practices for Large Codebases.