Prcdx

From n0an/VivaDicta · View interactive version

Prcdx is an AI agent skill from the GitHub repository n0an/VivaDicta. Create a GitHub Pull Request in Codex with Claude and Codex review requests and standard GitHub polling

How to use this skill

Skill file

prcdx

You are given the following context:

$ARGUMENTS

Task: Create a GitHub Pull Request in Codex

Based on the provided context, create a pull request following these steps:

  1. First, check the current git status and uncommitted changes.
  2. If there are uncommitted changes, ask if they should be committed first.
  3. Ensure the current branch is not main or master.
  4. Push the current branch to remote if needed.
  5. Create the pull request using gh pr create with:
  1. Return the PR URL when complete.

IMPORTANT: Final Summary

ALWAYS end your response with a clear summary that includes:

Format the PR link prominently so it's easy to find.

If no arguments are provided, create a PR with an auto-generated title and description based on the current branch and commit history.

Use --draft if the work is clearly in progress.

Review Flow

After the PR is created, follow this review workflow unless the user explicitly says not to:

  1. Post a comment requesting Claude review:

```bash

gh pr comment <PR_NUMBER> --body "@claude please review this PR"

```

  1. Post a second comment requesting Codex review:

```bash

gh pr comment <PR_NUMBER> --body "@codex please review this PR"

```

  1. Poll GitHub using standard CLI or API commands, not Claude Code slash commands.
  2. Check issue comments, PR reviews, and inline review comments every 2 minutes for a bounded period.
  3. Codex review usually takes longer than Claude review. Do not stop polling just because Claude replied first.
  4. Continue polling until you see a real Codex comment or review, not just an "in progress" placeholder, or until a reasonable bounded wait expires.
  5. Show the returned review feedback to the user and ask what they want to do next. If Claude replied but Codex has not yet replied, say that Codex review is still pending and keep polling until the bounded wait is reached.

Suggested Polling Approach

Use normal GitHub commands such as:

gh pr view <PR_NUMBER> --json comments,reviews,url

or:

gh api repos/<owner>/<repo>/issues/<PR_NUMBER>/comments
gh api repos/<owner>/<repo>/pulls/<PR_NUMBER>/reviews

When polling:

IMPORTANT: Review Inspection Hygiene

Do not assume a top-level review with generic text means there are no findings.

Suggested extra command:

gh api repos/<owner>/<repo>/pulls/<PR_NUMBER>/comments

Handling Review Feedback

Merge Requests

If the user explicitly says merge, do not wait for CI to finish.

Post-Merge: Update What's New

After the PR is merged, update the running What's New file in the Obsidian vault:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.