🧑 [chore] Add Claude Code configuration for Git workflow automation

Add Claude agents and commands to enhance developer experience:
- commit-crafter agent for standardized conventional commits
- staged-code-reviewer agent for automated code review
- Commands for code review, GitHub issue fixing, and commit creation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
OleehyO
2025-08-13 21:59:12 +08:00
parent 30f88d55ac
commit af56271e1c
5 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1 @@
Use staged-code-reviewer sub agent to perform code review

View File

@@ -0,0 +1,13 @@
Please analyze and fix the GitHub issue: $ARGUMENTS.
Follow these steps:
1. Use `gh issue view` to get the issue details
2. Understand the problem described in the issue
3. Search the codebase for relevant files
4. Implement the necessary changes to fix the issue
5. Write and run tests to verify the fix
6. Ensure code passes linting and type checking
7. Create a descriptive commit message
Remember to use the GitHub CLI (`gh`) for all GitHub-related tasks.

View File

@@ -0,0 +1,16 @@
Use commit-crafter sub agent to make a standardized commit
## Usage
```
/make-commit [hint]
```
**Parameters:**
- `hint` (optional): A brief description or context to help customize the commit message. The hint will be used to guide the commit message generation while maintaining conventional commit standards.
**Examples:**
- `/make-commit` - Generate commit message based purely on code changes
- `/make-commit "API refactoring"` - Guide the commit to focus on API-related changes
- `/make-commit "fix user login bug"` - Provide context about the specific issue being fixed
- `/make-commit "add dark mode support"` - Indicate the feature being added