Compare commits
No commits in common. "53271302e22992bd8f52f3d5ca64720da3cea133" and "1998d1cf032a9a11278cbc1def2872e75a47bd78" have entirely different histories.
53271302e2
...
1998d1cf03
2 changed files with 15 additions and 32 deletions
32
.github/skills/commit-message-generator/SKILL.md
vendored
32
.github/skills/commit-message-generator/SKILL.md
vendored
|
|
@ -1,32 +0,0 @@
|
||||||
---
|
|
||||||
name: commit-message-generator
|
|
||||||
description: Generate appropriate commit messages based on Git diffs
|
|
||||||
---
|
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
- This Skill retrieves Git diffs and suggests meaningful commit messages
|
|
||||||
- Message format should follow Conventional Commits
|
|
||||||
- Commit messages should be in English
|
|
||||||
- **Never perform Git commit or Git push**
|
|
||||||
|
|
||||||
## Steps
|
|
||||||
1. Run `git status` to check modified files
|
|
||||||
2. Retrieve diffs with `git diff` or `git diff --cached`
|
|
||||||
3. Analyze the diff content and determine if changes should be split into multiple commits
|
|
||||||
4. For each logical group of changes:
|
|
||||||
- List the target files
|
|
||||||
- Generate a message in English compliant with Conventional Commits
|
|
||||||
- Suggest the command: `git add <files> && git commit -m "<message>"`
|
|
||||||
5. If changes are extensive and should be split, provide:
|
|
||||||
- Rationale for the split
|
|
||||||
- Multiple commit suggestions with their respective target files and messages
|
|
||||||
|
|
||||||
## Commit Splitting Guidelines
|
|
||||||
- Split commits when changes span multiple logical concerns (e.g., feature + refactoring)
|
|
||||||
- Group related files that serve the same purpose
|
|
||||||
- Keep each commit focused on a single, atomic change
|
|
||||||
|
|
||||||
## Notes
|
|
||||||
- **This Skill must never execute `git commit` or `git push`**
|
|
||||||
- Only suggest commands; execution is entirely at user's discretion
|
|
||||||
- Users must explicitly perform commits and pushes themselves
|
|
||||||
|
|
@ -2,6 +2,21 @@ AWSTemplateFormatVersion: "2010-09-09"
|
||||||
|
|
||||||
Resources:
|
Resources:
|
||||||
|
|
||||||
|
IAMUserForgejos3user:
|
||||||
|
UpdateReplacePolicy: "Delete"
|
||||||
|
Type: "AWS::IAM::User"
|
||||||
|
DeletionPolicy: "Delete"
|
||||||
|
Properties:
|
||||||
|
Path: "/"
|
||||||
|
ManagedPolicyArns:
|
||||||
|
- !Sub "arn:aws:iam::${AWS::AccountId}:policy/${IAMManagedPolicyForgejoS3Access}"
|
||||||
|
UserName: "forgejo-s3-user"
|
||||||
|
Tags:
|
||||||
|
- Value: "To access my s3 bucket from my forgejo server"
|
||||||
|
Key: "AKIA2CUNLLYJHX6J4YRV"
|
||||||
|
- Value: "Git-server"
|
||||||
|
Key: "Project"
|
||||||
|
|
||||||
IAMManagedPolicyForgejoS3Access:
|
IAMManagedPolicyForgejoS3Access:
|
||||||
UpdateReplacePolicy: "Delete"
|
UpdateReplacePolicy: "Delete"
|
||||||
Type: "AWS::IAM::ManagedPolicy"
|
Type: "AWS::IAM::ManagedPolicy"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue