Agent Skillsglommer/pgmicro › pr-workflow

pr-workflow

GitHub

提供PR工作流指南,涵盖原子提交规范、PR提交要求、GitHub Actions CI环境注意事项、安全合规(禁止提交密钥)及第三方依赖管理,旨在提升代码质量与协作效率。

.claude/skills/pr-workflow/SKILL.md glommer/pgmicro

触发场景

用户询问如何规范提交代码或撰写Commit Message 用户准备提交Pull Request并需要检查清单 用户在CI环境中运行自动化任务需遵循限制 用户添加新依赖需处理许可证和通知文件

安装

npx skills add glommer/pgmicro --skill pr-workflow -g -y
更多选项

非标准路径

npx skills add https://github.com/glommer/pgmicro/tree/master/.claude/skills/pr-workflow -g -y

不安装直接使用

npx skills use glommer/pgmicro@pr-workflow

指定 Agent (Claude Code)

npx skills add glommer/pgmicro --skill pr-workflow -a claude-code -g -y

安装 repo 全部 skill

npx skills add glommer/pgmicro --all -g -y

预览 repo 内 skill

npx skills add glommer/pgmicro --list

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:

  • .env files
  • Credentials
  • Secrets

Third-Party Dependencies

When adding:

  1. Add license file under licenses/
  2. Update NOTICE.md with dependency info

External APIs/Tools

  • Never guess API params or CLI args
  • Search official docs first
  • Ask for clarification if ambiguous

版本历史

  • 3a97846 当前 2026-07-05 20:22

同 Skill 集合

.claude/skills/async-io-model/SKILL.md
.claude/skills/cdc/SKILL.md
.claude/skills/code-quality/SKILL.md
.claude/skills/debugging/SKILL.md
.claude/skills/differential-fuzzer/SKILL.md
.claude/skills/index-knowledge/SKILL.md
.claude/skills/mvcc/SKILL.md
.claude/skills/storage-format/SKILL.md
.claude/skills/testing/SKILL.md
.claude/skills/transaction-correctness/SKILL.md
.claude/skills/memory-benchmark/SKILL.md

元信息

文件数
0
版本
3a97846
Hash
13f5d73f
收录时间
2026-07-05 20:22

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 18:07
浙ICP备14020137号-1 $访客地图$