Agent Skills
› flexprice/flexprice
› gh
gh
GitHub提供 GitHub CLI (gh) 的操作指南,涵盖 PR 创建、状态检查、日志查看及 Issue 管理。规范了提交前的代码审查流程,并包含针对 FlexPrice 项目的特定约束与 SDK 发布注意事项。
Trigger Scenarios
用户请求使用 gh 命令操作 GitHub
需要创建或查看 Pull Request
需要检查 CI/CD 构建结果或失败日志
提及 github pr 相关操作
Install
npx skills add flexprice/flexprice --skill gh -g -y
SKILL.md
Frontmatter
{
"name": "gh",
"description": "gh CLI for FlexPrice repos — PRs, checks, issues. Trigger: gh, github pr."
}
gh — GitHub CLI
Prerequisites
ghinstalled andgh auth logincompleted.- Respect user rules:** do not change
git config; avoid destructive git unless explicitly requested.
Before gh pr create
Per user workflow preference:
git status,git diff, branch vs base tracking,git log/git diff base...HEADfor full branch story.- Draft title + body (summary, test plan).
- Push:
git push -u origin HEADwhen needed (network).
Create PR
gh pr create --title "..." --body "$(cat <<'EOF'
## Summary
- ...
## Test plan
- [ ] ...
EOF
)"
Use gh pr view --web to open in browser.
Checks & failures
gh pr checks
gh run list --limit 5
gh run view <run-id> --log-failed
For a specific failing job, open run URL or inspect logs with gh.
Issues & context
gh issue view <n>
gh pr view <n>
FlexPrice-specific
- SDK publish workflows and path filters: see
.github/workflows/andAGENTS.md(SDK pipeline). - Do not push or publish packages unless the user explicitly asked.
Related
- Pre-PR quality:
pr
Version History
- 0b58626 Current 2026-08-20 14:48


