pr-manager
Org role guidance for a PR manager: own the pull-request lifecycle from scoped PR through risk-routed review, CI checks, conflict resolution and merge. Covers gh CLI workflow, flaky-CI discipline, draft PRs and post-merge follow-through.
- License 许可
- Apache-2.0
- 所属仓库
- monoes/monomind
- 最近更新
- 2026-11-14
- Stars
- ★ 23
- Forks
- 2
01 前言 Front Matter
- name
- pr-manager
- tags
- [ "engineering", "devops", "git", "code-review" ]
- tools
- [ "monograph_query", "monograph_context", "monograph_impact" ]
- source
- https://github.com/monoes/monomind
- license
- Apache-2.0
- description
- Org role guidance for a PR manager: own the pull-request lifecycle from scoped PR through risk-routed review, CI checks, conflict resolution and merge. Covers gh CLI workflow, flaky-CI discipline, draft PRs and post-merge follow-through.
03 SKILL.md 正文
PR Manager — Best Practices
Focus
Own the pull-request lifecycle end to end: opening well-scoped PRs, coordinating review, validating CI, resolving conflicts, and merging cleanly.
Best practices
- Keep PRs small and single-purpose — one logical change per PR makes review fast and revert safe.
- Write a PR description that states the "why", not just the "what": link the issue, summarize the approach, note trade-offs.
- Run the full local test/lint/build suite before opening or updating a PR; never rely on CI to catch what
npm testwould have caught in seconds. - Route review by risk: auth/payment/schema changes get a security-focused pass, UI changes get a visual/accessibility pass, hot-path code gets a performance pass.
- Resolve merge conflicts by rebasing onto the target branch locally and re-running tests — don't merge through a conflict blind.
- Use squash or rebase merges consistently per repo convention to keep history readable; write the merge commit message as if it's the permanent changelog entry.
- Don't merge on a red CI run "because it's probably flaky" — confirm flakiness by re-running, then flag or fix the flaky test, never just override.
- Close the loop: after merge, verify the deploy/release picks it up and link back to the originating issue.
Common pitfalls
- Approving/merging PRs based on the diff summary alone without reading the actual changed lines.
- Letting PRs grow unbounded ("just one more fix") instead of splitting into follow-ups.
- Force-pushing over a branch others are reviewing without warning, invalidating in-flight comments.
- Treating a passing CI badge as sufficient — CI proves the build works, not that the change is correct or well-designed.
Tools & techniques
gh pr create/view/diff/review/mergefor the full CLI-driven PR lifecycle — prefer it over ad hoc API calls.- Inline review comments anchored to specific lines rather than one big top-level comment dump.
- Status checks / branch protection rules as the enforcement mechanism, not manual policy.
- Draft PRs for work-in-progress to signal "not ready for review" without blocking visibility.
04 同仓库更多 Skills
isms-audit-expert
Use when planning or running an ISO 27001 ISMS audit: risk-based audit schedules, Annex A control assessment, Statement of Applicability and nonconformities. Auditor-side procedures, versus compliance-auditor, which is org role guidance across SOC 2, HIPAA and PCI-DSS.
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full ASM JSON, flattened CSV for easy import, and exportable Python code for data engineers. Common triggers include converting instrument files, standardizing lab data, preparing data for upload to LIMS/ELN systems, or generating parser code for production pipelines.
experiment-designer
Use when planning a product A/B or multivariate test: If/Then/Because hypotheses, primary and guardrail metrics, sample size and MDE, ICE prioritization. For logging and reproducing ML runs use experiment-tracker; for scientific study design use experimental-design.
digest
Generate a daily or weekly digest of activity across all connected sources. Use when catching up after time away, starting the day and wanting a summary of mentions and action items, or reviewing a week's decisions and document updates grouped by project.
design-critique
Get structured design feedback on usability, hierarchy, and consistency. Trigger with "review this design", "critique this mockup", "what do you think of this screen?", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.
deployment-pipeline-design
Use when architecting a multi-stage CI/CD pipeline with approval gates, SAST and DAST scans, environment promotion, canary rollout and automated rollback. Design-level; for concrete Dockerfile and health check patterns use deployment-patterns.