@kurokeita/add-skill 1.13.0 → 1.14.0
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/dist/skills/git-branch/SKILL.md +59 -0
- package/dist/skills/git-clean/SKILL.md +92 -0
- package/dist/skills/git-clean/examples/config.json +7 -0
- package/dist/skills/git-clean/references/tool-options.md +59 -0
- package/dist/skills/git-commit/SKILL.md +65 -0
- package/dist/skills/git-pr/SKILL.md +52 -0
- package/package.json +1 -1
- package/dist/skills/git-convention/SKILL.md +0 -112
- /package/dist/skills/{git-convention → git-branch}/references/branching-workflows.md +0 -0
- /package/dist/skills/{git-convention → git-commit}/examples/commit-messages.txt +0 -0
- /package/dist/skills/{git-convention → git-commit}/references/conventional-commits.md +0 -0
- /package/dist/skills/{git-convention → git-pr}/examples/pr-description-template.md +0 -0
- /package/dist/skills/{git-convention → git-pr}/references/pr-best-practices.md +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: git-branch
|
|
3
|
+
description: This skill should be used when the user asks to "create a branch", "branch naming", "branch strategy", or "follow conventional branch". Provides guidelines for version control branching strategies and rules.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Git Branch
|
|
8
|
+
|
|
9
|
+
Guide for managing version control branching strategies following the Conventional Branch specification.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
- Creating new feature, bugfix, or maintenance branches
|
|
14
|
+
- Ensuring branch names follow project standards
|
|
15
|
+
- Managing branch lifecycle and organization
|
|
16
|
+
- Integrating issue tracker IDs into branch names
|
|
17
|
+
|
|
18
|
+
## Branching Strategy
|
|
19
|
+
|
|
20
|
+
Follow the [Conventional Branch](https://conventional-branch.github.io/) specification for consistent and descriptive branch naming.
|
|
21
|
+
|
|
22
|
+
### Structure
|
|
23
|
+
|
|
24
|
+
The branch structure follows a categorized format:
|
|
25
|
+
`<type>/<description>`
|
|
26
|
+
|
|
27
|
+
### Types (`<type>`)
|
|
28
|
+
|
|
29
|
+
- `main`: The primary development branch (e.g., `main`, `master`, or `develop`).
|
|
30
|
+
- `feat/`: For new features (e.g., `feat/add-login-page`).
|
|
31
|
+
- `fix/`: For bug fixes (e.g., `fix/header-bug`).
|
|
32
|
+
- `hotfix/`: For urgent production fixes (e.g., `hotfix/security-patch`).
|
|
33
|
+
- `release/`: For preparing a new release (e.g., `release/v1.2.0`).
|
|
34
|
+
- `chore/`: For non-code tasks like dependencies or documentation updates (e.g., `chore/update-dependencies`).
|
|
35
|
+
|
|
36
|
+
### Naming Rules
|
|
37
|
+
|
|
38
|
+
- **Character Set**: Use lowercase alphanumerics (`a-z`, `0-9`), hyphens (`-`), and dots (`.`).
|
|
39
|
+
- **Separators**: Use hyphens to separate words in the description. Dots are permitted in `release/` branches for versioning.
|
|
40
|
+
- **Restrictions**:
|
|
41
|
+
- Avoid special characters, underscores, or spaces.
|
|
42
|
+
- No consecutive hyphens or dots (e.g., avoid `new--login`).
|
|
43
|
+
- No leading or trailing hyphens/dots in the description.
|
|
44
|
+
- **Conciseness**: Keep names descriptive yet brief.
|
|
45
|
+
- **Ticket Integration**: Include project management ticket numbers if applicable (e.g., `feat/issue-123-new-login`).
|
|
46
|
+
|
|
47
|
+
### Workflow
|
|
48
|
+
|
|
49
|
+
1. Start from the main integration branch.
|
|
50
|
+
2. Ensure the local branch is up-to-date: `git pull origin main`.
|
|
51
|
+
3. Create the new branch: `git checkout -b <type>/<description>`.
|
|
52
|
+
|
|
53
|
+
## Additional Resources
|
|
54
|
+
|
|
55
|
+
### Reference Files
|
|
56
|
+
|
|
57
|
+
For detailed patterns and advanced git workflows, consult:
|
|
58
|
+
|
|
59
|
+
- **`references/branching-workflows.md`** - Advanced branching and merging strategies.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: git-clean
|
|
3
|
+
description: This skill should be used when the user asks to "clean the repository", "remove stale branches", "clear old stashes", "manage git hygiene", or "scan for redundant worktrees". Uses the @kurokeita/git-clean-up tool to audit and safely remove unused Git resources.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Git Clean Skill
|
|
8
|
+
|
|
9
|
+
Maintain repository hygiene by scanning for and removing stale branches, forgotten stashes, and redundant worktrees using the `@kurokeita/git-clean-up` tool.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
- Auditing the repository for stale or merged branches.
|
|
14
|
+
- Cleaning up old stashes or redundant Git worktrees.
|
|
15
|
+
- Improving local performance by removing unneeded Git objects.
|
|
16
|
+
- Automating repository hygiene tasks.
|
|
17
|
+
|
|
18
|
+
## Workflow
|
|
19
|
+
|
|
20
|
+
Follow this procedure to safely clean the repository:
|
|
21
|
+
|
|
22
|
+
### 1. Detect package runner
|
|
23
|
+
|
|
24
|
+
Determine whether to use `pnpx` or `npx` by checking if `pnpm` is installed. Always prioritize `pnpx`.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Check for pnpm
|
|
28
|
+
pnpm --version
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- If `pnpm` is available: Use `pnpx @kurokeita/git-clean-up`
|
|
32
|
+
- If `pnpm` is NOT available: Use `npx @kurokeita/git-clean-up`
|
|
33
|
+
|
|
34
|
+
### 2. Audit findings
|
|
35
|
+
|
|
36
|
+
Run an initial scan using the `--json` flag to identify hygiene issues without making any changes. This enables precise analysis of the findings.
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
<runner> @kurokeita/git-clean-up scan --json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 3. Present report
|
|
43
|
+
|
|
44
|
+
Summarize the findings for the user, categorized by:
|
|
45
|
+
|
|
46
|
+
- **Branches**: Merged, squash-merged, or branches without upstreams.
|
|
47
|
+
- **Stashes**: Old stashes or stale WIPs.
|
|
48
|
+
- **Worktrees**: Missing paths or detached HEADs.
|
|
49
|
+
|
|
50
|
+
### 4. Solicit confirmation
|
|
51
|
+
|
|
52
|
+
Present the findings to the user and ask which items or categories they would like to clean. Do NOT proceed to deletion without explicit user approval.
|
|
53
|
+
|
|
54
|
+
### 5. Preview cleanup (Optional but Recommended)
|
|
55
|
+
|
|
56
|
+
If the user wants to see exactly what will be deleted for a specific selection, run the clean command without the `--apply` flag.
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Preview all deletions
|
|
60
|
+
<runner> @kurokeita/git-clean-up clean --all
|
|
61
|
+
|
|
62
|
+
# Preview specific categories
|
|
63
|
+
<runner> @kurokeita/git-clean-up clean --include branches,stashes
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 6. Execute cleanup
|
|
67
|
+
|
|
68
|
+
After receiving confirmation, run the clean command with the `--apply` flag.
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Clean everything confirmed
|
|
72
|
+
<runner> @kurokeita/git-clean-up clean --apply --all
|
|
73
|
+
|
|
74
|
+
# Clean specific categories
|
|
75
|
+
<runner> @kurokeita/git-clean-up clean --apply --include branches
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Safety Considerations
|
|
79
|
+
|
|
80
|
+
- **Protected Branches**: The tool automatically protects `main`, `master`, `develop`, and `dev`. Do not attempt to override these protections unless explicitly instructed.
|
|
81
|
+
- **Active Branches**: Branches checked out in other worktrees are skipped by default.
|
|
82
|
+
- **Verification**: Always verify the list of findings with the user before applying deletions.
|
|
83
|
+
|
|
84
|
+
## Additional Resources
|
|
85
|
+
|
|
86
|
+
### Reference Files
|
|
87
|
+
|
|
88
|
+
- **`references/tool-options.md`**: Detailed CLI options and configuration settings for `git-clean-up`.
|
|
89
|
+
|
|
90
|
+
### Example Configurations
|
|
91
|
+
|
|
92
|
+
- **`examples/config.json`**: Sample `.git-clean-up.json` for repository-specific hygiene policies.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Git Clean Up Tool Options
|
|
2
|
+
|
|
3
|
+
Detailed reference for CLI options and configuration settings for the `@kurokeita/git-clean-up` tool.
|
|
4
|
+
|
|
5
|
+
## Core Commands
|
|
6
|
+
|
|
7
|
+
### `scan`
|
|
8
|
+
|
|
9
|
+
Audits the repository and lists hygiene issues without modifying any resources.
|
|
10
|
+
|
|
11
|
+
**Options:**
|
|
12
|
+
|
|
13
|
+
- `--json`: Output findings in JSON format for programmatic parsing.
|
|
14
|
+
- `--include <categories>`: Comma-separated list of categories to scan (branches, stashes, worktrees).
|
|
15
|
+
- `--target <branch>`: Specify the primary integration branch (default: `main` or `master`).
|
|
16
|
+
- `--age-days <number>`: Filter stashes or inactive branches older than X days.
|
|
17
|
+
|
|
18
|
+
### `clean`
|
|
19
|
+
|
|
20
|
+
Previews or applies deletions based on hygiene audit results.
|
|
21
|
+
|
|
22
|
+
**Options:**
|
|
23
|
+
|
|
24
|
+
- `--apply`: Actually execute the deletion of selected items. Without this flag, the command only provides a preview.
|
|
25
|
+
- `--all`: Select all identified hygiene issues for cleanup.
|
|
26
|
+
- `--include <categories>`: Limit cleanup to specific categories (e.g., `--include branches`).
|
|
27
|
+
- `--force`: Force removal even if safety checks fail (use with extreme caution).
|
|
28
|
+
|
|
29
|
+
## Configuration File
|
|
30
|
+
|
|
31
|
+
Behavior can be customized using a `.git-clean-up.json` file in the repository root or a global configuration at `~/.git-clean-up.json`.
|
|
32
|
+
|
|
33
|
+
### Example Configuration
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"protectedBranches": [
|
|
38
|
+
"release/*",
|
|
39
|
+
"hotfix/*",
|
|
40
|
+
"production"
|
|
41
|
+
],
|
|
42
|
+
"includeCategories": [
|
|
43
|
+
"branches",
|
|
44
|
+
"stashes",
|
|
45
|
+
"worktrees"
|
|
46
|
+
],
|
|
47
|
+
"stashAgeDays": 14,
|
|
48
|
+
"defaultTargetBranch": "origin/develop",
|
|
49
|
+
"branchInactiveDays": 30
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Policy Enforcement (CI Mode)
|
|
54
|
+
|
|
55
|
+
The tool can be used in CI pipelines to enforce repository hygiene.
|
|
56
|
+
|
|
57
|
+
- `--fail-on <level>`: Exit with a non-zero code if findings of a certain risk level (low, medium, high) are found.
|
|
58
|
+
- `--max-findings <number>`: Fail if the total number of hygiene issues exceeds the specified threshold.
|
|
59
|
+
- `--summary`: Output a high-level summary of findings, ideal for build logs.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: git-commit
|
|
3
|
+
description: This skill should be used when the user asks to "commit changes", "commit message", or "follow conventional commits". Provides guidelines for Conventional Commits specification and commit message formatting.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Git Commit
|
|
8
|
+
|
|
9
|
+
Guide for managing version control commit message formatting following the Conventional Commits specification.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
- Formatting commit messages to follow project standards
|
|
14
|
+
- Learning the Conventional Commits specification
|
|
15
|
+
- Ensuring consistency across the repository's history
|
|
16
|
+
|
|
17
|
+
## Conventional Commits
|
|
18
|
+
|
|
19
|
+
Format commit messages according to the [Conventional Commits](https://www.conventionalcommits.org/) specification to enable automated changelog generation and easier history browsing.
|
|
20
|
+
|
|
21
|
+
### Structure
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
<type>(<scope>): <description>
|
|
25
|
+
|
|
26
|
+
[optional body]
|
|
27
|
+
|
|
28
|
+
[optional footer(s)]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Types
|
|
32
|
+
|
|
33
|
+
- `feat`: A new feature
|
|
34
|
+
- `fix`: A bug fix
|
|
35
|
+
- `docs`: Documentation only changes
|
|
36
|
+
- `style`: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
|
|
37
|
+
- `refactor`: A code change that neither fixes a bug nor adds a feature
|
|
38
|
+
- `perf`: A code change that improves performance
|
|
39
|
+
- `test`: Adding missing tests or correcting existing tests
|
|
40
|
+
- `build`: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
|
|
41
|
+
- `ci`: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
|
|
42
|
+
- `chore`: Other changes that don't modify src or test files
|
|
43
|
+
- `revert`: Reverts a previous commit
|
|
44
|
+
|
|
45
|
+
### Guidelines
|
|
46
|
+
|
|
47
|
+
- **Description**: Use the imperative, present tense (e.g., "add", not "added" or "adds").
|
|
48
|
+
- **Case**: The description should be in lower-case or sentence-case.
|
|
49
|
+
- **Scope**: Use a scope to provide additional contextual information (e.g., `feat(auth): add login validation`).
|
|
50
|
+
- **Body**: Use the body to explain the "what" and "why" of the change, not the "how".
|
|
51
|
+
- **Footer**: Use the footer to reference issues (e.g., `Closes #123`) or breaking changes.
|
|
52
|
+
|
|
53
|
+
## Additional Resources
|
|
54
|
+
|
|
55
|
+
### Reference Files
|
|
56
|
+
|
|
57
|
+
For detailed patterns and advanced git workflows, consult:
|
|
58
|
+
|
|
59
|
+
- **`references/conventional-commits.md`** - Detailed Conventional Commits specification.
|
|
60
|
+
|
|
61
|
+
### Example Files
|
|
62
|
+
|
|
63
|
+
Working examples in `examples/`:
|
|
64
|
+
|
|
65
|
+
- **`commit-messages.txt`** - Examples of well-formatted commit messages.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: git-pr
|
|
3
|
+
description: This skill should be used when the user asks to "create a pull request", "open a PR", "prepare a pull request", or "review a PR description". Provides guidelines for effective pull request management and industry-standard templates.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Git Pull Request
|
|
8
|
+
|
|
9
|
+
Guide for creating and managing clear and informative pull requests to facilitate effective code review and collaboration.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
- Preparing and creating pull requests
|
|
14
|
+
- Writing pull request descriptions
|
|
15
|
+
- Ensuring pull requests meet quality standards before submission
|
|
16
|
+
- Managing the PR lifecycle and reviewer feedback
|
|
17
|
+
|
|
18
|
+
## Pull Request Management
|
|
19
|
+
|
|
20
|
+
Create clear and informative pull requests to ensure that reviewers can understand the impact and context of your changes.
|
|
21
|
+
|
|
22
|
+
### PR Creation Process
|
|
23
|
+
|
|
24
|
+
1. **Push your branch**: `git push origin <branch-name>`.
|
|
25
|
+
2. **Open the PR**: Use the GitHub CLI or web interface.
|
|
26
|
+
3. **Title**: Use the Conventional Commits format for the title (e.g., `feat(ui): add dashboard widgets`).
|
|
27
|
+
4. **Description**: Use a template (if available) to describe:
|
|
28
|
+
- What changes were made.
|
|
29
|
+
- Why they were made.
|
|
30
|
+
- How they were tested.
|
|
31
|
+
- Any breaking changes or new dependencies.
|
|
32
|
+
|
|
33
|
+
### Best Practices
|
|
34
|
+
|
|
35
|
+
- **Keep it focused**: One PR per logical change. Avoid "mega-PRs".
|
|
36
|
+
- **Self-review**: Review your own changes before asking others.
|
|
37
|
+
- **Link issues**: Use keywords like `Fixes #123` or `Closes #123` in the description.
|
|
38
|
+
- **Update regularly**: Rebase or merge from the main branch if the PR becomes stale.
|
|
39
|
+
|
|
40
|
+
## Additional Resources
|
|
41
|
+
|
|
42
|
+
### Reference Files
|
|
43
|
+
|
|
44
|
+
For detailed patterns and industry-standard analysis, consult:
|
|
45
|
+
|
|
46
|
+
- **`references/pr-best-practices.md`** - Analysis of PR patterns from top repositories.
|
|
47
|
+
|
|
48
|
+
### Example Files
|
|
49
|
+
|
|
50
|
+
Working examples in `examples/`:
|
|
51
|
+
|
|
52
|
+
- **`pr-description-template.md`** - A standard, industry-standard PR description template.
|
package/package.json
CHANGED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: git-convention
|
|
3
|
-
description: This skill should be used when the user asks to "create a branch", "commit changes", "create a pull request", "manage branches", or "follow conventional commits". Provides guidelines for version control workflows and commit message formatting.
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Git Convention
|
|
8
|
-
|
|
9
|
-
Guide for managing version control workflows, including branching strategies, commit message formatting following Conventional Commits, and pull request management.
|
|
10
|
-
|
|
11
|
-
## When to Use This Skill
|
|
12
|
-
|
|
13
|
-
- Creating new feature, bugfix, or maintenance branches
|
|
14
|
-
- Formatting commit messages to follow project standards
|
|
15
|
-
- Preparing and creating pull requests
|
|
16
|
-
- Managing branch lifecycle and cleanup
|
|
17
|
-
- Ensuring consistency across the repository's history
|
|
18
|
-
|
|
19
|
-
## Branching Strategy
|
|
20
|
-
|
|
21
|
-
Follow a consistent naming convention for branches to ensure clarity and organization.
|
|
22
|
-
|
|
23
|
-
### Branch Naming Convention
|
|
24
|
-
|
|
25
|
-
Use a prefix followed by a descriptive name in kebab-case:
|
|
26
|
-
|
|
27
|
-
- `feature/` - New features or significant functional additions (e.g., `feature/user-authentication`)
|
|
28
|
-
- `fix/` - Bug fixes and patches (e.g., `fix/login-error`)
|
|
29
|
-
- `refactor/` - Code restructuring without changing behavior (e.g., `refactor/api-client`)
|
|
30
|
-
- `docs/` - Documentation updates (e.g., `docs/update-readme`)
|
|
31
|
-
- `chore/` - Maintenance tasks, dependency updates, or internal tooling (e.g., `chore/update-deps`)
|
|
32
|
-
- `test/` - Adding or modifying tests (e.g., `test/unit-tests-auth`)
|
|
33
|
-
|
|
34
|
-
### Workflow
|
|
35
|
-
|
|
36
|
-
1. Start from the main integration branch (e.g., `main` or `develop`).
|
|
37
|
-
2. Ensure the local branch is up-to-date: `git pull origin main`.
|
|
38
|
-
3. Create the new branch: `git checkout -b <prefix>/<description>`.
|
|
39
|
-
|
|
40
|
-
## Conventional Commits
|
|
41
|
-
|
|
42
|
-
Format commit messages according to the [Conventional Commits](https://www.conventionalcommits.org/) specification to enable automated changelog generation and easier history browsing.
|
|
43
|
-
|
|
44
|
-
### Structure
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
<type>(<scope>): <description>
|
|
48
|
-
|
|
49
|
-
[optional body]
|
|
50
|
-
|
|
51
|
-
[optional footer(s)]
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Types
|
|
55
|
-
|
|
56
|
-
- `feat`: A new feature
|
|
57
|
-
- `fix`: A bug fix
|
|
58
|
-
- `docs`: Documentation only changes
|
|
59
|
-
- `style`: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
|
|
60
|
-
- `refactor`: A code change that neither fixes a bug nor adds a feature
|
|
61
|
-
- `perf`: A code change that improves performance
|
|
62
|
-
- `test`: Adding missing tests or correcting existing tests
|
|
63
|
-
- `build`: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
|
|
64
|
-
- `ci`: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
|
|
65
|
-
- `chore`: Other changes that don't modify src or test files
|
|
66
|
-
- `revert`: Reverts a previous commit
|
|
67
|
-
|
|
68
|
-
### Guidelines
|
|
69
|
-
|
|
70
|
-
- **Description**: Use the imperative, present tense (e.g., "add", not "added" or "adds").
|
|
71
|
-
- **Case**: The description should be in lower-case or sentence-case.
|
|
72
|
-
- **Scope**: Use a scope to provide additional contextual information (e.g., `feat(auth): add login validation`).
|
|
73
|
-
- **Body**: Use the body to explain the "what" and "why" of the change, not the "how".
|
|
74
|
-
- **Footer**: Use the footer to reference issues (e.g., `Closes #123`) or breaking changes.
|
|
75
|
-
|
|
76
|
-
## Pull Request Management
|
|
77
|
-
|
|
78
|
-
Create clear and informative pull requests to facilitate effective code review and collaboration.
|
|
79
|
-
|
|
80
|
-
### PR Creation Process
|
|
81
|
-
|
|
82
|
-
1. **Push your branch**: `git push origin <branch-name>`.
|
|
83
|
-
2. **Open the PR**: Use the GitHub CLI or web interface.
|
|
84
|
-
3. **Title**: Use the Conventional Commits format for the title (e.g., `feat(ui): add dashboard widgets`).
|
|
85
|
-
4. **Description**: Use a template (if available) to describe:
|
|
86
|
-
- What changes were made.
|
|
87
|
-
- Why they were made.
|
|
88
|
-
- How they were tested.
|
|
89
|
-
- Any breaking changes or new dependencies.
|
|
90
|
-
|
|
91
|
-
### Best Practices
|
|
92
|
-
|
|
93
|
-
- **Keep it focused**: One PR per logical change. Avoid "mega-PRs".
|
|
94
|
-
- **Self-review**: Review your own changes before asking others.
|
|
95
|
-
- **Link issues**: Use keywords like `Fixes #123` or `Closes #123` in the description.
|
|
96
|
-
- **Update regularly**: Rebase or merge from the main branch if the PR becomes stale.
|
|
97
|
-
|
|
98
|
-
## Additional Resources
|
|
99
|
-
|
|
100
|
-
### Reference Files
|
|
101
|
-
|
|
102
|
-
For detailed patterns and advanced git workflows, consult:
|
|
103
|
-
|
|
104
|
-
- **`references/conventional-commits.md`** - Detailed Conventional Commits specification.
|
|
105
|
-
- **`references/branching-workflows.md`** - Advanced branching and merging strategies.
|
|
106
|
-
|
|
107
|
-
### Example Files
|
|
108
|
-
|
|
109
|
-
Working examples in `examples/`:
|
|
110
|
-
|
|
111
|
-
- **`commit-messages.txt`** - Examples of well-formatted commit messages.
|
|
112
|
-
- **`pr-description-template.md`** - A standard PR description template.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|