@firstpick/pi-prompts-git-pr

Reusable Pi prompt templates for commits, pull requests, and PR review workflows.

Packages

Package details

prompt

Install @firstpick/pi-prompts-git-pr from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@firstpick/pi-prompts-git-pr
Package
@firstpick/pi-prompts-git-pr
Version
0.1.5
Published
Jul 24, 2026
Downloads
2,323/mo · 727/wk
Author
firstpick
License
MIT
Types
prompt
Size
10.1 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "prompts": [
    "./prompts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@firstpick/pi-prompts-git-pr

Reusable prompt templates for commit messages, pull request descriptions, and branch review workflows.

Included prompts

  • /check-pr — audit PR commits by author/branch/URL and identify risks.
  • /git-staged-msg — generate short and long conventional commit messages from staged changes.
  • /git-branch-name — generate a type/feature-name PR branch name from staged changes.
  • /pr — generate a PR description from the current branch diff.
  • /pr-review-branch — run a non-editing PR-style review against the base branch.
  • /pr-review-implement — safely implement valid PR review suggestions.
  • /pr-update — append new branch changes to an existing PR draft.

Install

pi install npm:@firstpick/pi-prompts-git-pr

For local testing from this repository root:

pi install ./pi-package-prompts-git-pr

Configuration

No required configuration. After installation, type / in Pi to autocomplete the prompt templates.

/git-staged-msg accepts optional output preferences:

/git-staged-msg [language: en|de] [scope: auto|never|required]

/pr accepts an optional output language:

/pr [language: en|de]

Defaults remain English with automatic scope selection, so existing invocations without arguments continue to work. The prompt resolves the Git repository root before reading staged changes and always writes its output under the root-level dev/COMMIT directory, including when invoked from a nested subdirectory.

Dependencies

No repository-local Pi extensions, tools, skills, or other prompt packages are required. This bundle only contributes prompt templates through pi.prompts.