Skip to content

Commit 06cba73

Browse files
Update prompting/maximize-token-efficiency.mdx
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 7e66408 commit 06cba73

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

prompting/maximize-token-efficiency.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,37 +28,37 @@ Tokens are used when:
2828
**Token Limits**: Each AI has a maximum amount of text it can handle at once. If you go over, you might get errors.
2929
</Callout>
3030

31-
## Token Efficiency Strategies
31+
## How to Save Tokens
3232

33-
### Use Built-in Features Over Prompts
33+
### Use Buttons Instead of Typing
3434

35-
Leverage CodinIT's interface features instead of text prompts where possible:
35+
CodinIT has buttons and menus that don't use tokens:
3636

37-
- **Example Prompts**: Use the suggested prompt buttons instead of typing similar requests
38-
- **File Operations**: Use the file tree and editor features instead of asking for file operations
39-
- **Terminal Commands**: Run commands directly in the terminal instead of asking the AI to execute them
37+
- **Example prompts**: Click suggested prompts instead of typing
38+
- **File operations**: Use the file tree to create/delete files
39+
- **Terminal**: Run commands yourself instead of asking AI
4040

41-
### Optimize Your Communication Style
41+
### Write Better Requests
4242

43-
**Be Specific and Concise:**
43+
**Be specific and short:**
4444

4545
```
4646
❌ "Make this website look better"
47-
✅ "Add a hero section with gradient background, centered heading, and call-to-action button to the homepage"
47+
✅ "Add a hero section with gradient background, centered heading, and button"
4848
```
4949

50-
**Provide Context Efficiently:**
50+
**Give helpful details:**
5151

5252
```
53-
❌ "Fix the login page" (requires AI to explore entire codebase)
54-
✅ "Fix the password validation error on /login - the error occurs when password is less than 8 characters"
53+
❌ "Fix the login page" (AI has to search everything)
54+
✅ "Fix the password error on /login - it breaks when password is less than 8 characters"
5555
```
5656

57-
**Use Structured Requests:**
57+
**Use numbered lists:**
5858

5959
```
6060
❌ "Add user authentication"
61-
✅ "Add user authentication with: 1) Login form with email/password, 2) Registration form, 3) Password reset, 4) Protected routes"
61+
✅ "Add user authentication with: 1) Login form, 2) Registration form, 3) Password reset, 4) Protected routes"
6262
```
6363

6464
## Key Efficiency Techniques

0 commit comments

Comments
 (0)