Agent Skillsglommer/pgmicro › pr-workflow

pr-workflow

GitHub

提供PR工作流指南,涵盖原子提交、PR规范、CI注意事项及安全与依赖管理。指导开发者保持代码整洁,避免提交敏感信息,规范第三方库引入,并强调查阅官方文档的重要性。

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

Trigger Scenarios

准备提交代码或创建PR 配置CI/CD流程 处理第三方依赖或API集成

Install

npx skills add glommer/pgmicro --skill pr-workflow -g -y
More Options

Non-standard path

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

Use without installing

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

Version History

  • 3a97846 Current 2026-07-05 20:22

Same Skill Collection

.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

Metadata

Files
0
Version
3a97846
Hash
13f5d73f
Indexed
2026-07-05 20:22

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 05:26
浙ICP备14020137号-1 $Гость$