# Custom Workflow Pr

> Push the current branch and open a PR assigned to assertchris, then watch CI until it passes or fails.

- **Type:** Skill
- **Install:** `agentstack add skill-assertchris-claude-skills-custom-workflow-pr`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [assertchris](https://agentstack.voostack.com/s/assertchris)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [assertchris](https://github.com/assertchris)
- **Source:** https://github.com/assertchris/claude-skills/tree/main/custom-workflow-pr

## Install

```sh
agentstack add skill-assertchris-claude-skills-custom-workflow-pr
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# PR

## Parameters (from ARGUMENTS)

| Key | Purpose | Default |
|---|---|---|
| `doc-path:` | Explicit path to the plan/feature doc — passed through to `custom-pr-summary` | — |
| `draft` | Create the PR as a draft | false |

Use the /custom-submit-pr skill to push and open a PR. Pass through any `doc-path:` and `draft` from ARGUMENTS unchanged.

Once the PR URL is returned, watch it for CI completion using a bash poll loop — stay in this session and run:

  ATTEMPTS=0
  while true; do
    STATUS=$(gh pr checks  2>&1)
    if echo "$STATUS" | grep -qiE "no checks|could not find any checks"; then
      ATTEMPTS=$((ATTEMPTS + 1))
      if [ "$ATTEMPTS" -ge 3 ]; then
        echo "No CI checks found after 3 attempts — skipping CI watch." && break
      fi
      echo "No checks found yet (attempt $ATTEMPTS/3), waiting 30s..."
    elif echo "$STATUS" | grep -qE "fail|error"; then
      echo "Checks failed:" && echo "$STATUS" && break
    elif echo "$STATUS" | grep -qE "pending|in_progress|queued"; then
      echo "Checks still running, waiting 30s..." && ATTEMPTS=0
    else
      echo "All checks passed." && break
    fi
    sleep 30
  done

When all checks pass, or if there are no checks after 3 attempts, report the PR URL and that it is ready to merge.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [assertchris](https://github.com/assertchris)
- **Source:** [assertchris/claude-skills](https://github.com/assertchris/claude-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-assertchris-claude-skills-custom-workflow-pr
- Seller: https://agentstack.voostack.com/s/assertchris
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
