Skip to main content

draft-pr

Generate a PR title and description from your changes

Informações da origem

Repositório
arklexai/Agent-First-Organization
Última atividade na origem
24 de março de 2026 às 21:32
Idioma detectado do SKILL.md
inglês
Estrelas
699
Forks
99

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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 no GitHub