Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

pr-workflow公关工作流程

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

336

周安装

14

GitHub Stars

11

下载量

112
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pr-workflow(公关工作流程)
来源仓库:https://github.com/lobbi-docs/claude
仓库路径:skills/pr-workflow
安装命令:
npx skills add https://github.com/lobbi-docs/claude --skill pr-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lobbi-docs/claude --skill pr-workflow

简介

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节、统一术语或检查链接,提升内容可读性。
  • 使用时保留项目已有事实和命令,避免将未确认信息写成确定结论。
  • 涉及对外文案时需控制语气,防止过度营销或夸大能力。
  • 安装方式:通过 npx 从 GitHub 仓库添加技能。

SKILL.md

PR Workflow Skill

Guidance for creating, managing, and merging PRs with Jira integration and deployment best practices.

Branch Naming

Format: <type>/<jira-key>-<short-description>

Types: feature, bugfix, hotfix, refactor, docs, test, chore, perf

Rules: lowercase, hyphens, max 50 chars, include Jira key

Example: feature/LOBBI-1234-member-dashboard

Commit Messages

Format:

<type>(<scope>): <subject>

<body>

<footer>

Types: feat, fix, docs, style, refactor, perf, test, chore, build, ci

Rules: lowercase subject, no period, imperative mood, max 50 chars

Footers: Closes PROJ-123, BREAKING CHANGE: description, Refs PROJ-456

PR Title & Description

Title: [JIRA-KEY] Type: Brief description

Description checklist items:

  • Jira issue link
  • Changes made (bullet points)
  • Technical details (architecture, database, API changes)
  • Testing: unit, integration, E2E, manual steps
  • Screenshots/videos if UI changes
  • Risk assessment (Low/Medium/High/Critical)
  • Deployment prerequisites & migration steps
  • Dependencies (related PRs, blocked by, blocks)
  • Checklist: code style, tests, docs, no console.log, no commented code

Review Process

Reviewer selection:

  1. Code owner (required, auto-assigned via CODEOWNERS)
  2. Subject matter expert (complex/security/performance)
  3. Team lead (major architectural changes, breaking changes)

Review labels: needs-review, needs-changes, approved, security-review, breaking-change, hotfix, size/small|medium|large, wip

Merge requirements:

  • All CI/CD checks pass
  • Required approvals received
  • Branch up-to-date with main
  • Documentation complete
  • Conversations resolved

Merge Strategies

StrategyBest ForBenefit
SquashFeatures, bug fixes, WIP commitsClean history
Merge CommitLong-lived branches, team effortPreserves history
RebaseClean commits, small focused PRsLinear history

Decision Matrix:

  • Feature + WIP commits → Squash
  • Hotfix (single commit) → Rebase
  • Large feature (team) → Merge Commit
  • Bug fix (2-3 commits) → Squash
  • Refactor (logical steps) → Merge Commit

Jira Integration

Automatic linking: Include Jira key in branch name, PR title, or commits

Status transitions:

  • PR opened → To Do → In Progress
  • Ready for review → In Review
  • Changes requested → In Progress
  • Approved → Ready for Merge
  • Merged → Done
  • Closed (not merged) → Cancelled

Automatic Jira comments post:

  • PR opened notification with metadata
  • Status updates on approval
  • Merge/close notifications

Deployment

Risk assessment checklist:

  • Database schema changes
  • API breaking changes
  • Third-party integration changes
  • Auth/authorization changes
  • Performance-critical code
  • High-traffic endpoints
  • Data migration required

Rollback procedure:

  1. Immediate: alert team, document in incident channel
  2. Execute: kubectl rollout undo / helm rollback / vercel rollback
  3. Verify: health checks, error rates, user traffic
  4. Database: run down migration if needed
  5. Post: update Jira, notify stakeholders, schedule post-mortem

Feature flags: Use gradual rollout (10%, 50%, 100%) with kill switches

Common Workflows

Create Feature PR:

git checkout -b feature/PROJ-123-new-dashboard
# Make changes
git add . && git commit -m "feat: add dashboard"
git push -u origin feature/PROJ-123-new-dashboard
# Create PR via Harness Code API

Address Feedback:

git add . && git commit -m "fix: address review feedback"
git fetch origin && git rebase origin/main
git push --force-with-lease
# Re-request review

Merge PR (via Harness Code):

# Verify all pipeline checks pass via Harness Code API
harness_get_pull_request_checks --pr-number 123
# Merge via Harness Code API
harness_merge_pull_request --pr-number 123 --strategy squash
git checkout main && git pull origin main
# Verify deployment via Harness Pipeline

Troubleshooting

Merge conflicts:

  • Update main: git checkout main && git pull origin main
  • Rebase: git checkout feature && git rebase main
  • Resolve files and git add. && git rebase --continue
  • Force push: git push --force-with-lease

Failed CI checks:

  • View logs via Harness Pipeline execution logs
  • Run locally: npm test && npm run lint && npm run type-check
  • Fix and push again

Large PR feedback:

  • Create feature base branch
  • Split into logical chunks
  • Create sub-PRs against base, then final PR to main

PR Size Guidelines

  • Small: < 100 lines (ideal, easy to review)
  • Medium: 100-500 lines (acceptable)
  • Large: 500-1000 lines (consider splitting)
  • Too Large: > 1000 lines (must split)

Review Turnaround

  • Hotfix: < 1 hour
  • Bug fix: < 4 hours
  • Small feature: < 1 day
  • Medium feature: < 2 days
  • Large feature: < 3 days

Best Practices

  1. Keep PRs focused on single concern
  2. Write descriptive titles and descriptions
  3. Link to Jira tickets
  4. Include tests and documentation
  5. Respond to feedback promptly
  6. Use draft PRs for early feedback
  7. Clean up commits before merging
  8. Delete branches after merge
  9. Monitor post-deployment

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.36%
按下载量换算40

Claude

29.58%
按下载量换算33

Cursor

20.25%
按下载量换算23

Gemini CLI

10.64%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills