pr-create

Creates or updates Basic Memory pull requests and runs the Codex review loop.

4.0k|282|Updated Dec 2, 2024
One-click install
npx skills add https://github.com/basicmachines-co/basic-memory --skill pr-create-basicmachines-co
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pr-create
Source: https://github.com/basicmachines-co/basic-memory/tree/main/.agents/skills/pr-create
Command: npx skills add https://github.com/basicmachines-co/basic-memory --skill pr-create-basicmachines-co

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating branch hygiene, validation, PR body writing, and review-gate checks for Basic Memory pull requests is a multi-step process that is easy to get wrong or skip. This Skill orchestrates the full workflow so a PR is created or updated correctly and gated on the latest-head Codex review before merge. ## Core Features & Use Cases - Delegated PR workflow: Applies the pull-request skill for branch hygiene, validation, pushing, and PR creation or reuse, and pr-description for the PR body. - Latest-head Codex review gate: Enters pr-review-loop on the current head SHA, treating green CI alone as insufficient for approval. - Blocker handling: Routes Codex or CI blockers through fix-pr-issues, then restarts the review loop on the new head. - Use Case: After finishing a feature branch in the Basic Memory repository, invoke this Skill to validate changes, push the branch, open the PR with a proper semantic title and sign-off, and iterate through the Codex review loop until the gate passes. ## Quick Start Use $pr-create to create or update this Basic Memory PR and run the latest-head Codex review loop.

Frequently Asked Questions about pr-create

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a pull request for Basic Memory with this workflow?▼

Invoke $pr-create, which follows the pull-request skill for branch hygiene, validation, and pushing, then uses pr-description for the body. It creates or reuses the PR without enabling auto-merge.

How does the Codex review loop gate a pull request?▼

The pr-review-loop runs against the latest head SHA after the PR is opened or materially updated. Green CI alone is not approval; the Codex gate must pass on the current head before merging is permitted.

What happens when Codex or CI reports a blocker on my PR?▼

The workflow routes blockers through the fix-pr-issues skill, pushes the fix, and restarts pr-review-loop for the new head SHA. Pending or blocking states are reported explicitly in the final output.

Does pr-create still support the legacy BM Bossbot image workflow?▼

No. The BM Bossbot approval status and automatic PR-infographic workflow have been retired. Legacy prompts with an image theme should not add the retired managed theme or provenance blocks.

Can this skill merge a pull request automatically?▼

No. This skill never merges a PR on its own. Merging only occurs if the user separately requests it and the current-head Codex gate permits it.