You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/commit-guidelines/SKILL.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,9 @@ description: Guidelines for analyzing changes and creating branches and commits
7
7
8
8
-**MUST NOT** skip hooks execution under any circumstances
9
9
10
-
## 1: Analyze Changes
10
+
## Analyze Changes
11
11
12
+
- Perform a comprehensive review of all the changes
12
13
- Perform a full security analysis before committing (see `security` skill)
13
14
- Validate documentation and reference integrity (e.g. documentation links, path references, hardcoded paths, test file references)
14
15
- Analyze diffs and identify:
@@ -18,14 +19,17 @@ description: Guidelines for analyzing changes and creating branches and commits
18
19
- Atomic operations across multiple files
19
20
- Small related changes
20
21
- Breaking changes
21
-
- Determine commit message constraints before drafting messages:
22
-
- Check for commitlint configuration in this order: `commitlint.config.*`, `.commitlintrc*`, then `package.json``commitlint` section
23
-
- If commitlint config exists, follow its rules (including inherited presets)
24
-
- If no commitlint config exists, use Conventional Commits (`<type>[(<scope>)][!]: <summary>`)
25
22
26
-
## 2: Branch and Commit
23
+
## Branch
27
24
28
25
- Create a new branch using concise AND descriptive branch names from analysis. It is your job to generate the branch name, do not ask the user to provide it
26
+
27
+
## Commit
28
+
29
+
-**MUST** determine and follow commit title and message constraints before drafting messages:
30
+
- Check for commitlint configuration in this order: `commitlint.config.*`, `.commitlintrc*`, then `package.json``commitlint` section
31
+
- If commitlint config exists, follow its rules (including inherited presets)
32
+
- If no commitlint config exists, use Conventional Commits (`<type>[(<scope>)][!]: <summary>`)
29
33
- Create separate commits for:
30
34
- Different functional areas or independent concerns
31
35
- Different change types
@@ -37,4 +41,6 @@ description: Guidelines for analyzing changes and creating branches and commits
37
41
- Breaking changes should be clearly marked and include details
38
42
- Request explicit approval, never auto-commit without user confirmation
39
43
40
-
> For pushing and opening a pull request, see `pr-guidelines` skill.
44
+
## Pull Request
45
+
46
+
- For pushing and opening a pull request, see `pr-guidelines` skill.
0 commit comments