Agent skill
git-workflow-bayzhen-bayzhen-github-io
Git工作流规范,用于版本控制和发布
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-workflow-bayzhen-bayzhen-github-io
SKILL.md
Git 工作流技能
提交规范
提交信息格式
<type>: <subject>
[optional body]
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Type 类型
Add- 新增文章或功能Update- 更新现有内容Fix- 修复问题Refactor- 重构代码/结构Style- 样式调整Docs- 文档更新
示例
# 新增文章
git commit -m "Add Claude Code hooks tutorial"
# 更新内容
git commit -m "Update navigation links on homepage"
# 修复问题
git commit -m "Fix broken link in article index"
工作流程
1. 查看状态
git status
git diff
2. 暂存更改
# 暂存特定文件
git add articles/new-article.html
# 暂存所有更改(谨慎使用)
git add .
3. 提交
git commit -m "$(cat <<'EOF'
Add new article about topic
Detailed description if needed.
Co-Authored-By: Claude Opus 4.5 <[email protected]>
EOF
)"
4. 推送
git push
注意事项
- 不要提交
Docs/目录(源文档) - 检查
.gitignore确保敏感文件被忽略 - 推送前确认所有链接正确
- GitHub Pages 会自动部署
Main分支
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?