Skip to content

Commit fca3924

Browse files
committed
- add Create commit messages section to PROMPTS.md with detailed instructions
- include both command line and IDE options for copying changes as patch - add prompt template for generating bullet-point commit messages
1 parent 8e47581 commit fca3924

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

PROMPTS.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,35 @@ Our goal is to improve it thoroughly.
226226
<task>
227227
Raise the quality of this standalone page to a highly sophisticated and professional level and provide the updated code.
228228
</task>
229+
```
230+
231+
## Create commit messages
232+
233+
To copy changes to clipboard for pasting:
234+
235+
**Command line:**
236+
```bash
237+
git diff | pbcopy # macOS
238+
git diff | clip # Windows
239+
git diff | xclip # Linux
240+
```
241+
242+
**IDEs:**
243+
- **IntelliJ/WebStorm/PyCharm:** Open Commit panel → select files → right-click → "Copy as Patch to Clipboard"
244+
- **VS Code:** Install Git Patch extension → right-click file in diff view → "Copy as Git Patch"
245+
- **Visual Studio:** Team Explorer → Changes → right-click files → "Copy Change"
246+
- **Eclipse:** Select changed files in Git Staging view → right-click → "Copy Patch to Clipboard"
247+
248+
**Prompt:**
249+
```
250+
Please write a concise but technical accurate commit message in the form of bullet points with lowercase first letters in a code block for the attached changes.
251+
252+
Requirements:
253+
* Use backticks whenever appropriate
254+
* Focus on major changes
255+
* Use hyphens
256+
* Avoid redundancy
257+
* Use present tense and no conjugation
258+
259+
If you see any major errors or mistakes, please point them out.
229260
```

0 commit comments

Comments
 (0)