You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/content/tips/other-use-cases.mdx
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,13 @@ Get feedback on your changes:
15
15
16
16
```bash
17
17
# Review current changes
18
-
codebuff <project-path>"Please review my current changes"
18
+
codebuff "Please review my current changes"
19
19
20
20
# Review branch
21
-
codebuff <project-path>"Review the differences between this branch and main"
21
+
codebuff "Review the differences between this branch and main"
22
22
23
23
# Review specific files
24
-
codebuff <project-path>"Review the changes in src/components/auth/*"
24
+
codebuff "Review the changes in src/components/auth/*"
25
25
```
26
26
27
27
## Git Workflow Commands
@@ -30,10 +30,10 @@ Manage your git workflow:
30
30
31
31
```bash
32
32
# Create commit message
33
-
codebuff <project-path>"Generate a commit message for these changes"
33
+
codebuff "Generate a commit message for these changes"
34
34
35
35
# Clean up commits
36
-
codebuff <project-path>"Help me squash the last 3 commits into one"
36
+
codebuff "Help me squash the last 3 commits into one"
37
37
```
38
38
39
39
## Codebase Questions
@@ -42,10 +42,10 @@ Understand your codebase:
42
42
43
43
```bash
44
44
# Architecture questions
45
-
codebuff <project-path>"Explain how our authentication system works"
45
+
codebuff "Explain how our authentication system works"
46
46
47
47
# Find examples
48
-
codebuff <project-path>"Show me examples of error handling in our codebase"
48
+
codebuff "Show me examples of error handling in our codebase"
49
49
```
50
50
51
51
## Script Generation
@@ -54,10 +54,10 @@ Create scripts for common tasks:
54
54
55
55
```bash
56
56
# Data processing
57
-
codebuff <project-path>"Write a script to calculate our churn this month"
57
+
codebuff "Write a script to calculate our churn this month"
58
58
59
59
# Build automation
60
-
codebuff <project-path>"Create a script to automate our release process"
60
+
codebuff "Create a script to automate our release process"
61
61
```
62
62
63
63
## Documentation Commands
@@ -66,13 +66,13 @@ Generate and update documentation:
66
66
67
67
```bash
68
68
# API docs
69
-
codebuff <project-path>"Document this new API endpoint"
69
+
codebuff "Document this new API endpoint"
70
70
71
71
# Component docs
72
-
codebuff <project-path>"Add JSDoc comments to this React component"
72
+
codebuff "Add JSDoc comments to this React component"
73
73
74
74
# README updates
75
-
codebuff <project-path>"Update the README with the new environment variables"
75
+
codebuff "Update the README with the new environment variables"
76
76
```
77
77
78
78
## Configuration Commands
@@ -81,10 +81,10 @@ Handle configuration tasks:
81
81
82
82
```bash
83
83
# Tool setup
84
-
codebuff <project-path>"Help me configure ESLint for this project"
84
+
codebuff "Help me configure ESLint for this project"
85
85
86
86
# Build config
87
-
codebuff <project-path>"Update webpack to handle .mdx files"
87
+
codebuff "Update webpack to handle .mdx files"
88
88
```
89
89
90
90
## SQL Commands
@@ -93,16 +93,16 @@ Get help with database operations:
93
93
94
94
```bash
95
95
# Query writing
96
-
codebuff <project-path>"Help me write a query to find users who haven't logged in for 30 days"
96
+
codebuff "Help me write a query to find users who haven't logged in for 30 days"
97
97
98
98
# Query optimization
99
-
codebuff <project-path>"How can I make this query faster?"
99
+
codebuff "How can I make this query faster?"
100
100
101
101
# Index suggestions
102
-
codebuff <project-path>"What indexes should I add for this query?"
102
+
codebuff "What indexes should I add for this query?"
103
103
104
104
# Schema changes
105
-
codebuff <project-path>"Help me write a migration to add a status column"
105
+
codebuff "Help me write a migration to add a status column"
106
106
```
107
107
108
108
Remember that Codebuff understands natural language, so you don't need to use exact commands. Describe what you want to do in your own words, and Codebuff will help you accomplish it.
0 commit comments