Skip to content

Commit bf876e6

Browse files
committed
docs: add conventional commits guidelines to copilot instructions
1 parent 8d7ce5b commit bf876e6

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,31 @@ This is a personal blog built with:
5555

5656
Content is stored in the `content/` directory with blog posts in `content/1.posts/`.
5757

58+
## Commit Message Guidelines
59+
60+
Always use [Conventional Commits](https://www.conventionalcommits.org/) format for commit messages:
61+
62+
```
63+
<type>(<scope>): <subject>
64+
65+
<body>
66+
```
67+
68+
**Common types:**
69+
- `feat:` - A new feature
70+
- `fix:` - A bug fix
71+
- `docs:` - Documentation changes
72+
- `style:` - Code style changes (formatting, missing semicolons, etc.)
73+
- `refactor:` - Code refactoring without changing functionality
74+
- `test:` - Adding or updating tests
75+
- `chore:` - Maintenance tasks, dependency updates, etc.
76+
77+
**Examples:**
78+
- `docs: add missing 'retro' tag to retrospective posts`
79+
- `feat: add dark mode support`
80+
- `fix: resolve navigation menu alignment issue`
81+
- `chore: update dependencies to latest versions`
82+
5883
## Nuxt UI v3 Styling Guidelines
5984

6085
When customizing Nuxt UI v3 components:

0 commit comments

Comments
 (0)