rails_skills 0.2.0 → 0.2.1
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03c6340c54476e1461bcd09b5555135c7394feb027482313bfa70cc9b03c040c
|
|
4
|
+
data.tar.gz: dc0fed169889191177353cc7732dbb0a1585515a8c95bcbaca089f26c3fc4272
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ad4b1bc1c3d7849cfbbd784b2c913d9f8075ba41ad84108d0ddb3fa1c8e4b91da529112b1a54d1f99d92f8900292551c7acf0ef3c6ce8ea492028473caee9fe
|
|
7
|
+
data.tar.gz: 2aa688d5b29e489796708a42542a5aded29a46f9c58c1189aaf969942867342c4307f396d4408fa3132f3cc37c186d87f9ce5b5ee24335fa4ee5f7d089232532
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: commit
|
|
3
3
|
description: Git commit workflow and conventions
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
---
|
|
6
5
|
|
|
7
|
-
#
|
|
6
|
+
# Workflow
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
| `git add -p` | Stage interactively |
|
|
16
|
-
| `git commit` | Create commit |
|
|
8
|
+
1. **Check status**: `git status`
|
|
9
|
+
2. **Review changes**: `git diff`
|
|
10
|
+
3. **Analyze missing docs/skills** - If you see changes to domains listed in skills/domains - review the need to update the skill doc
|
|
11
|
+
3. **Stage files**: `git add <files>` (prefer specific files over `-A`)
|
|
12
|
+
4. **Commit**: `git commit -m "type: message"`
|
|
13
|
+
5. **Push**: Push only if explicitly asked so, use `git push origin {current branch}`
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
# Commit Message Format
|
|
19
16
|
|
|
20
17
|
```
|
|
21
18
|
<type>: <subject>
|
|
@@ -25,7 +22,7 @@ version: 1.0.0
|
|
|
25
22
|
<footer>
|
|
26
23
|
```
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
## Types
|
|
29
26
|
|
|
30
27
|
- **feat**: New feature
|
|
31
28
|
- **fix**: Bug fix
|
|
@@ -35,7 +32,7 @@ version: 1.0.0
|
|
|
35
32
|
- **test**: Adding or updating tests
|
|
36
33
|
- **chore**: Maintenance tasks
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
## Examples
|
|
39
36
|
|
|
40
37
|
```
|
|
41
38
|
feat: Add user authentication
|
|
@@ -52,19 +49,3 @@ fix: Prevent duplicate form submissions
|
|
|
52
49
|
Add disable_with to submit buttons to prevent
|
|
53
50
|
users from clicking multiple times.
|
|
54
51
|
```
|
|
55
|
-
|
|
56
|
-
## Workflow
|
|
57
|
-
|
|
58
|
-
1. **Check status**: `git status`
|
|
59
|
-
2. **Review changes**: `git diff`
|
|
60
|
-
3. **Stage files**: `git add <files>` (prefer specific files over `-A`)
|
|
61
|
-
4. **Commit**: `git commit -m "type: message"`
|
|
62
|
-
5. **Push**: `git push`
|
|
63
|
-
|
|
64
|
-
## Best Practices
|
|
65
|
-
|
|
66
|
-
1. Commit early, commit often
|
|
67
|
-
2. Each commit should be a single logical change
|
|
68
|
-
3. Write clear, descriptive commit messages
|
|
69
|
-
4. Don't commit generated files, secrets, or large binaries
|
|
70
|
-
5. Run tests before committing
|
data/lib/rails_skills/version.rb
CHANGED