docs: Add example output to commit message prompts

- Added example commit message format to GitHub prompt file
- Added example commit message format to GitLab prompt file
- Demonstrates proper structure with feature type and API details
This commit is contained in:
bobo.yang 2025-03-07 11:39:33 +08:00
parent 6b04c3de11
commit 389ad70c2e
2 changed files with 16 additions and 0 deletions

View File

@ -39,3 +39,11 @@ Related issue:
{__ISSUE__}
Utilize the provided format to craft a commit message that adheres to the stipulated criteria.
example output:
```commit
feature: add update user info API
- add post method api /user/update
- implement update user info logic
```

View File

@ -39,3 +39,11 @@ Related issue:
{__ISSUE__}
Utilize the provided format to craft a commit message that adheres to the stipulated criteria.
example output:
```commit
feature: add update user info API
- add post method api /user/update
- implement update user info logic
```