Notre avis
Crée automatiquement une pull request sur GitHub en utilisant le CLI workon, après avoir généré le contenu et obtenu l'approbation de l'utilisateur.
Points forts
- Automatise la création de PR avec titre, résumé, description et instructions de test.
- Inclut une étape de revue de code avant la soumission.
- Extrait automatiquement l'identifiant du ticket depuis le nom de la branche.
- Utilise les templates de PR existants pour respecter les conventions du projet.
Limites
- Nécessite l'installation et la configuration du CLI workon.
- Dépend d'une convention de nommage de branche spécifique (username/{ticketid}/...).
- Ne gère pas les cas complexes comme les PR multi-étapes ou les interactions avec des reviewers.
Quand vous êtes prêt à soumettre du code en revue et souhaitez créer une PR structurée avec une revue de code préalable.
Si le CLI workon n'est pas disponible ou si la PR nécessite une mise en forme manuelle particulière non supportée.
Analyse de sécurité
SûrThe skill uses safe commands (git diff, git log, cat, workon) to create a pull request. There are no destructive or exfiltrating actions, and it requires explicit user approval before pushing.
Aucun point d'attention détecté
Exemples
Create a pull request from this branchOpen a draft pull request for these changesname: workon-pr description: Create a pull request using the workon CLI. Use when the user says "workon pr", "create a PR", "open a PR", or indicates code is ready for review. disable-model-invocation: true allowed-tools: Bash(workon:), Bash(gh:), Bash(git:), Bash(cat:), Read
Create a Pull Request
Steps
-
Gather context by running these commands:
- Read the PR template:
cat .github/PULL_REQUEST_TEMPLATE.md - Get the diff:
git diff origin/HEAD...HEADorgit diff main...HEAD - Get commit history:
git log --oneline origin/HEAD...HEADorgit log --oneline main...HEAD - Extract ticket ID from branch name (format:
username/{ticketid}/...)
- Read the PR template:
-
Offer code review (ask the user):
- Before creating the PR, ask if they'd like you to run a code review first
- If yes, review the changes for issues, improvements, and potential bugs
- Address any findings before proceeding
-
Generate content for each section (you are responsible for generating this):
- Title: Concise description of the change (often matches ticket name)
- Summary: 1-2 sentences describing what changed and why
- Description: Detailed explanation referencing specific files/functions changed
- How to Test: Step-by-step verification instructions with expected outcomes
-
Get explicit user approval:
- Show the user the PR details (title, summary, description, testing instructions)
- Ask: "Ready to create this PR and push to GitHub?"
- WAIT for explicit confirmation (e.g., "yes", "go ahead", "create it")
- Do NOT proceed until you receive explicit approval
-
Create the PR after receiving approval:
workon pr -y --title "..." --summary "..." --ticket "..." --description "..." --testing "..."- Always use
-yflag to skip confirmation (user already approved) - Add
--draftif user asks for draft PR or mentions "draft", "WIP", "work in progress" - Ticket ID is auto-extracted from branch if not provided
- Base branch is auto-detected (
mainormaster) - Use
--base <branch>to override if needed
- Always use
Important Notes
- Do NOT modify the "Best Practices" checklist section in the PR template
- The workon CLI fills in the PR template sections automatically
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.