prkit

Installation
SKILL.md

prkit

Preview and authorization

prkit previews each mutation outside its label exemption and waits for an OK: creating or editing the PR, and committing a handed-in path. A sync and its --force-with-lease push run without a preview, by gitkit's sync rule, with one exception for an unattended caller below. A caller that carries the user's recorded authorization satisfies the preview for the actions that authorization names. afkkit is the case in point: the user's unattended request authorizes the commits on the issue's own branch, the plain push of that branch, and the PR, so prkit runs the handed-in QA-plan commit and gh pr create without a prompt, and names the authorization in the hand-off. An action outside the named scope still previews, and an unattended caller skips it and records the skip rather than answering for the user: a push to another branch, a merge, and a rebase of a published branch with its --force-with-lease. That last one is the exception: an attended sync runs it straight through, but an unattended caller whose authorization leaves it out skips it. prkit never infers an authorization the caller did not state.

Draft-only route

A request for the title and body only ("draft the PR description") takes this route. It reads and prints. The index, the refs, the remote, the PR, and the issue labels stay as they were.

  1. Run read commands only: no fetch, push, commit, rebase, or gh writes.
  2. Run the read-only checks in Preflight. On the default branch or a detached HEAD, draft anyway, say that a branch is needed before the PR can open, and create nothing.
  3. Run Gather context without git fetch. Read the remote base tip with git ls-remote origin refs/heads/<base>, compare it with git rev-parse origin/<base>, and say in the draft when the local base ref is behind.
  4. Apply Write the title and body and the bundle selection and freshness check in Embed proof artifacts.
  5. Print the title and the body as code blocks. When gh pr view shows an open PR on the branch, say that the draft would replace that PR's title and body.

Done when the title and body are printed, and no git fetch, git push, git commit, git rebase, gh pr create, gh pr edit, or gh issue edit ran. Hand off in one line: say nothing changed, and name the next move, which is to ask prkit to open the PR from this draft.

Procedure

Installs
331
Repository
mimukit/skills
GitHub Stars
2
First Seen
Jul 13, 2026