Skip to content

Commit ebe67ac

Browse files
committed
docs: move commit message guidelines to AGENTS.md
Consolidates commit message and AI attribution guidelines from git-workflow.md into AGENTS.md for better visibility. Assisted-by: GLM-5 via opencode Reviewbot-request: yes Signed-off-by: Xe Iaso <me@xeiaso.net>
1 parent 2f18b99 commit ebe67ac

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

.claude/git-workflow.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
# Git Workflow
22

3-
## Commit Messages
4-
5-
Follow **Conventional Commits**:
6-
7-
```text
8-
<type>[optional scope]: <description>
9-
10-
[optional body]
11-
12-
[optional footer(s)]
13-
```
14-
15-
**Types:** `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`
16-
17-
- Add `!` after type/scope for breaking changes or include `BREAKING CHANGE:` in the footer.
18-
- Descriptions: concise, imperative, lowercase, no trailing period.
19-
- Reference issues/PRs in the footer when applicable.
20-
- All commits require `--signoff`.
21-
22-
## AI Attribution
23-
24-
AI-generated commits must include these footers:
25-
26-
```text
27-
Assisted-by: [Model Name] via [Tool Name]
28-
Reviewbot-request: yes
29-
```
30-
313
## Pull Requests
324

335
- Include a clear description of changes

AGENTS.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,34 @@ Go monorepo for within.website services. JS tooling via npm.
1818
- `internal.HandleStartup()` calls `flag.Parse()` — binaries must **not** call `flag.Parse()` themselves.
1919
- All git commits require `--signoff`.
2020

21+
## Commit Messages
22+
23+
Follow **Conventional Commits**:
24+
25+
```text
26+
<type>[optional scope]: <description>
27+
28+
[optional body]
29+
30+
[optional footer(s)]
31+
```
32+
33+
**Types:** `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`
34+
35+
- Add `!` after type/scope for breaking changes or include `BREAKING CHANGE:` in the footer.
36+
- Descriptions: concise, imperative, lowercase, no trailing period.
37+
- Reference issues/PRs in the footer when applicable.
38+
- All commits require `--signoff`.
39+
40+
## AI Attribution
41+
42+
AI-generated commits must include these footers:
43+
44+
```text
45+
Assisted-by: [Model Name] via [Tool Name]
46+
Reviewbot-request: yes
47+
```
48+
2149
## Guidelines
2250

2351
- [Code Style](.claude/code-style.md)

0 commit comments

Comments
 (0)