From pr-autopilot
Add a repo to the pr-autopilot auto-trigger allowlist. Use /pr-autopilot:allow <owner/repo> (or no arg for the current repo). The auto-trigger hook only fires for allowlisted repos.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-autopilot:allowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Adds a repository to `~/.pr-autopilot/allowed-repos` so the auto-trigger hook will nudge autopilot on PRs created there.
Adds a repository to ~/.pr-autopilot/allowed-repos so the auto-trigger hook will nudge autopilot on PRs created there.
<owner/repo> was given, use it.git remote get-url origin → parse owner/repo (strip github.com[:/] prefix and .git suffix). If no origin remote, STOP: "Not in a git repo with a github origin — pass an explicit owner/repo."gh repo view <owner/repo> --json nameWithOwner -q .nameWithOwner. If it fails, STOP: "Repo <owner/repo> not found or not accessible — check the name / your gh auth." Use the returned nameWithOwner (GitHub's canonical casing) as the value to store — NOT the raw user-typed argument. The gate script matches the allowlist case-insensitively, so casing differences between your origin URL and the stored entry are tolerated. Storing GitHub's canonical nameWithOwner still keeps the allowlist clean and unambiguous.nameWithOwner from step 2):
mkdir -p ~/.pr-autopilot
touch ~/.pr-autopilot/allowed-repos
# $CANON is the nameWithOwner from step 2 (e.g. MarcinSufa/exo-vault), not the raw input
grep -qxF "$CANON" ~/.pr-autopilot/allowed-repos || echo "$CANON" >> ~/.pr-autopilot/allowed-repos
cat ~/.pr-autopilot/allowed-repos.Idempotent: re-running for an already-listed repo is a no-op.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub marcinsufa/claude-pr-autopilot --plugin pr-autopilot