用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/JohnNuwan/EVA_CORE --skill github-pr-automation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | github-pr-automation |
| description | Automatisation complète du cycle de vie PR : fork, branche, commit, push, PR via ~/pr-bot/auto-pr.sh |
| version | 1.0.0 |
| author | E.V.A — The Hive |
| license | MIT |
| platforms | ["linux","macos"] |
| metadata | {"eva":{"tags":["github","pr","automation","pipeline","git"],"related_skills":["github-auth","github-pr-workflow","code-review-bot","merge-conflict-resolver"]}} |
Pipeline automatisé pour créer des Pull Requests GitHub sans intervention manuelle. Utilise git + curl (pas besoin de gh CLI).
credential.helper = store~/.git-credentials (scopes : repo, workflow)~/pr-bot/auto-pr.sh# Vérification rapide
if command -v ~/pr-bot/auto-pr.sh &>/dev/null; then
echo "✓ auto-pr.sh disponible"
else
echo "auto-pr.sh non trouvé — lancer ~/pr-bot/setup-github-env.sh d'abord"
fi
# Le script et le setup sont déjà en place si vous êtes dans The Hive
chmod +x ~/pr-bot/auto-pr.sh
~/pr-bot/setup-github-env.sh # vérifie/configure git + token
Le script setup-github-env.sh ajoute aussi l'export automatique de GITHUB_TOKEN dans ~/.bashrc.
cd ~/pr-bot
./auto-pr.sh full upstream/owner/repo \
--title "feat: ajout système d'authentification JWT" \
--body "## Résumé\nAjoute login/register avec JWT.\n\n## Détails\n- Middleware auth\n- Tests unitaires\n- Closes #42" \
--branch "feat/jwt-auth" \
--base main
# 1. Fork + clone du repo upstream
./auto-pr.sh init upstream/owner/repo
# 2. Créer une branche de feature
./auto-pr.sh branch feat/mon-changement
# 3. Commiter (après avoir fait les modifications avec write_file/patch)
git add -A
./auto-pr.sh commit -m "feat: description du changement"
# 4. Push
./auto-pr.sh push
# 5. Créer la PR
./auto-pr.sh pr --title "feat: mon changement" \
--body "Description complète" \
--base main
./auto-pr.sh pr --title "WIP: ajout feature X" \
--body "En cours de développement" --draft
./auto-pr.sh status
~/pr-bot/
├── auto-pr.sh # Pipeline PR (point d'entrée)
└── setup-github-env.sh # Configuration environnement
GITHUB_TOKEN de l'environnement ou l'extrait de ~/.git-credentialsXXXX... apparaît dans statuscurl vers l'API GitHub — pas besoin de ghinit crée le fork si nécessaire et configure upstream et origin~/test-pr-repo/ est un dépôt local de test pour valider le pipeline sans réseau