Agent Skills
› NeverSight/learn-skills.dev
› git-helpers
git-helpers
GitHubGit工作流助手,支持常规提交、置信度评分代码审查及PR管理。适用于提交代码、审查变更、生成PR描述、推送分支及创建PR等场景,帮助用户规范开发流程。
Trigger Scenarios
commit changes
review code
check my code
summarize changes
create PR
push branch
done coding
Install
npx skills add NeverSight/learn-skills.dev --skill git-helpers -g -y
SKILL.md
Frontmatter
{
"name": "git-helpers",
"metadata": {
"author": "github.com\/adeonir",
"version": "1.0.0"
},
"description": "Git workflow helper for conventional commits, confidence-scored code review, and pull request management. Use when: committing changes, reviewing code, creating PRs, generating PR descriptions. Also use when the user says they're done coding and ready to commit, wants feedback on their changes, needs to push and open a PR, or asks to check their code before merging. Triggers on \"commit\", \"review\", \"push\", \"create PR\", \"PR description\", \"summarize changes\", \"done\", \"ready to push\", \"check my code\"."
}
Git Helpers
Git workflow with conventional commits, confidence-scored code review, and automated PR management.
Workflow
commit --> review --> summary --> push-pr
Each step is independent. Use any workflow in isolation or chain them together.
Context Loading Strategy
Load only the reference matching the current trigger. Never load multiple references simultaneously unless explicitly noted (code-review.md loads guidelines-audit.md as part of its process).
Triggers
| Trigger Pattern | Reference |
|---|---|
| Commit changes, create commit | commit.md |
| Review code, check changes | code-review.md |
| Summarize changes, generate PR description | summary.md |
| Push branch, create PR, open pull request | push-pr.md |
Notes:
guidelines-audit.mdis not a direct trigger. It is loaded bycode-review.mdas part of the review process.conventional-commits.mdis not a direct trigger. It is loaded bycommit.mdandpush-pr.mdfor message format rules.
Cross-References
code-review.md -----> guidelines-audit.md (loaded as part of review)
commit.md ----------> conventional-commits.md (format rules)
push-pr.md ---------> conventional-commits.md (format rules)
Guidelines
DO:
- Use confidence scoring: only report findings with confidence >= 80
- Default base branch: main (user can override)
- Use imperative mood in commit messages and PR titles
- Use HEREDOC format for multi-line commit messages
- Analyze actual diff and staged files
- Follow existing project conventions for commit message format
DON'T:
- Add attribution lines in commit messages or PRs
- Base analysis on conversation context instead of actual diff
- Report findings with confidence < 80
- Override project conventions with generic rules
Error Handling
- No changes to commit: inform user working tree is clean
- gh cli not available: stop and inform user to install it
- No guideline files found: skip guidelines audit, report it
- Merge conflicts: stop and inform user to resolve first
Version History
- e0220ca Current 2026-07-05 23:20


