Agent Skills
› glommer/pgmicro
› pr-workflow
pr-workflow
GitHub提供PR工作流指南,涵盖原子提交、PR规范、CI注意事项及安全与依赖管理。指导开发者保持代码整洁,避免提交敏感信息,规范第三方库引入,并强调查阅官方文档的重要性。
Trigger Scenarios
准备提交代码或创建PR
配置CI/CD流程
处理第三方依赖或API集成
Install
npx skills add glommer/pgmicro --skill pr-workflow -g -y
SKILL.md
Frontmatter
{
"name": "pr-workflow",
"description": "General guidelines for Commits, formatting, CI, dependencies, security"
}
PR Workflow Guide
Commit Practices
- Atomic commits. Small, focused, single purpose
- Don't mix: logic + formatting, logic + refactoring
- Good message = easy to write short description of intent
Learn git rebase -i for clean history.
PR Guidelines
- Keep PRs focused and small
- Run relevant tests before submitting
- Each commit tells part of the story
CI Environment Notes
If running as GitHub Action:
- Max-turns limit in
.github/workflows/claude.yml - OK to commit WIP state and push
- OK to open WIP PR and continue in another action
- Don't spiral into rabbit holes. Stay focused on key task
Security
Never commit:
.envfiles- Credentials
- Secrets
Third-Party Dependencies
When adding:
- Add license file under
licenses/ - Update
NOTICE.mdwith dependency info
External APIs/Tools
- Never guess API params or CLI args
- Search official docs first
- Ask for clarification if ambiguous
Version History
- 3a97846 Current 2026-07-05 20:22


