|
|
@@ -32,15 +32,16 @@ Automate the Git commit and push process by intelligently analyzing file changes
|
|
|
|
|
|
- Generate a semantic commit message following conventional commit format
|
|
|
- Include the file paths of changed files in the commit message
|
|
|
+ - The version change should follow the commit message type ,especially whhen the commit type is feat or fix
|
|
|
- Examples:
|
|
|
- - `feat: add new workflow creation process in .clinerules/workflows/create-new-workflow.md`
|
|
|
- - `fix: resolve authentication issue in src/API/security/userActions.ts`
|
|
|
+ - `feat (1.22.1 -> 1.23.0): add new workflow creation process in .clinerules/workflows/create-new-workflow.md`
|
|
|
+ - `fix (1.22.1 -> 1.23.0): resolve authentication issue in src/API/security/userActions.ts`
|
|
|
- `docs: update README.md with installation instructions`
|
|
|
3. Based on the file changes , a new changelog item should be appended in the changelog.md file ,and the new content should be put at the top to ensuer it is the first changelog item , as to the content , you can refer the changelog.md file , and make sure the title should contain date and time such as ## [1.8.0] - 2025-12-15 16:14
|
|
|
4. Based on the commmit message type ,such as feat , or fix .etc. you should change the version in the package.json file which is located in the project directory
|
|
|
5. Ensure the commit message is descriptive and includes relevant file paths for clarity.
|
|
|
6. Ensure the commit message contains modified files which are changed or new added files . the commit message should be in Chinese . the files list locates below the commit message and contribute to the commit messsage. Examplse :
|
|
|
- `feat: 实现曝光模式切换功能并集成设备API下发
|
|
|
+ `feat (1.22.1 -> 1.23.0): 实现曝光模式切换功能并集成设备API下发
|
|
|
|
|
|
- 在 APRActions.ts 中导出 setExposureModeFromAction API
|
|
|
- 在 aprSlice.ts 中添加 setExposureModeThunk 异步thunk和状态处理
|
|
|
@@ -63,7 +64,7 @@ Automate the Git commit and push process by intelligently analyzing file changes
|
|
|
|
|
|
## 3. Present Command List for User Review
|
|
|
|
|
|
-1. Show the generated commit message prominently so the user can verify its accuracy.
|
|
|
+1. Important ! Show the generated commit message prominently so the user can verify its accuracy.
|
|
|
|
|
|
## 4. Interactive Command Execution Confirmation
|
|
|
|