Skip to main content

draft-pr

Generate a PR title and description from your changes

Datos de origen

Repositorio
arklexai/Agent-First-Organization
Última actividad en el origen
24 de marzo de 2026 a las 21:32
Idioma detectado de SKILL.md
inglés
Estrellas
699
Forks
99

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
draft-pr
description
Generate a PR title and description from your changes
disable-model-invocation
true
allowed-tools
Bash, Read, Grep, Glob
# Draft PR Generate a PR title and description that will pass CI checks. ## Steps ### 1. Gather context ```bash git branch --show-current git log --oneline main..HEAD git diff main..HEAD --stat gh pr list --head "$(git branch --show-current)" --state=open --json url -q '.[0].url' ``` ### 2. Read PR template Read `.github/pull_request_template.md` for the required structure. ### 3. Generate PR title - Format: `<type>(<scope>): <description>` (Conventional Commits) - Max 72 characters - Types: feat, fix, docs, chore, ci, build, refactor, test, perf, style, revert - Scope is optional but recommended ### 4. Generate PR description Fill in each section from the template: - **Summary** (min 5 words): concise overview of what the PR does - **Description** (min 10 words): why the change is needed, how it works, side effects - **Tests** (min 10 words): describe what was tested, mention test commands run ### 5. Output Print the generated title and full PR body in raw markdown format, ready to copy. If an open PR already exists for this branch, offer to update it with `gh pr edit`.
Ver en GitHub