Power Tips
Be Specific
You need to be specific on what do you want. Example prompt is given below:
create a responsive portfolio website with React, including a hero section, project gallery with hover effects, contact form with validation, and dark mode support..
Use the --review Flag
ALWAYS use --review when working on important code. It's like a safety net. Example prompt is given below:
create a responsive portfolio website with React, including a hero section, project gallery with hover effects, contact form with validation, and dark mode support. --review
Start Small & Irerate
Don't try to build your entire app in one command. Break it down:
-
"Create the basic project structure"
-
"Add authentication"
-
"Build the dashboard"
-
"Add data fetching"
This gives you more control and makes debugging easier!
Use Version Control
You will develop too fast and versioning is very important, otherwise you will be lost
Don't blindly Develop, Keep a close watch on code
Don't just use Claude blindly. Read the code it generates! You'll learn many things:
- Best practices
- New libraries and patterns
- Better ways to structure your code
- Code manually at times, when AI cannot do the task.
Context is King
When working with existing projects, give Claude context. Example prompt is given below:
This is a React app using Redux for state management. Add a new feature that integrates with our existing Redux store for user preferences
The more context, the better it fits your existing architecture!
Video Tutorial
π www.genai-mentor.ai