Practical Techniques for Claude Code and Codex CLI
https://coding-with-ai.dev/
https://github.com/inmve/coding-with-ai
The website contains practical techniques for effective work with AI assistants. Each stage has a checklist.
Raise the following topic-sections:
1. Planning (preparation for working with AI),
2. UI & Prototype (rapid creation of interfaces and prototypes),
3. Coding (efficient code generation and manipulation),
4. Debuging (identifying and fixing errors with AI),
5. Testing & QA (ensuring code quality through tests),
6. Review (checking and improving AI-generated code)
and Cross-stage (general advice for all stages).
The main idea: "Brain First, AI Second" meaning to think independently first, and then use AI for interface prototyping and delegating tedious, systematic tasks.
Start working with AI with thorough planning - choose stable "boring" libraries and provide extremely detailed specifications. At least sketch the interface. It's better to start with some code, you can write the main algorithm yourself. And write tests at the beginning.
It is important to create a context-memory file (for example, `AGENTS.md`). Actively manage context, interrupt the agent if it deviates from the course, and use it as a learning partner by asking open-ended questions to choose one of several options. Write everything to logs as much as possible. Use screenshots to explain problems.
Run multiple agents in parallel on separate tasks without conflicts. Keep the code as simple as possible, ask for refactoring and simplification repeatedly. It's better to generate your own code instead of connecting more and more third-party libraries.
Always read generated code! Use a second agent without chat history to check the code. Never delegate testing entirely to AI, always check the code yourself and thoroughly review all changes (diff
).
Start with cheaper models (Sonnet 4), moving to more complex ones (Opus 4.1) only when necessary. Claude models can adjust effort using the words think
< think hard
< think harder
< ultrathink.
. For interfaces, using more beautiful
or more elegant
works.
#claudecode #openaicodex