/update-github
Commit changes with Conventional Commits format and push to GitHub remote repository.
> /plugin marketplace add Galaxy-Dawn/claude-scholar > /plugin install claude-scholar@claude-scholar
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/update-github
Context preview
What this command does when you run it.
Commit changes with Conventional Commits format and push to GitHub remote repository.
Command definition
update-github.mddescription: Commit changes with Conventional Commits format and push to GitHub remote repository.
Update GitHub
Commit uncommitted changes and push to remote GitHub repository.
Instructions
1. **Check Git Status**
- Run `git status`
- Show all uncommitted changes
2. **Analyze Changes**
- Review changed files
- Determine commit type (feat/fix/docs/refactor/test/chore)
- Determine scope (affected module/component)
3. **Create Commit Message** Follow Conventional Commits format:
<type>(<scope>): <subject>
<body>
<footer>
Types:
- `feat`: 新功能
- `fix`: Bug 修复
- `docs`: 文档更新
- `refactor`: 代码重构
- `perf`: 性能优化
- `test`: 测试相关
- `chore`: 其他修改
4. **Stage and Commit**
- Run `git add` for affected files
- Create commit with formatted message
- Do not include `Co-Authored-By` footers unless the user explicitly asks for them
5. **Push to Remote**
- Run `git push`
- If rejected, pull with rebase first:
git pull --rebase origin $(git branch --show-current)
git push6. **Verify Success**
- Show commit SHA
- Show remote branch status
Example Usage
User: /update-github
1. Checking git status...
Modified: src/utils/helpers.py
Modified: README.md
2. Analyzing changes...
- src/utils/helpers.py: Refactored helper functions
- README.md: Updated documentation
3. Proposed commit:
docs(readme): 更新项目文档
- 添加使用示例
- 更新依赖说明
4. Proceed? (yes/no/modify)
5. Staging files...
git add src/utils/helpers.py README.md
6. Creating commit...
[main abc1234] docs(readme): 更新项目文档
7. Pushing to remote...
git push
To github.com:user/repo.git
abc1234..def5678 main -> main
✅ Successfully pushed to GitHub!Arguments
$ARGUMENTS can be:
- `--amend` - Amend last commit instead of creating new one
- `--no-verify` - Skip pre-commit hooks
- `<type>(<scope>): <message>` - Use custom commit message
Integration
This command uses the same Conventional Commits format as the `/commit` skill but focuses on the complete flow: stage → commit → push.
Read more
description: Commit changes with Conventional Commits format and push to GitHub remote repository.
Update GitHub
Commit uncommitted changes and push to remote GitHub repository.
Instructions
1. **Check Git Status**
- Run `git status`
- Show all uncommitted changes
2. **Analyze Changes**
- Review changed files
- Determine commit type (feat/fix/docs/refactor/test/chore)
- Determine scope (affected module/component)
3. **Create Commit Message** Follow Conventional Commits format:
<type>(<scope>): <subject> <body> <footer>
Types:
- `feat`: 新功能
- `fix`: Bug 修复
- `docs`: 文档更新
- `refactor`: 代码重构
- `perf`: 性能优化
- `test`: 测试相关
- `chore`: 其他修改
4. **Stage and Commit**
- Run `git add` for affected files
- Create commit with formatted message
- Do not include `Co-Authored-By` footers unless the user explicitly asks for them
5. **Push to Remote**
- Run `git push`
- If rejected, pull with rebase first:
git pull --rebase origin $(git branch --show-current)
git push6. **Verify Success**
- Show commit SHA
- Show remote branch status
Example Usage
User: /update-github
1. Checking git status...
Modified: src/utils/helpers.py
Modified: README.md
2. Analyzing changes...
- src/utils/helpers.py: Refactored helper functions
- README.md: Updated documentation
3. Proposed commit:
docs(readme): 更新项目文档
- 添加使用示例
- 更新依赖说明
4. Proceed? (yes/no/modify)
5. Staging files...
git add src/utils/helpers.py README.md
6. Creating commit...
[main abc1234] docs(readme): 更新项目文档
7. Pushing to remote...
git push
To github.com:user/repo.git
abc1234..def5678 main -> main
✅ Successfully pushed to GitHub!Arguments
$ARGUMENTS can be:
- `--amend` - Amend last commit instead of creating new one
- `--no-verify` - Skip pre-commit hooks
- `<type>(<scope>): <message>` - Use custom commit message
Integration
This command uses the same Conventional Commits format as the `/commit` skill but focuses on the complete flow: stage → commit → push.
Semi-automated research assistant for academic research and software development. Supports Claude Code, Codex CLI, Kimi Code CLI, and OpenCode across ideation, coding, experiments, writing, and publication.
Repo: Galaxy-Dawn/claude-scholar
Other commands on claude-scholar.
- /analyze-results
Optional experiment line slug for report naming
Open command - /build-fix
Incrementally fix Python type and lint errors:
Open command - /checkpoint
Create or verify a checkpoint in your workflow.
Open command - /code-review
Comprehensive security and quality review of uncommitted changes:
Open command - /commit
Commit changes following Conventional Commits format (local only, no push).
Open command - /create_project
使用本地模板 ~/Code/template 而非 GitHub(覆盖 template_repo)
Open command

