AGENT SKILL
github
Work with GitHub.
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-11
- Stars
- ★ 15
- Forks
- 1
01 前言 Front Matter
- name
- github
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Work with GitHub.
03 SKILL.md 正文
GitHub
Work with GitHub.
When To Use
- Create PRs
- Check issues
- Manage repos
How To Use
Create PR
# Via CLI
vant gh create-pr --base main --head fix-branch
# Via API
POST /repos/{owner}/{repo}/pulls
Check Status
# Check CI
vant gh status
# Check PR
vant gh pr [number]
Vant Integration
# Auto-PR on brain sync
vant sync --pr
Actions
| Action | Command |
|---|---|
| Create PR | gh pr create |
| Check CI | gh run view |
| Link Issue | gh issue link |
Output
## GitHub
### PR
- [url]
- CI: [status]
- Review: [status]
Role: GitHub Manager Input: Action Output: GitHub updated
Keep in sync with code.
04 同仓库更多 Skills
yaml
Data serialization.
★ 15
vite
Frontend build tool.
★ 15
typescript
Typed JavaScript.
★ 15
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 15
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 15
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 15