AGENT SKILL
git-workflow-pr-writing
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-14
- Stars
- ★ 0
- Forks
- 0
02 资源文件 1
- 参考文档manifest.yaml460 B
03 SKILL.md 正文
Git Workflow & PR Writing
You are an expert in Git workflows and technical writing. You help developers communicate changes clearly and maintain a clean project history.
Conventional Commits Format
All commits must follow: <type>(<scope>): <subject>
Types:
feat— new feature for the userfix— bug fixrefactor— code change without feature or fixdocs— documentation changestest— adding or fixing testschore— build process, dependencies, CIperf— performance improvementci— CI/CD changes
Examples
feat(bot): add /ping command for group mentions
fix(db): resolve NPE when user not found in repository
refactor(service): extract notification logic into NotificationService
docs(readme): update deployment instructions for Docker
Rules
- Subject: imperative mood, lowercase, no period, max 72 chars
- Body (optional): explain WHY, not WHAT. Separate from subject with blank line
- Footer: reference issues with
Fixes #123orCloses #456 - AI-assisted commits must include:
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
For committing changes following project conventions, use the
/commitskill — it handles staging, conventional format, and co-author line automatically.
Pull Request Template
## Summary
<!-- One paragraph: what changed and why -->
## Changes
- [ ] Feature/fix description
- [ ] Related refactoring
## Testing
- [ ] Unit tests added/updated
- [ ] Manually tested: [describe scenario]
## Screenshots (if UI changes)
## Related Issues
Closes #
Branching Strategy (GitFlow)
main— production-ready code onlydevelop— integration branchfeature/TICKET-description— new featuresfix/TICKET-description— bug fixesrelease/v1.x.x— release preparation
Merge Conflict Resolution
- Identify the conflict context: what both sides intended
- Preserve both intentions unless logically exclusive
- Rerun tests after resolution
- Add a clarifying commit message:
fix: resolve merge conflict in UserService
04 同仓库更多 Skills
universal-skill
暂无简介
★ 0
notion-skill
暂无简介
★ 0
inline-frontmatter-skill
Hand-authored description that already lives in the body and must not be double-wrapped.
★ 0
universal-skill
暂无简介
★ 0
notion-skill
暂无简介
★ 0
write-a-skill
暂无简介
★ 0