Mode d’emploi
- Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
- Consultez le document original pour les outils, identifiants et environnements requis.
- Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/jackin-project/jackin-dev --skill jackin-checkout-prAvant de commencer
- L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
- Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.
jackin-checkout-pr
Switch the working repo onto a PR's branch via gh pr checkout. Accepts a number, URL, or branch name.
Process
- Resolve to a PR number. Number or URL → pass to
gh pr checkoutdirectly. Branch name →gh pr list --head <branch> --state all --json number -q '.[0].number'; no match → STOP, do not fall back to rawgit checkout.
- Guard the working tree.
git status --porcelain— if dirty, STOP and ask the operator to commit, stash, or discard first. Never auto-stash. Notegit branch --show-current(the way back).
- Check the PR is open.
gh pr view <N> --json state,headRefName.MERGEDorCLOSED→ warn (the branch may be stale) and confirm before proceeding.
- Switch.
gh pr checkout <N>. Verifygit branch --show-currentmatchesheadRefName.
- Report. Switched from
<old>to<headRefName>(PR #N). Way back:git switch <old>.




