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
{{ message }}
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: apps/base-docs/docs/pages/builderkits/onchainkit/guides/ai-prompting-guide.mdx
+23-25Lines changed: 23 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Developer's Guide to Effective AI Prompting'
2
+
title: 'AI Prompting Guide'
3
3
description: Learn practical AI prompting techniques to enhance your coding workflow and get better results from AI coding assistants.
4
4
author: sohey
5
5
---
@@ -25,10 +25,10 @@ This is why providing relevant context upfront is crucial \- the AI can only wor
25
25
26
26
To get the most out of AI assistants:
27
27
28
-
1.**Prioritize relevant information**: Focus on sharing the most important details first
29
-
2.**Remove unnecessary content**: Avoid pasting irrelevant code or documentation
30
-
3.**Structure your requests**: Use clear sections and formatting to make information easy to process
31
-
4.**Reference external resources**: For large codebases, consider sharing only the most relevant files
28
+
1.**Prioritize relevant information**: Focus on sharing the most important details first.
29
+
2.**Remove unnecessary content**: Avoid pasting irrelevant code or documentation.
30
+
3.**Structure your requests**: Use clear sections and formatting to make information easy to process.
31
+
4.**Reference external resources**: For large codebases, consider sharing only the most relevant files.
32
32
33
33
For larger projects, create and reference a central documentation file that summarizes key information, rather than repeatedly explaining the same context.
34
34
@@ -72,12 +72,12 @@ A comprehensive instructions file helps AI tools understand your project better.
72
72
```
73
73
Create a detailed instructions.md file for my project with the following sections:
74
74
75
-
1. Overview: Summarize the project goals, problem statements, and core functionality
76
-
2. Tech Stack: List all technologies, libraries, frameworks with versions
77
-
3. Project Structure: Document the file organization with explanations
78
-
4. Coding Standards: Document style conventions, linting rules, and patterns
79
-
5. User Stories: Key functionality from the user perspective
80
-
6. APIs and Integrations: External services and how they connect
75
+
1. Overview: Summarize the project goals, problem statements, and core functionality.
76
+
2. Tech Stack: List all technologies, libraries, frameworks with versions.
77
+
3. Project Structure: Document the file organization with explanations.
78
+
4. Coding Standards: Document style conventions, linting rules, and patterns.
79
+
5. User Stories: Key functionality from the user perspective.
80
+
6. APIs and Integrations: External services and how they connect.
81
81
```
82
82
83
83
:::info
@@ -111,8 +111,6 @@ Here's the relevant code:
111
111
[paste your code]
112
112
```
113
113
114
-
###
115
-
116
114
### **Ask for Iterations**
117
115
118
116
Start simple and refine through iterations rather than trying to get everything perfect in one go.
@@ -121,10 +119,10 @@ Start simple and refine through iterations rather than trying to get everything
121
119
122
120
```
123
121
Let's approach this step by step:
124
-
1. First, implement a basic version of [feature] with minimal functionality
125
-
2. Then, we'll review and identify areas for improvement
126
-
3. Next, let's add error handling and edge cases
127
-
4. Finally, we'll optimize for performance
122
+
1. First, implement a basic version of [feature] with minimal functionality.
123
+
2. Then, we'll review and identify areas for improvement.
124
+
3. Next, let's add error handling and edge cases.
125
+
4. Finally, we'll optimize for performance.
128
126
129
127
Please start with step 1 now.
130
128
```
@@ -148,10 +146,10 @@ I'm implementing a swap component with OnchainKit. Here's the relevant LLMs.txt:
0 commit comments