Label a skills CLI pull request
يصنف طلبات الدمج في مشروع skills CLI حسب الوصف والتعديلات.
Classify a skills CLI pull request from its description and patch, while respecting existing labels.
Install
npx skills add vercel-labs/skills --skill pr-labelingWorks with
claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (native), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible)
Content
Label a skills CLI pull request
- Use
read_pull_requestwith the number in the trigger message. Read the title, description, current labels, and changed file patches. If the head commit no longer matches the triggered commit, stop so a newer run can classify it. - If the pull request already has
bug,documentation, orenhancement, stop. Keep labels chosen by maintainers or earlier runs. - Choose one label from the primary change supported by the patch:
documentation: changes only documentation, examples, or explanatory text, without changing CLI behavior.bug: corrects existing CLI behavior, including installation, update checks, source parsing, agent detection, or security checks.enhancement: adds or intentionally expands CLI behavior, commands, agent support, or integration support.
- If the patch is truncated, mixed, or insufficient to classify confidently, stop without adding a label. Do not infer a label from the title alone.
- Use
add_labelonce, with the triggering pull request number and the chosen label.
Source and license
- Source
- Vercel Skills (CLI)
- Original
- vercel-labs/skills/.automations/pr-labeling/skills/pr-labeling/SKILL.md
- License
- MIT