Skip to content
Back to skills

Github Issue Pr Lifecycle Agent

ASecurity

Skill for orchestrating the end-to-end GitHub issue lifecycle flow: Issue -> Worktree -> Implementation -> PR Creation -> Resolution Closure. USE ONLY when running or dry-running full lifecycle orchestration for resolving an issue with a PR. DO NOT USE for isolated worktree management only (use `github-issue-worktree-agent`) or logging issues (use `github-issue-agent`).

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 20, 2026
ai-agentspythonbashgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill github-issue-pr-lifecycle-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Issue Pr Lifecycle Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Issue Pr Lifecycle Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-github-issue-pr-lifecycle-agent/badge)](https://www.skillsdirectory.com/skills/richfrem-github-issue-pr-lifecycle-agent)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-issue-pr-lifecycle-agent
plugin: dev-utils
description: >
  Skill for orchestrating the end-to-end GitHub issue lifecycle flow: Issue -> Worktree -> Implementation -> PR Creation -> Resolution Closure.
  USE ONLY when running or dry-running full lifecycle orchestration for resolving an issue with a PR.
  DO NOT USE for isolated worktree management only (use `github-issue-worktree-agent`) or logging issues (use `github-issue-agent`).
allowed_tools:
  - run_command
  - view_file
  - write_to_file
  - replace_file_content
  - multi_replace_file_content
  - grep_search
  - list_dir
---

# GitHub Issue PR Lifecycle Agent (github-issue-pr-lifecycle-agent)

Orchestrates the end-to-end issue resolution lifecycle: Issue -> Worktree -> Implementation -> PR Creation -> Resolution Closure.

## Contents
- [Critical Constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- **Scope Boundary**: USE ONLY for end-to-end lifecycle orchestration. For standalone worktree isolation, use `github-issue-worktree-agent`. For issue logging, use `github-issue-agent`.
- **Dry-Run by Default**: Generates pipeline payload in preview mode; requires `--execute` for live branch/PR mutations.
- **Worktree Isolation**: Implementation must occur strictly in `.worktrees/issue-NNN` to keep the primary workspace clean.
- **Verification Gate**: Automated tests must pass prior to opening pull requests.

## Quick start

```bash
# Preview full lifecycle orchestration (dry-run)
python3 plugins/dev-utils/skills/github-issue-pr-lifecycle-agent/scripts/issue_pr_orchestrate.py \
  --issue 42 --title "Fix login bug" --body "Resolves crash on empty password"

# Execute live end-to-end lifecycle
python3 plugins/dev-utils/skills/github-issue-pr-lifecycle-agent/scripts/issue_pr_orchestrate.py \
  --issue 42 --title "Fix login bug" --body "Resolves crash on empty password" \
  --execute
```

## Workflow

1. **Phase 1: Worktree Provisioning**: Create isolated git worktree at `.worktrees/issue-NNN` branching from trunk.
2. **Phase 2: Implementation & Tests**: Apply patch within the isolated worktree and execute the local test suite.
3. **Phase 3: Pull Request Creation**: Push branch to remote and open GitHub PR referencing the issue (`Resolves #NNN`).
4. **Phase 4: Resolution & Cleanup**: Confirm merge, close issue with appropriate labels, and tear down the worktree.

## Verification

```bash
# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/dev-utils/skills/github-issue-pr-lifecycle-agent --mode source
```

## References
- [lifecycle-guide.md](references/lifecycle-guide.md) - Pipeline sequencing, safety contracts, and API options.
- [acceptance-criteria.md](references/acceptance-criteria.md) - Verification contracts and test criteria.
- [fallback-tree.md](references/fallback-tree.md) - Failure recovery and manual recovery procedures.

Files in this skill

  • SKILL.md2.2 KB
  • evals/evals.json395 B
  • references/acceptance-criteria.md74 B
  • references/fallback-tree.md68 B
  • references/lifecycle-guide.md70 B
  • scripts/issue_pr_orchestrate.py40 B
  • scripts/issue_worktree_manage.py41 B
  • tests/test_issue_pr_orchestrate.py2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…