pr-lifecycle

pr-lifecycle is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 73 tokens per session (1,760 once invoked), scanned A, original, Apache-2.0.

A reference guide for creating and merging pull requests, which are proposed code changes reviewed before entering a shared branch. It defines required checks, evidence, structure, and reviewer selection.

In plain words
What is it for?
Use it to check branch and commit conditions, assemble a reviewable pull request body, suggest reviewers, and enforce the final finding check before merging.
Why use it?
It prevents pull requests from being opened without verification or from being merged while tracked findings remain unresolved.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the flow plugin — 31 skills, 21 commands, 9 agents shipped together

Good fit Use it to check branch and commit conditions, assemble a reviewable pull request body, suggest reviewers, and enforce the final finding check before merging.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/synapti-marketplace/pr-lifecycle
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synaptiai/synapti-marketplace --skill pr-lifecycle
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 31 skills, 21 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/pr-lifecycle/github.svg)](https://agentmods.dev/skills/synaptiai/synapti-marketplace/pr-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/pr-lifecycle"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/pr-lifecycle/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-lifecycle

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/pr-lifecycle"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/pr-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,760 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01760
Opus 5 $0.00036 $0.00880
Sonnet 5 $0.00015 $0.00352
Haiku 4.5 $0.00007 $0.00176

Measured 6d ago against content hash 46d536051739, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pr-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/flow/skills/pr-lifecycle/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Lifecycle

Reference document for the PR creation and pre-merge policy. The executable bash lives in plugins/flow/commands/pr.md (full creation flow) and plugins/flow/commands/merge.md (finding-ledger check). This skill describes what those commands enforce and why, so reviewers can audit the policy without reading shell.

Iron Law

NO PR WITHOUT VERIFICATION. Every PR must have proof that quality checks pass. "I think it works" is not a PR description.

If you can't show test results, lint output, or verification evidence in the PR body, the PR is not ready.

Pre-Flight Gate

Before any PR is created, four conditions are verified:

# Condition Failure handling
1 Not on the default branch Hard error — PRs are made from feature branches, never from main
2 At least one commit ahead of the default branch Hard error — empty PRs are noise
3 No uncommitted changes Warning — offer to commit first via /flow:commit
4 No existing open PR for this branch Hard error — update the existing PR instead of creating a duplicate

The runnable checks are in plugins/flow/commands/pr.md Phase 1 (EXPLORE). The command is the single source of truth.

Verification Gate

Before the PR is created, every one of the following must hold. If any fail, stop:

  1. All quality commands (lint, test, typecheck) pass — output captured for the PR body
  2. Self-review completed against the code-quality-principles checklist
  3. Change classification shows no out-of-context files
  4. Every acceptance criterion has a "Met" or "Interpreted" status with concrete evidence
  5. No P1 findings remain from code review

This gate is mandatory. Skipping it to "get the PR up quickly" creates reviewer burden and shifts the verification cost to whoever reads the PR.

For the canonical map of all eight quality gates flow enforces — Spec Validation, Stranger Test, Per-Task Verification, Runtime Verification, Evidence Completeness, Missing-Criterion Scan, Holdout Validation, and Finding-Ledger Merge — see gate-configuration.md.

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 127 lines · 73 tokens per session scan A 46d536051739

Subscribe to this mod's changes

pr-lifecycle is a skill published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,760 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

create-pr

Creates a GitHub Pull Request on the current branch with a description focused on WHAT changed (not HOW). Uses emojis in the title and description. Use when the user asks to create a PR, open a pull request, or submit changes for review. Triggers on mentions of PR, pull request, merge request, or code review.

CaptainMe-AI/lead-dev-os · 70 tokens

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.

umputun/cc-thingz · 51 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

pr-threads-address

Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where useful), commit, and optionally reply and resolve.

posit-dev/skills · 48 tokens

procoder

Work like a senior developer in a repository governed by procoder: run the commit gate before calling anything done, format and lint through the binary, and drive the spec, plan, todo, backlog, and sprint chain in .procoder/. Use this skill when the repository contains a .procoder/ directory or an AGENTS.md naming…

azrtydxb/procoder · 101 tokens

OCR Review-to-Approval Loop

Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the…

spencermarx/open-code-review · 178 tokens