Skip to content
Development
Command

/pr

Target base branch. Defaults to upstream / origin HEAD / `main`.

From plugin
nyann
641 skills41 commands3 hooks
Install
> /plugin marketplace add thettwe/nyann
> /plugin install nyann@nyann-plugins

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/pr

Context preview

What this command does when you run it.

Target base branch. Defaults to upstream / origin HEAD / `main`.

Command definition

pr.md
name: nyann:pr
description: >
  Open a GitHub pull request from the current branch. Pushes with `-u`
  tracking, then invokes `gh pr create`. Requires `gh` installed + authed.
arguments:
  - name: draft
    description: If passed, open the PR as a draft.
    optional: true
  - name: base
    description: Target base branch. Defaults to upstream / origin HEAD / `main`.
    optional: true

**Plugin root:** This is a Claude Code plugin, NOT a CLI tool. Do NOT search via `which`, `npm list`, `pip list`, or `brew list`. This file is at `<plugin_root>/commands/`. All scripts: `<plugin_root>/bin/`. Read the matching `skills/*/SKILL.md` for the full flow.

/nyann:pr

Wraps `bin/pr.sh`. Full flow:

1. `bin/pr.sh --context-only` to gather branch + commit range + suggested title. 2. Synthesize a Conventional-Commits title + markdown body from the commit list. 3. Show the user and ask to ship (skip ask if they said "just ship it"). 4. `bin/pr.sh --title "..." --body "..." [--base <b>] [--draft]` to push + create. 5. Report the URL.

See `skills/pr/SKILL.md` for natural-language trigger rules and error-handling.

Ships withnyann

ငြမ်း is Burmese for scaffolding. Nyann is the Claude Code plugin that picks expert git defaults for your stack — branching, working hooks (Husky / pre-commit.com / lefthook), commits, releases, CI, docs — then keeps the repo on those rails through every PR

Get the whole plugin

Other commands on nyann.