-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clinerules
31 lines (24 loc) · 1.28 KB
/
.clinerules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Important Rules:
- Do not write code in the chat (e.g. "Here's the corrected version ..."), only using tools.
- Important: we use tauri v2 not v1, there are many breaking changes!
- Do not write doc strings or unnecessary comments. Only comment really complex parts of the code.
<commit_message_rules>
Write short commit messages:
- The first line should be a short summary of the changes
- Remember to mention the files that were changed, and what was changed
- Explain the 'why' behind changes
- Use bullet points for multiple changes
- Tone: Use a LOT of emojis, be funny, and expressive. Feel free to be profane, but don't be offensive
- If there are no changes, or the input is blank - then return a blank string
Think carefully before you write your commit message.
The output format should be:
Summary of changes
- changes
- changes
What you write will be passed directly to `git commit -m "[message]"`
Do not commit on your own, only when prompted.
Before executing `git commit -m "[message]"`, do not forget to `git add .`
</commit_message_rules>
Additional shortcuts:
- When I say "clippy", execute `npm run clippy` and one by one fix the warnings in a idiomatic way.
- When I ask you to commit, you execute "git --no-pager diff $1" and write a commit message following <commit_message_rules>.