create-agent-skills 1.1.1 โ 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/git-commit/SKILL.md +45 -0
package/package.json
CHANGED
|
@@ -63,6 +63,51 @@ Before committing, ask yourself:
|
|
|
63
63
|
| `ci` | ๐ท CI configuration | `ci: add GitHub Actions` |
|
|
64
64
|
| `chore` | โป๏ธ Other maintenance | `chore: update .gitignore` |
|
|
65
65
|
|
|
66
|
+
## Optional: Emoji Prefix Format
|
|
67
|
+
|
|
68
|
+
You can optionally prefix commit messages with emojis for better visual scanning:
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
<icon> <type>(<scope>): <subject>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Format Examples
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# With emoji prefix
|
|
78
|
+
๐ fix(api): handle null response
|
|
79
|
+
โจ feat(auth): add OAuth login
|
|
80
|
+
๐ docs: update installation guide
|
|
81
|
+
๐ง refactor(utils): simplify validation logic
|
|
82
|
+
๐ perf(query): optimize database queries
|
|
83
|
+
|
|
84
|
+
# Standard format (also valid)
|
|
85
|
+
fix(api): handle null response
|
|
86
|
+
feat(auth): add OAuth login
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Type to Emoji Mapping
|
|
90
|
+
|
|
91
|
+
| Type | Emoji | Unicode |
|
|
92
|
+
|------|-------|---------|
|
|
93
|
+
| `feat` | โจ | `:sparkles:` |
|
|
94
|
+
| `fix` | ๐ | `:bug:` |
|
|
95
|
+
| `docs` | ๐ | `:books:` |
|
|
96
|
+
| `style` | ๐จ | `:art:` |
|
|
97
|
+
| `refactor` | ๐ง | `:wrench:` |
|
|
98
|
+
| `perf` | ๐ | `:rocket:` |
|
|
99
|
+
| `test` | ๐งช | `:test_tube:` |
|
|
100
|
+
| `build` | ๐ฆ | `:package:` |
|
|
101
|
+
| `ci` | ๐ท | `:construction_worker:` |
|
|
102
|
+
| `chore` | โป๏ธ | `:recycle:` |
|
|
103
|
+
| `revert` | โช | `:rewind:` |
|
|
104
|
+
| `hotfix` | ๐ | `:ambulance:` |
|
|
105
|
+
| `security` | ๐ | `:lock:` |
|
|
106
|
+
| `wip` | ๐ง | `:construction:` |
|
|
107
|
+
|
|
108
|
+
> [!TIP]
|
|
109
|
+
> Using emojis is **optional** and depends on team preference. Both formats are valid. The emoji helps quickly identify commit types when scanning git log.
|
|
110
|
+
|
|
66
111
|
## Subject Line Rules
|
|
67
112
|
|
|
68
113
|
1. **Use imperative mood**: "add" not "added" or "adds"
|